Unverified Commit 4ee6401a authored by skoulouzis's avatar skoulouzis Committed by GitHub

Update Jenkinsfile

parent 0259793e
......@@ -12,9 +12,9 @@ pipeline {
echo 'Building'
git branch: 'DRIP_3.0', url: 'https://github.com/skoulouzis/DRIP.git'
sh "mvn -Dmaven.test.skip=true install"
sh "cd drip-planner && python3 -m venv venv && venv/bin/pip3 install -r requirements.txt"
sh "cd drip-planner && python3.7 -m venv venv && venv/bin/pip3 install -r requirements.txt"
sh "cd ../"
sh "cd sure_tosca-flask-server && python3 -m venv venv && venv/bin/pip3 install -r requirements.txt && venv/bin/pip3 install -r test-requirements.txt"
sh "cd sure_tosca-flask-server && python3.7 -m venv venv && venv/bin/pip3 install -r requirements.txt && venv/bin/pip3 install -r test-requirements.txt"
sh "pwd && ls"
}
}
......@@ -22,8 +22,8 @@ pipeline {
steps {
echo 'Testing'
sh "mvn test"
sh "cd drip-planner && venv/bin/python3 -m unittest discover"
sh "cd sure_tosca-flask-server && venv/bin/python3 -m unittest discover"
sh "cd drip-planner && venv/bin/python3.7 -m unittest discover"
sh "cd sure_tosca-flask-server && venv/bin/python3.7 -m unittest discover"
}
}
stage('Package') {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment