-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathFOLDER.groovy
65 lines (57 loc) · 1.38 KB
/
FOLDER.groovy
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
def config = new groovy.json.JsonSlurper().parseText(readFileFromWorkspace('JenkinsJobs/JobDSL.json'))
folder('Builds') {
description('Eclipse periodic build jobs.')
}
for (STREAM in config.Streams){
def BRANCH = config.Branches[STREAM]
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', BRANCH)
}
scriptPath('JenkinsJobs/Builds/build.jenkinsfile')
}
}
}
}
pipelineJob('Builds/Build-Docker-images'){
description('Build and publish custom Docker images')
properties {
pipelineTriggers {
triggers {
cron { spec('@weekly') }
}
}
}
definition {
cpsScm {
lightweight(true)
scm {
github('eclipse-platform/eclipse.platform.releng.aggregator', 'master')
}
scriptPath('JenkinsJobs/Builds/DockerImagesBuild.jenkinsfile')
}
}
}