File tree Expand file tree Collapse file tree 1 file changed +30
-0
lines changed Expand file tree Collapse file tree 1 file changed +30
-0
lines changed Original file line number Diff line number Diff line change @@ -47,6 +47,36 @@ pipeline {
47
47
}
48
48
}
49
49
50
+ stage(" Verify other configurations" ) {
51
+ when {
52
+ beforeAgent(true )
53
+ allOf {
54
+ branch(pattern : " main|(\\ d\\ .\\ d\\ .x)" , comparator : " REGEXP" )
55
+ not { triggeredBy ' UpstreamCause' }
56
+ }
57
+ }
58
+ parallel {
59
+ stage(" verify (next)" ) {
60
+ agent {
61
+ label ' data'
62
+ }
63
+ options { timeout(time : 30 , unit : ' MINUTES' ) }
64
+ environment {
65
+ ARTIFACTORY = credentials(" ${ p['artifactory.credentials']} " )
66
+ }
67
+ steps {
68
+ script {
69
+ docker. withRegistry(p[' docker.registry' ], p[' docker.credentials' ]) {
70
+ docker. image(p[' docker.java.next.image' ]). inside(p[' docker.java.inside.basic' ]) {
71
+ sh ' MAVEN_OPTS="-Duser.name=jenkins -Duser.home=/tmp/jenkins-home" ./mvnw -Pwith-bom-client verify -B -U'
72
+ }
73
+ }
74
+ }
75
+ }
76
+ }
77
+ }
78
+ }
79
+
50
80
stage(' Build project and release to artifactory' ) {
51
81
when {
52
82
beforeAgent(true )
You can’t perform that action at this time.
0 commit comments