-
Notifications
You must be signed in to change notification settings - Fork 66
/
checkCompositesValidity.groovy
41 lines (33 loc) · 1.08 KB
/
checkCompositesValidity.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
job('Releng/checkCompositesValidity'){
displayName('Check Composites Validity')
description('This job periodically checks that our main repositories are still "valid". It does this by accessing the repository to list the IUs it finds there. A repository can be invalid if it is not "atomic" which would usually be the result of a manual editing mistake or a child repository being deleted without the composite files being updated.')
logRotator {
daysToKeep(15)
}
jdk('adoptopenjdk-hotspot-jdk11-latest')
label('centos-8')
triggers {
cron('@daily')
}
wrappers { //adds pre/post actions
timestamps()
sshAgent('ssh://genie.releng@projects-storage.eclipse.org')
buildTimeoutWrapper{
strategy {
absoluteTimeoutStrategy {
timeoutMinutes(30)
}
}
}
email-ext {
project_recipient_list('sravankumarl@in.ibm.com')
}
}
steps {
shell('''
#!/bin/bash -x
wget https://download.eclipse.org/eclipse/relengScripts/cje-production/scripts/checkComposites/checkComposites.sh
bash -x checkComposites.sh
''')
}
}