File tree Expand file tree Collapse file tree 1 file changed +0
-29
lines changed Expand file tree Collapse file tree 1 file changed +0
-29
lines changed Original file line number Diff line number Diff line change @@ -77,35 +77,6 @@ pipeline {
7777 }
7878 }
7979 }
80-
81- stage(' Publish documentation' ) {
82- when {
83- branch ' main'
84- }
85- agent {
86- label ' data'
87- }
88- options { timeout(time : 20 , unit : ' MINUTES' ) }
89-
90- environment {
91- ARTIFACTORY = credentials(' 02bd1690-b54f-4c9f-819d-a77cb7a9822c' )
92- }
93-
94- steps {
95- script {
96- docker. withRegistry(' ' , ' hub.docker.com-springbuildmaster' ) {
97- docker. image(' openjdk:17-bullseye' ). inside(' -v $HOME:/tmp/jenkins-home' ) {
98- sh ' MAVEN_OPTS="-Duser.name=jenkins -Duser.home=/tmp/jenkins-home" ./mvnw -s settings.xml -Pci,distribute -Dmaven.repo.local=/tmp/jenkins-home/.m2/spring-data-jdbc-non-root ' +
99- ' -Dartifactory.server=https://repo.spring.io ' +
100- " -Dartifactory.username=${ ARTIFACTORY_USR} " +
101- " -Dartifactory.password=${ ARTIFACTORY_PSW} " +
102- " -Dartifactory.distribution-repository=temp-private-local " +
103- ' -Dmaven.test.skip=true clean deploy -U -B'
104- }
105- }
106- }
107- }
108- }
10980 }
11081
11182 post {
You can’t perform that action at this time.
0 commit comments