Skip to content

Commit d42a3f4

Browse files
committed
Wrong parameter
1 parent 9070507 commit d42a3f4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Jenkinsfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -625,7 +625,7 @@ def resolveBranchName(String featureBranchPRMinusNo, String orgName, String repo
625625

626626
// curl the repo based on the feature branch no to get the branch information
627627
/// Note: only works for public repos! Otherwise credentials needs to be passed
628-
def curlUrl = "set +x && curl -s https://api.github.com/repos/" + orgName + "/" + repoName + "/pulls/" + prId
628+
def curlUrl = "set +x && curl -s https://api.github.com/repos/" + orgName + "/" + repoName + "/pulls/" + prNo
629629
String response = sh(script: curlUrl, returnStdout: true)
630630
def matcher = response =~ /\"label\":\s\"(.+)\"/
631631

0 commit comments

Comments
 (0)