Skip to content

Commit

Permalink
[Issue #140] tired to implement a solution to identify the pull reque…
Browse files Browse the repository at this point in the history
…sts to master
  • Loading branch information
scaphilo committed Nov 19, 2018
1 parent 890b6c2 commit 3225c39
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion Jenkinsfile
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,12 @@ pipeline {
sh '''
. virtualenv/bin/activate
export PATH=$PATH:$PWD/geckodriver
pytest --cov=koalixcrm --cov-branch --cov-report xml:report/coverage.xml --cov-report term -m "not version_increase" '''
if [ "${CHANGE_ID}" == "master" ] && [ -z "${CHANGE_ID}" ]; then {
pytest --cov=koalixcrm --cov-branch --cov-report xml:reports/coverage.xml --cov-report term
}else{
pytest --cov=koalixcrm --cov-branch --cov-report xml:reports/coverage.xml --cov-report term -m "not version_increase"
}
fi'''
}
post {
always {
Expand Down

0 comments on commit 3225c39

Please sign in to comment.