Skip to content

Commit 23203ce

Browse files
authored
Updated github ci labels (#7)
Updated github ci labels
2 parents 2cd0cbd + 4c7d897 commit 23203ce

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

.ci/Jenkinsfile

+5-5
Original file line numberDiff line numberDiff line change
@@ -38,21 +38,21 @@ pipeline {
3838
parallel {
3939
stage('Test - Node.js v10') {
4040
steps {
41-
buildWithGitHubNotification('node:10-alpine')
41+
buildWithGitHubNotification('10')
4242
}
4343
}
4444
stage('Test - Node.js v12') {
4545
agent { label 'linux && immutable' }
4646
options { skipDefaultCheckout() }
4747
steps {
48-
buildWithGitHubNotification('node:12-alpine')
48+
buildWithGitHubNotification('12')
4949
}
5050
}
5151
stage('Test - Node.js v13') {
5252
agent { label 'linux && immutable' }
5353
options { skipDefaultCheckout() }
5454
steps {
55-
buildWithGitHubNotification('node:13-alpine')
55+
buildWithGitHubNotification('13')
5656
}
5757
}
5858
}
@@ -69,14 +69,14 @@ def runTest(version){
6969
deleteDir()
7070
unstash 'source'
7171
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}") {
7373
sh(label: 'Run tests', script: 'sh utils/run-test.sh')
7474
}
7575
}
7676
}
7777

7878
def buildWithGitHubNotification(version){
79-
withGithubNotify(context: "${version}") {
79+
withGithubNotify(context: "Test - Node.js v${version}") {
8080
runTest(version)
8181
}
8282
}

0 commit comments

Comments
 (0)