Skip to content

Commit 1a381e5

Browse files
committed
Polishing.
1 parent 30511fe commit 1a381e5

File tree

1 file changed

+6
-10
lines changed

1 file changed

+6
-10
lines changed

Jenkinsfile

+6-10
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
def p = [:]
22
node {
3-
checkout scm
4-
p = readProperties interpolate: true, file: 'ci/pipeline.properties'
3+
checkout scm
4+
p = readProperties interpolate: true, file: 'ci/pipeline.properties'
55
}
66

77
pipeline {
@@ -31,13 +31,11 @@ pipeline {
3131
}
3232
options { timeout(time: 30, unit: 'MINUTES') }
3333
environment {
34-
DOCKER_HUB = credentials("${p['docker.credentials']}")
3534
ARTIFACTORY = credentials("${p['artifactory.credentials']}")
3635
}
3736
steps {
3837
script {
3938
docker.image(p['docker.java.main.image']).inside(p['docker.java.inside.docker']) {
40-
sh "docker login --username ${DOCKER_HUB_USR} --password ${DOCKER_HUB_PSW}"
4139
sh 'PROFILE=all-dbs ci/test.sh'
4240
sh "ci/clean.sh"
4341
}
@@ -55,25 +53,23 @@ pipeline {
5553
}
5654

5755
parallel {
58-
stage("test: eclipselink-next") {
56+
stage("test: eclipselink-next") {
5957
agent {
60-
label 'data'
58+
label 'data'
6159
}
6260
options { timeout(time: 30, unit: 'MINUTES')}
6361
environment {
64-
DOCKER_HUB = credentials("${p['docker.credentials']}")
65-
ARTIFACTORY = credentials("${p['artifactory.credentials']}")
62+
ARTIFACTORY = credentials("${p['artifactory.credentials']}")
6663
}
6764
steps {
6865
script {
6966
docker.image(p['docker.java.main.image']).inside(p['docker.java.inside.docker']) {
70-
sh "docker login --username ${DOCKER_HUB_USR} --password ${DOCKER_HUB_PSW}"
7167
sh 'PROFILE=all-dbs,eclipselink-next ci/test.sh'
7268
sh "ci/clean.sh"
7369
}
7470
}
7571
}
76-
}
72+
}
7773
}
7874
}
7975

0 commit comments

Comments
 (0)