Jenkins file testing

This commit is contained in:
Dawid Majsnerowski 2019-11-19 17:40:36 +01:00
parent 39d0ff82c9
commit 5398481652

6
Jenkinsfile vendored
View File

@ -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') {