BestNotes/Jenkinsfile

27 lines
625 B
Plaintext
Raw Normal View History

2019-11-19 17:19:25 +01:00
pipeline {
2019-11-19 17:48:01 +01:00
agent {docker { image 'circleci/node:10' }}
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 17:58:42 +01:00
sh "apt-get install libnss3-dev"
2019-11-19 17:19:25 +01:00
}
}
stage('Test') {
steps {
2019-11-19 17:51:46 +01:00
sh "npm install webdriverio"
2019-11-19 17:40:36 +01:00
sh "npm test"
2019-11-19 17:19:25 +01:00
}
}
stage('Deploy') {
steps {
echo 'Deploying....'
}
}
}
}