Update Jenkinsfile
This commit is contained in:
parent
bf1b0db721
commit
18a16c0c02
|
@ -7,12 +7,6 @@ pipeline {
|
|||
sh 'docker build -t microblog:latest .'
|
||||
}
|
||||
}
|
||||
stage('Selenium Tests') {
|
||||
steps {
|
||||
echo 'Running Selenium Tests...'
|
||||
//sh 'python3 selenium.py'
|
||||
}
|
||||
}
|
||||
stage('Deploy') {
|
||||
steps {
|
||||
// Stop running microblog container
|
||||
|
@ -23,6 +17,12 @@ pipeline {
|
|||
sh 'docker image prune --filter "label!=org.opencontainers.image.vendor=Jenkins project"'
|
||||
}
|
||||
}
|
||||
stage('Selenium Tests') {
|
||||
steps {
|
||||
echo 'Running Selenium Tests...'
|
||||
//sh 'python3 selenium.py'
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
// Post always runs even if the pipeline fails
|
||||
|
|
Loading…
Reference in New Issue