BestNotes/Jenkinsfile
2019-11-19 18:03:40 +01:00

27 lines
623 B
Groovy

pipeline {
agent {docker { image 'circleci/node:10' }}
environment {
HOME = '.'
}
stages {
stage('Build') {
steps {
sh "apk update && apk upgrade"
sh "npm install"
}
}
stage('Test') {
steps {
sh "npm install webdriverio"
sh "npm test"
}
}
stage('Deploy') {
steps {
echo 'Deploying....'
}
}
}
}