summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Jenkinsfile3
1 files changed, 2 insertions, 1 deletions
diff --git a/Jenkinsfile b/Jenkinsfile
index 1e77614..fa2d4ae 100644
--- a/Jenkinsfile
+++ b/Jenkinsfile
@@ -20,11 +20,12 @@ pipeline {
stage('TestIt') {
steps {
echo 'Testing..'
+ sh 'sudo docker stop $(sudo docker ps -q --filter ancestor=selenium/standalone-chrome)'
sh 'sudo docker run -d -P selenium/standalone-chrome'
sh 'pip3 install pytest'
sh 'pip3 install selenium'
sh 'python3 -m pytest ./app/test/test_signup.py'
- sh 'sudo docker stop $(sudo docker ps -q --filter ancestor=selenium/standalone-chrome)'
+
}
}
stage('DeployIt') {