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