-
Notifications
You must be signed in to change notification settings - Fork 66
/
deployPlatformParentPom.groovy
70 lines (60 loc) · 1.82 KB
/
deployPlatformParentPom.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
66
67
68
69
70
job('Releng/deployPlatformParentPom'){
displayName('Deploy Eclipse Platform Parent Pom')
description('''Deploys the Eclipse Platform parent pom to repo.eclipse.org on an hourly. Or, if immediate update needed, contact releng team at platform-releng-dev@eclipse.org to deploy at other times.
For this to be used by consuming projects, they must have their local maven repo in their workspace and "clean it" to get the latest SNAPSHOTs, or, alternatively, they need to specify --update-snapshots in their maven parameters. (Hudson drop down about SNAPSHOTS of "FORCE" corresponds to --update-snapshots).
''')
logRotator {
numToKeep(25)
}
properties {
githubProjectUrl('https://github.com/eclipse-platform/eclipse.platform.releng.aggregator/')
}
concurrentBuild(true)
jdk('openjdk-jdk17-latest')
scm {
git {
remote{
url('https://github.com/eclipse-platform/eclipse.platform.releng.aggregator.git')
}
branch('master')
branch('R4_7_maintenance')
branch('R4_8_maintenance')
branch('R4_19_maintenance')
branch('R4_23_maintenance')
branch('R4_26_maintenance')
branch('R4_27_maintenance')
branch('R4_28_maintenance')
branch('R4_29_maintenance')
}
}
triggers {
gitHubPushTrigger()
pollSCM {
scmpoll_spec('@hourly')
}
}
wrappers { //adds pre/post actions
preBuildCleanup()
timestamps()
buildTimeoutWrapper{
strategy {
absoluteTimeOutStrategy {
timeoutMinutes('60')
}
timeoutEnvVar('')
}
}
}
steps {
maven {
mavenInstallation('apache-maven-latest')
goals('deploy')
rootPOM('eclipse-platform-parent/pom.xml')
}
}
publishers {
archiveArtifacts {
pattern('eclipse-platform-parent/pom.xml')
}
}
}