diff --git a/jenkins.groovy b/jenkins.groovy index a943c44b..6a3ff099 100644 --- a/jenkins.groovy +++ b/jenkins.groovy @@ -24,6 +24,7 @@ def projectName = "pxt-calliope" credentialsBinding { string("PXT_ACCESS_TOKEN", "pxt_access_token") string("PXT_RELEASE_REPO", "pxt_release_repo_calliope") + string("TEST_CRED_", "test_secret_in_restricted_folder") } } } diff --git a/jenkins.sh b/jenkins.sh index bef5cb23..b708528c 100644 --- a/jenkins.sh +++ b/jenkins.sh @@ -13,7 +13,7 @@ echo isPR: $1 originRegex="^origin/.*" branchRegex="^origin/\K.*(?=$)" -releaseBranchRegex = "^(master|v\d+)$" +releaseBranchRegex="^(master|v\d+)$" if [[ "$GIT_BRANCH" =~ $originRegex ]]; then branchName=$(echo ${GIT_BRANCH} | grep -oP $branchRegex)