Skip to content
This repository was archived by the owner on Aug 5, 2022. It is now read-only.

Commit 0608379

Browse files
committed
CI Jenkinsfile: need ci_pr_num declared in master build
Recent reduction of predefined variables was verified in PR build only, and slipped through a regression failing master build in CI where ci_pr_num does not get value and thus remains undefined variable. Signed-off-by: Olev Kartau <olev.kartau@intel.com>
1 parent ec31e73 commit 0608379

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

Jenkinsfile

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,7 @@ def slot_name = "ci-"
2727
// reasonable value: keep few recent, dont take risk to fill disk
2828
int num_builds_to_keep = 4
2929

30+
def ci_pr_num = ""
3031
if (is_pr) {
3132
if (params.containsKey("GITHUB_PR_NUMBER")) {
3233
ci_pr_num = "$GITHUB_PR_NUMBER"

0 commit comments

Comments
 (0)