Skip to content

Commit 19a30f1

Browse files
committed
Update node version
1 parent e8806dc commit 19a30f1

File tree

1 file changed

+7
-12
lines changed

1 file changed

+7
-12
lines changed

Jenkinsfile

Lines changed: 7 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,10 @@
11
pipeline {
2-
agent {
3-
docker {
4-
image 'node:12.16-alpine'
5-
args '-p 3000:3000'
2+
agent { docker { image 'node:6.3' } }
3+
stages {
4+
stage('build') {
5+
steps {
6+
sh 'npm --version'
7+
}
8+
}
69
}
7-
}
8-
stages {
9-
stage('Build') {
10-
steps {
11-
sh 'npm install'
12-
}
13-
}
14-
}
1510
}

0 commit comments

Comments
 (0)