26 lines
552 B
Groovy
26 lines
552 B
Groovy
pipeline {
|
|
agent {dockerfile true}
|
|
environment {
|
|
HOME = '.'
|
|
}
|
|
|
|
stages {
|
|
stage('Build') {
|
|
steps {
|
|
sh "npm install"
|
|
sh "npm install webdriverio"
|
|
}
|
|
}
|
|
stage('Test') {
|
|
steps {
|
|
sh "npm test"
|
|
}
|
|
}
|
|
stage('Deploy') {
|
|
steps {
|
|
echo 'Deploying....'
|
|
}
|
|
}
|
|
}
|
|
}
|