File tree 1 file changed +6
-10
lines changed
1 file changed +6
-10
lines changed Original file line number Diff line number Diff line change 1
1
def p = [:]
2
2
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'
5
5
}
6
6
7
7
pipeline {
@@ -31,13 +31,11 @@ pipeline {
31
31
}
32
32
options { timeout(time : 30 , unit : ' MINUTES' ) }
33
33
environment {
34
- DOCKER_HUB = credentials(" ${ p['docker.credentials']} " )
35
34
ARTIFACTORY = credentials(" ${ p['artifactory.credentials']} " )
36
35
}
37
36
steps {
38
37
script {
39
38
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} "
41
39
sh ' PROFILE=all-dbs ci/test.sh'
42
40
sh " ci/clean.sh"
43
41
}
@@ -55,25 +53,23 @@ pipeline {
55
53
}
56
54
57
55
parallel {
58
- stage(" test: eclipselink-next" ) {
56
+ stage(" test: eclipselink-next" ) {
59
57
agent {
60
- label ' data'
58
+ label ' data'
61
59
}
62
60
options { timeout(time : 30 , unit : ' MINUTES' )}
63
61
environment {
64
- DOCKER_HUB = credentials(" ${ p['docker.credentials']} " )
65
- ARTIFACTORY = credentials(" ${ p['artifactory.credentials']} " )
62
+ ARTIFACTORY = credentials(" ${ p['artifactory.credentials']} " )
66
63
}
67
64
steps {
68
65
script {
69
66
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} "
71
67
sh ' PROFILE=all-dbs,eclipselink-next ci/test.sh'
72
68
sh " ci/clean.sh"
73
69
}
74
70
}
75
71
}
76
- }
72
+ }
77
73
}
78
74
}
79
75
You can’t perform that action at this time.
0 commit comments