From c4118a5b779caefe02f91d5de616eefb95f0802e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=D0=90=D0=BB=D0=B5=D0=BA=D1=81=D0=B0=D0=BD=D0=B4=D1=8A?= =?UTF-8?q?=D1=80=20=D0=9A=D1=83=D1=80=D1=82=D0=B0=D0=BA=D0=BE=D0=B2?= Date: Thu, 18 Jan 2024 17:02:33 +0200 Subject: [PATCH] Write latest master build to downloads.eclipse.org Using https://download.eclipse.org/pde/builds/master/ as destination so it can be tested more broadly. Mainly motivated to have a permanent download space which wasn't there as discovered in https://gitlab.eclipse.org/eclipsefdn/helpdesk/-/issues/4172 --- Jenkinsfile | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/Jenkinsfile b/Jenkinsfile index aca975648d1..88911e168a5 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -41,5 +41,18 @@ pipeline { } } } + stage('Deploy') { + when { + branch 'master' + } + steps { + sshagent ( ['projects-storage.eclipse.org-bot-ssh']) { + sh ''' + ssh genie.pde@projects-storage.eclipse.org "rm -rf /home/data/httpd/download.eclipse.org/pde/builds/master/*" + scp -r repository/target/repository/* genie.pde@projects-storage.eclipse.org:/home/data/httpd/download.eclipse.org/pde/builds/master/ + ''' + } + } + } } }