File tree 1 file changed +5
-5
lines changed
1 file changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -38,21 +38,21 @@ pipeline {
38
38
parallel {
39
39
stage(' Test - Node.js v10' ) {
40
40
steps {
41
- buildWithGitHubNotification(' node:10-alpine ' )
41
+ buildWithGitHubNotification(' 10 ' )
42
42
}
43
43
}
44
44
stage(' Test - Node.js v12' ) {
45
45
agent { label ' linux && immutable' }
46
46
options { skipDefaultCheckout() }
47
47
steps {
48
- buildWithGitHubNotification(' node:12-alpine ' )
48
+ buildWithGitHubNotification(' 12 ' )
49
49
}
50
50
}
51
51
stage(' Test - Node.js v13' ) {
52
52
agent { label ' linux && immutable' }
53
53
options { skipDefaultCheckout() }
54
54
steps {
55
- buildWithGitHubNotification(' node:13-alpine ' )
55
+ buildWithGitHubNotification(' 13 ' )
56
56
}
57
57
}
58
58
}
@@ -69,14 +69,14 @@ def runTest(version){
69
69
deleteDir()
70
70
unstash ' source'
71
71
dir(" ${ BASE_DIR} " ){
72
- docker. image(" ${ version} " ). inside(" -e HOME=${ WORKSPACE} /${ BASE_DIR} " ) {
72
+ docker. image(" node: ${ version} -alpine " ). inside(" -e HOME=${ WORKSPACE} /${ BASE_DIR} " ) {
73
73
sh(label : ' Run tests' , script : ' sh utils/run-test.sh' )
74
74
}
75
75
}
76
76
}
77
77
78
78
def buildWithGitHubNotification (version ){
79
- withGithubNotify(context : " ${ version} " ) {
79
+ withGithubNotify(context : " Test - Node.js v ${ version} " ) {
80
80
runTest(version)
81
81
}
82
82
}
You can’t perform that action at this time.
0 commit comments