-
Notifications
You must be signed in to change notification settings - Fork 0
/
deployPlatformParentPom.groovy
63 lines (53 loc) · 1.58 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
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 [email protected] 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_31_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')
}
}
}