Skip to content

Commit 608946e

Browse files
committed
Do we get something back?
1 parent c821337 commit 608946e

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

Jenkinsfile

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -627,6 +627,7 @@ def resolveBranchName(String featureBranchPRMinusNo, String orgName, String repo
627627
/// Note: only works for public repos! Otherwise credentials needs to be passed
628628
def curlUrl = "set +x && curl -s https://api.github.com/repos/" + orgName + "/" + repoName + "/pulls/" + prNo
629629
String response = sh(script: curlUrl, returnStdout: true)
630+
println response
630631
def jsonResponse = readJSON text: response
631632
def branchName = jsonResponse.head.ref
632633
// def matcher = response =~ /\"label\":\s\"(.+)\"/

0 commit comments

Comments
 (0)