diff --git a/Jenkinsfile b/Jenkinsfile index 1c278eea3..b9662674f 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -217,10 +217,12 @@ spec: script { signInstaller('exe', 'winsign') updateMetadata('../dist/TheiaBlueprint.exe', '../dist/latest.yml') + archiveArtifacts artifacts: 'applications/electron/dist/**', fingerprint: false } } container('jnlp') { script { + testConnectivityToDownloadEclipse('windows') uploadInstaller('windows') linkInstaller('windows', 'TheiaBlueprint', 'exe') } @@ -316,6 +318,15 @@ def uploadInstaller(String platform) { } } +def testConnectivityToDownloadEclipse(String platform) { + def packageJSON = readJSON file: "package.json" + String version = "${packageJSON.version}" + sshagent(['projects-storage.eclipse.org-bot-ssh']) { + sh "ssh genie.theia@projects-storage.eclipse.org echo List dir" + sh "ssh genie.theia@projects-storage.eclipse.org ls -al /home/data/httpd/download.eclipse.org/theia/${version}/${platform}" + } +} + def linkInstaller(String platform, String installer, String extension) { if (env.BRANCH_NAME == releaseBranch) { def packageJSON = readJSON file: "package.json"