Skip to content

Commit 0ec26c2

Browse files
mp911deschauder
authored andcommitted
Refine CI triggers.
See #2307
1 parent 582bb18 commit 0ec26c2

File tree

1 file changed

+0
-28
lines changed

1 file changed

+0
-28
lines changed

Jenkinsfile

-28
Original file line numberDiff line numberDiff 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 {

0 commit comments

Comments
 (0)