Skip to content

Commit

Permalink
[Build] Unify I-build and Y-build into one common Jenkinsfile
Browse files Browse the repository at this point in the history
  • Loading branch information
HannesWell committed Dec 29, 2024
1 parent 40cf44f commit 18be09b
Show file tree
Hide file tree
Showing 6 changed files with 164 additions and 527 deletions.
41 changes: 41 additions & 0 deletions JenkinsJobs/Builds/FOLDER.groovy
Original file line number Diff line number Diff line change
@@ -1,7 +1,48 @@
def STREAMS = new groovy.json.JsonSlurper().parseText(readFileFromWorkspace('JenkinsJobs/JobDSL.json')).Streams

folder('Builds') {
description('Eclipse periodic build jobs.')
}

for (STREAM in STREAMS){

pipelineJob('Builds/I-build-' + STREAM){
description('Daily Eclipse Integration builds.')
properties {
pipelineTriggers {
triggers {
cron {
spec('''TZ=America/Toronto
# format: Minute Hour Day Month Day of the week (0-7)
# - - - Integration Eclipse SDK builds - - -
# 2025-03 Release Schedule
# Normal : 6 PM every day (1/6 - 2/9)
0 18 * * *
# Milestone/RC Schedule
# Post M1, no nightlies, I-builds only. (Be sure to "turn off" for tests and sign off days)
# 0 6 14-26 2 5-7,1-3
# 0 18 14-26 2 5-7,1-3
''')
}
}
}
}
definition {
cpsScm {
lightweight(true)
scm {
github('eclipse-platform/eclipse.platform.releng.aggregator', 'master')
}
scriptPath('JenkinsJobs/Builds/build.jenkinsfile')
}
}
}

}

pipelineJob('Builds/Build-Docker-images'){
description('Build and publish custom Docker images')
properties {
Expand Down
Loading

0 comments on commit 18be09b

Please sign in to comment.