Skip to content

Commit d3355de

Browse files
committed
Polishing.
Refine CI triggers. See #395
1 parent 570fca4 commit d3355de

File tree

1 file changed

+1
-30
lines changed

1 file changed

+1
-30
lines changed

Jenkinsfile

Lines changed: 1 addition & 30 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ pipeline {
33

44
triggers {
55
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)
77
}
88

99
options {
@@ -72,35 +72,6 @@ pipeline {
7272
}
7373
}
7474
}
75-
76-
stage('Publish documentation') {
77-
when {
78-
branch 'main'
79-
}
80-
agent {
81-
label 'data'
82-
}
83-
options { timeout(time: 20, unit: 'MINUTES') }
84-
85-
environment {
86-
ARTIFACTORY = credentials('02bd1690-b54f-4c9f-819d-a77cb7a9822c')
87-
}
88-
89-
steps {
90-
script {
91-
docker.withRegistry('', 'hub.docker.com-springbuildmaster') {
92-
docker.image('openjdk:17-bullseye').inside('-v $HOME:/tmp/jenkins-home') {
93-
sh 'MAVEN_OPTS="-Duser.name=jenkins -Duser.home=/tmp/jenkins-home" ./mvnw -s settings.xml -Pci,distribute ' +
94-
'-Dartifactory.server=https://repo.spring.io ' +
95-
"-Dartifactory.username=${ARTIFACTORY_USR} " +
96-
"-Dartifactory.password=${ARTIFACTORY_PSW} " +
97-
"-Dartifactory.distribution-repository=temp-private-local " +
98-
'-Dmaven.test.skip=true clean deploy -U -B'
99-
}
100-
}
101-
}
102-
}
103-
}
10475
}
10576

10677
post {

0 commit comments

Comments
 (0)