File tree 1 file changed +2
-30
lines changed
1 file changed +2
-30
lines changed Original file line number Diff line number Diff line change @@ -15,7 +15,7 @@ pipeline {
15
15
stage(" test: baseline (Java 17)" ) {
16
16
when {
17
17
anyOf {
18
- branch ' '
18
+ branch ' ** '
19
19
not { triggeredBy ' UpstreamCause' }
20
20
}
21
21
}
@@ -40,7 +40,7 @@ pipeline {
40
40
stage(' Release to artifactory' ) {
41
41
when {
42
42
anyOf {
43
- branch ' '
43
+ branch ' ** '
44
44
not { triggeredBy ' UpstreamCause' }
45
45
}
46
46
}
@@ -70,34 +70,6 @@ pipeline {
70
70
}
71
71
}
72
72
}
73
- stage(' Publish documentation' ) {
74
- when {
75
- branch ' '
76
- }
77
- agent {
78
- label ' data'
79
- }
80
- options { timeout(time : 20 , unit : ' MINUTES' ) }
81
-
82
- environment {
83
- ARTIFACTORY = credentials(' 02bd1690-b54f-4c9f-819d-a77cb7a9822c' )
84
- }
85
-
86
- steps {
87
- script {
88
- docker. withRegistry(' ' , ' hub.docker.com-springbuildmaster' ) {
89
- docker. image(' openjdk/openjdk:17-bullseye' ). inside(' -v $HOME:/tmp/jenkins-home' ) {
90
- sh ' MAVEN_OPTS="-Duser.name=jenkins -Duser.home=/tmp/jenkins-home" ./mvnw -s settings.xml -Pci,distribute ' +
91
- ' -Dartifactory.server=https://repo.spring.io ' +
92
- " -Dartifactory.username=${ ARTIFACTORY_USR} " +
93
- " -Dartifactory.password=${ ARTIFACTORY_PSW} " +
94
- " -Dartifactory.distribution-repository=temp-private-local " +
95
- ' -Dmaven.test.skip=true clean deploy -U -B'
96
- }
97
- }
98
- }
99
- }
100
- }
101
73
}
102
74
103
75
post {
You can’t perform that action at this time.
0 commit comments