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