BestNotes/Jenkinsfile

26 lines
552 B
Plaintext
Raw Normal View History

2019-11-19 17:19:25 +01:00
pipeline {
2019-11-19 18:06:44 +01:00
agent {dockerfile true}
2019-11-19 17:48:01 +01:00
environment {
HOME = '.'
2019-11-19 17:31:57 +01:00
}
2019-11-19 17:19:25 +01:00
stages {
stage('Build') {
steps {
2019-11-19 17:40:36 +01:00
sh "npm install"
2019-11-19 18:06:44 +01:00
sh "npm install webdriverio"
2019-11-19 17:19:25 +01:00
}
}
stage('Test') {
steps {
2019-11-19 17:40:36 +01:00
sh "npm test"
2019-11-19 17:19:25 +01:00
}
}
stage('Deploy') {
steps {
echo 'Deploying....'
}
}
}
}