diff --git a/Jenkinsfile b/Jenkinsfile index ac2940d..600ef80 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -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