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