Skip to content

Commit 8cd1f1c

Browse files
committed
[RelEng] Keep corresponding p2-repository when keeping a build forever
1 parent 4c97747 commit 8cd1f1c

1 file changed

Lines changed: 6 additions & 2 deletions

File tree

JenkinsJobs/Builds/markBuild.jenkinsfile

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,9 +21,11 @@ pipeline {
2121
stages {
2222
stage('Mark build'){
2323
environment {
24-
// Download Server locations (would very seldom change)
25-
EP_BUILD_DROP = "/home/data/httpd/download.eclipse.org/eclipse/downloads/drops4/${buildId}"
2624
RELEASE_VER = readBuildProperty('RELEASE_VER')
25+
// Download Server locations (would very seldom change)
26+
EP_ROOT = '/home/data/httpd/download.eclipse.org'
27+
EP_BUILD_DROP = "${EP_ROOT}/eclipse/downloads/drops4/${buildId}"
28+
EP_BUILD_UPDATES = "${EP_ROOT}/eclipse/updates/${RELEASE_VER}-I-builds/${buildId}"
2729
}
2830
steps {
2931
sshagent(['projects-storage.eclipse.org-bot-ssh']) {
@@ -52,10 +54,12 @@ pipeline {
5254
RETAINED_INDEFINITELY)
5355
#Add keep tag
5456
ssh genie.releng@projects-storage.eclipse.org touch ${EP_BUILD_DROP}/buildKeep
57+
ssh genie.releng@projects-storage.eclipse.org touch ${EP_BUILD_UPDATES}/buildKeep
5558
;;
5659
NOT_RETAINED)
5760
#Remove keep tag
5861
ssh genie.releng@projects-storage.eclipse.org rm -f ${EP_BUILD_DROP}/buildKeep
62+
ssh genie.releng@projects-storage.eclipse.org rm -f ${EP_BUILD_UPDATES}/buildKeep
5963
;;
6064
esac
6165
'''

0 commit comments

Comments
 (0)