Skip to content
This repository has been archived by the owner on Oct 30, 2023. It is now read-only.

Commit

Permalink
Update finish.sh
Browse files Browse the repository at this point in the history
  • Loading branch information
80017 authored Oct 1, 2018
1 parent e21fb03 commit 6899133
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion finish.sh
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ then
else
{
echo "call $TRAVIS_BRANCH branch"
ENV_ID=`curl -u ""$RANCHER_ACCESSKEY_QA":"$RANCHER_SECRETKEY_QA"" -X GET -H 'Accept: application/json' -H 'Content-Type: application/json' "$RANCHER_URL_QA/v2-beta/projects?name=Develop" | jq '.data[].id' | tr -d '"'`
ENV_ID=`curl -u ""$RANCHER_ACCESSKEY_QA":"$RANCHER_SECRETKEY_QA"" -X GET -H 'Accept: application/json' -H 'Content-Type: application/json' "$RANCHER_URL_QA/v2-beta/projects?name=QA" | jq '.data[].id' | tr -d '"'`
echo $ENV_ID
RANCHER_ACCESSKEY="$RANCHER_ACCESSKEY_QA";
RANCHER_SECRETKEY="$RANCHER_SECRETKEY_QA";
Expand Down

0 comments on commit 6899133

Please sign in to comment.