Jenkins file testing
This commit is contained in:
parent
39d0ff82c9
commit
5398481652
6
Jenkinsfile
vendored
6
Jenkinsfile
vendored
@ -6,14 +6,12 @@
|
||||
stages {
|
||||
stage('Build') {
|
||||
steps {
|
||||
sh "cd test"
|
||||
echo 'Building..'
|
||||
sh "npm install"
|
||||
}
|
||||
}
|
||||
stage('Test') {
|
||||
steps {
|
||||
sh "/usr/local/bin/npm install"
|
||||
sh "/usr/local/bin/npm test"
|
||||
sh "npm test"
|
||||
}
|
||||
}
|
||||
stage('Deploy') {
|
||||
|
Loading…
Reference in New Issue
Block a user