File tree Expand file tree Collapse file tree 1 file changed +43
-0
lines changed
Expand file tree Collapse file tree 1 file changed +43
-0
lines changed Original file line number Diff line number Diff line change 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+ }
You can’t perform that action at this time.
0 commit comments