File tree Expand file tree Collapse file tree 1 file changed +6
-10
lines changed Expand file tree Collapse file tree 1 file changed +6
-10
lines changed Original file line number Diff line number Diff line change 11def p = [:]
22node {
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
77pipeline {
@@ -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
You can’t perform that action at this time.
0 commit comments