File tree 1 file changed +1
-29
lines changed
1 file changed +1
-29
lines changed Original file line number Diff line number Diff line change @@ -3,7 +3,7 @@ pipeline {
3
3
4
4
triggers {
5
5
pollSCM ' H/10 * * * *'
6
- upstream(upstreamProjects : " spring-data-commons/main " , threshold : hudson.model.Result . SUCCESS )
6
+ upstream(upstreamProjects : " spring-data-commons/3.0.x " , threshold : hudson.model.Result . SUCCESS )
7
7
}
8
8
9
9
options {
@@ -84,34 +84,6 @@ pipeline {
84
84
}
85
85
}
86
86
}
87
- stage(' Publish documentation' ) {
88
- when {
89
- branch ' main'
90
- }
91
- agent {
92
- label ' data'
93
- }
94
- options { timeout(time : 20 , unit : ' MINUTES' ) }
95
-
96
- environment {
97
- ARTIFACTORY = credentials(' 02bd1690-b54f-4c9f-819d-a77cb7a9822c' )
98
- }
99
-
100
- steps {
101
- script {
102
- docker. withRegistry(' ' , ' hub.docker.com-springbuildmaster' ) {
103
- docker. image(' openjdk:17-bullseye' ). inside(' -v $HOME:/tmp/jenkins-home' ) {
104
- sh ' MAVEN_OPTS="-Duser.name=jenkins -Duser.home=/tmp/jenkins-home" ./mvnw -s settings.xml -Pci,distribute ' +
105
- ' -Dartifactory.server=https://repo.spring.io ' +
106
- " -Dartifactory.username=${ ARTIFACTORY_USR} " +
107
- " -Dartifactory.password=${ ARTIFACTORY_PSW} " +
108
- " -Dartifactory.distribution-repository=temp-private-local " +
109
- ' -Dmaven.test.skip=true clean deploy -U -B'
110
- }
111
- }
112
- }
113
- }
114
- }
115
87
}
116
88
117
89
post {
You can’t perform that action at this time.
0 commit comments