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