Skip to content

Commit 6aa6e14

Browse files
committed
Release
1 parent f642c2a commit 6aa6e14

File tree

1 file changed

+43
-0
lines changed

1 file changed

+43
-0
lines changed

Jenkinsfile_release

Lines changed: 43 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,43 @@
1+
@Library('jenkins-shared-library@master') _
2+
3+
pipeline {
4+
agent {
5+
kubernetes(agents()
6+
.maven().version('3.9.4-jdk8').profile('medium').withJFrog()
7+
.startContainers())
8+
}
9+
10+
options {
11+
skipStagesAfterUnstable()
12+
disableConcurrentBuilds()
13+
buildDiscarder(logRotator(numToKeepStr: '28'))
14+
timeout(time: 1, unit: 'HOURS')
15+
}
16+
17+
stages {
18+
stage("SCM Checkout") {
19+
steps {
20+
deleteDir()
21+
checkout scm
22+
}
23+
}
24+
25+
stage("Maven Release") {
26+
steps {
27+
container('maven') {
28+
mavenRelease()
29+
}
30+
}
31+
}
32+
33+
stage("Nexus Lifecycle") {
34+
steps {
35+
container('maven') {
36+
nexusPolicyEvaluation iqApplication: 'com.baloise.testing.framework.taf',
37+
iqScanPatterns: [[scanPattern: '**/target/dependency/*.jar']],
38+
iqStage: 'build'
39+
}
40+
}
41+
}
42+
}
43+
}

0 commit comments

Comments
 (0)