Skip to content

Commit

Permalink
Merge pull request CentOS-PaaS-SIG#588 from CentOS-PaaS-SIG/johnbiere…
Browse files Browse the repository at this point in the history
…n-patch-4
  • Loading branch information
paas-bot authored Apr 30, 2018
2 parents 8d364d4 + b5a4ec3 commit 906b9be
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/org/centos/pipeline/PipelineUtils.groovy
Original file line number Diff line number Diff line change
Expand Up @@ -1164,6 +1164,7 @@ def watchForMessages(String msg_provider, String message) {
*/
def checkTests(String mypackage, String mybranch, String tag) {
echo "Currently checking if package tests exist"
sh "rm -rf ${mypackage}"
return sh (returnStatus: true, script: """
git clone -b ${mybranch} --single-branch https://src.fedoraproject.org/rpms/${mypackage}/ && grep -r '\\- '${tag}'\$' ${mypackage}/tests""") == 0
}
Expand Down

0 comments on commit 906b9be

Please sign in to comment.