Skip to content

Commit

Permalink
try single quotes
Browse files Browse the repository at this point in the history
Signed-off-by: Johnny Bieren <[email protected]>
  • Loading branch information
johnbieren committed Mar 12, 2018
1 parent a406a6b commit 0bd19f1
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/org/centos/pipeline/PipelineUtils.groovy
Original file line number Diff line number Diff line change
Expand Up @@ -1071,6 +1071,6 @@ def watchForMessages(String msg_provider, String message) {
*/
def checkTests(String mypackage, String mybranch, String tag) {
echo "Currently checking if package tests exist"
//return sh (returnStatus: true, script: """
//wget -O- -q https://src.fedoraproject.org/rpms/${mypackage}/raw/${mybranch}/f/tests/tests.yml | grep "\- ${tag}" """) == 0
return sh (returnStatus: true, script: """
curl -q https://src.fedoraproject.org/rpms/${mypackage}/raw/${mybranch}/f/tests/tests.yml | grep '\\- '${tag}'' """) == 0
}

0 comments on commit 0bd19f1

Please sign in to comment.