jenkins install dev dependencies
This commit is contained in:
parent
3e1b6b82d4
commit
b3bba5401f
|
@ -24,8 +24,8 @@ node {
|
||||||
checkout scm
|
checkout scm
|
||||||
}
|
}
|
||||||
stage ('Install Node dependencies') {
|
stage ('Install Node dependencies') {
|
||||||
sh "npm install"
|
sh "npm install --only=prod"
|
||||||
sh "gulp install"
|
sh "npm install --only=dev"
|
||||||
}
|
}
|
||||||
stage ('Build project') {
|
stage ('Build project') {
|
||||||
sh "gulp build"
|
sh "gulp build"
|
||||||
|
|
Loading…
Reference in New Issue