Skip to content

Commit

Permalink
Fix regexp & clean up unused code
Browse files Browse the repository at this point in the history
  • Loading branch information
diserere committed Aug 26, 2020
1 parent 29a7d4a commit cab6a43
Showing 1 changed file with 2 additions and 5 deletions.
7 changes: 2 additions & 5 deletions Jenkinsfile
Original file line number Diff line number Diff line change
Expand Up @@ -1094,10 +1094,6 @@ ton_client/platforms/ton-client-web"""
mkdir toDeploy
"""

/* Compile string for bucket tag */
BRANCH_NAME_STRIPPED = "${BRANCH_NAME}".replaceAll("[^a-zA-Z0-9_-]+","__")
BUCKET_TAG = "${BRANCH_NAME_STRIPPED}_b${BUILD_ID}"

dir('toDeploy') {
unstash 'cl-linux-bin'
unstash 'cl-darwin-bin'
Expand All @@ -1111,7 +1107,8 @@ ton_client/platforms/ton-client-web"""
def deployPath = 'tmp_sdk'
if(GIT_BRANCH == "${getVar(G_binversion)}-rc") {

TON_SDK_BIN_VERSION = GIT_BRANCH.replaceAll(".", "_")
TON_SDK_BIN_VERSION = GIT_BRANCH.replaceAll("\\.", "_")
echo "TON_SDK_BIN_VERSION: ${TON_SDK_BIN_VERSION}"

deployPath = ''
sh """
Expand Down

0 comments on commit cab6a43

Please sign in to comment.