Test Jenkins credentials
This commit is contained in:
parent
213c52dd00
commit
499bd198cd
@ -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")
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user