Skip to content
This repository has been archived by the owner on Jun 6, 2024. It is now read-only.

Commit

Permalink
Fix jenkins failure on release branch (#2425)
Browse files Browse the repository at this point in the history
* fix jenkins

* double backslash for escape
  • Loading branch information
mzmssg authored Mar 28, 2019
1 parent 5816acd commit 8907053
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions Jenkinsfile
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ ls $CONFIG_PATH/
rm -rf $CONFIG_PATH/*.yaml
./paictl.py config generate -i ${QUICK_START_PATH}/quick-start.yaml -o $CONFIG_PATH
# update image tag
sed -i "s/tag: latest/tag: ${IMAGE_TAG}/" ${CONFIG_PATH}/services-configuration.yaml
sed -i "s/tag: \\(latest\\|v[[:digit:]]\\+.[[:digit:]]\\+.[[:digit:]]\\+\\)/tag: ${IMAGE_TAG}/" ${CONFIG_PATH}/services-configuration.yaml
# setup registry
$JENKINS_HOME/scripts/setup_azure_int_registry_new_com.sh $CONFIG_PATH
# build images
Expand Down Expand Up @@ -146,7 +146,7 @@ cd /pai
# Step 1. Generate config
./paictl.py config generate -i /quick-start/quick-start.yaml -o /cluster-configuration
# update image tag
sed -i "s/tag: latest/tag: ${IMAGE_TAG}/" /cluster-configuration/services-configuration.yaml
sed -i "s/tag: \\(latest\\|v[[:digit:]]\\+.[[:digit:]]\\+.[[:digit:]]\\+\\)/tag: ${IMAGE_TAG}/" /cluster-configuration/services-configuration.yaml
# setup registry
/jenkins/scripts/setup_azure_int_registry_new_com.sh /cluster-configuration
Expand Down Expand Up @@ -236,7 +236,7 @@ cd /pai
# Step 1. Generate config
./paictl.py config generate -i /quick-start/quick-start.yaml -o /cluster-configuration
# update image tag
sed -i "s/tag: latest/tag: ${IMAGE_TAG}/" /cluster-configuration/services-configuration.yaml
sed -i "s/tag: \\(latest\\|v[[:digit:]]\\+.[[:digit:]]\\+.[[:digit:]]\\+\\)/tag: ${IMAGE_TAG}/" /cluster-configuration/services-configuration.yaml
# setup registry
/jenkins/scripts/setup_azure_int_registry_new_com.sh /cluster-configuration
Expand Down

0 comments on commit 8907053

Please sign in to comment.