forked from fabric8io/fabric8
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Jenkinsfile
23 lines (19 loc) · 814 Bytes
/
Jenkinsfile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
#!/usr/bin/groovy
@Library('github.com/fabric8io/fabric8-pipeline-library@master')
def dummy
clientsTemplate{
def javaOptions = '-Duser.home=/root/ -XX:+UnlockExperimentalVMOptions -XX:+UseCGroupMemoryLimitForHeap -Dsun.zip.disableMemoryMapping=true -XX:+UseParallelGC -XX:MinHeapFreeRatio=5 -XX:MaxHeapFreeRatio=10 -XX:GCTimeRatio=4 -XX:AdaptiveSizePolicyWeight=90 -Xms10m -Xmx2048m'
mavenNode (javaOptions:javaOptions) {
ws{
checkout scm
sh "git remote set-url origin [email protected]:fabric8io/fabric8.git"
def pipeline = load 'release.groovy'
stage 'Stage'
def stagedProject = pipeline.stage()
stage 'Promote'
pipeline.release(stagedProject)
stage 'Update downstream dependencies'
pipeline.updateDownstreamDependencies(stagedProject)
}
}
}