Test Jenkins credentials

This commit is contained in:
guillaumejenkins 2017-05-26 16:13:12 -07:00
parent 213c52dd00
commit 499bd198cd
2 changed files with 2 additions and 1 deletions

View File

@ -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")
}
}
}

View File

@ -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)