-
Notifications
You must be signed in to change notification settings - Fork 71
/
checkCompositesValidity.groovy
47 lines (38 loc) · 1.13 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
42
43
44
45
46
47
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 {
spec('@daily')
}
}
wrappers { //adds pre/post actions
timestamps()
sshAgent('projects-storage.eclipse.org-bot-ssh')
buildTimeoutWrapper{
strategy {
absoluteTimeOutStrategy {
timeoutMinutes('30')
}
timeoutEnvVar('')
}
}
}
publishers {
extendedEmail {
recipientList("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
''')
}
}