Skip to content

Commit

Permalink
Write latest master build to downloads.eclipse.org
Browse files Browse the repository at this point in the history
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
  • Loading branch information
akurtakov committed Jan 26, 2024
1 parent b95c6e5 commit c4118a5
Showing 1 changed file with 13 additions and 0 deletions.
13 changes: 13 additions & 0 deletions Jenkinsfile
Original file line number Diff line number Diff line change
Expand Up @@ -41,5 +41,18 @@ pipeline {
}
}
}
stage('Deploy') {
when {
branch 'master'
}
steps {
sshagent ( ['projects-storage.eclipse.org-bot-ssh']) {
sh '''
ssh [email protected] "rm -rf /home/data/httpd/download.eclipse.org/pde/builds/master/*"
scp -r repository/target/repository/* [email protected]:/home/data/httpd/download.eclipse.org/pde/builds/master/
'''
}
}
}
}
}

0 comments on commit c4118a5

Please sign in to comment.