Skip to content
This repository has been archived by the owner on May 7, 2021. It is now read-only.

Commit

Permalink
fix(test-script): path to jenkins-env file fixed (#2812)
Browse files Browse the repository at this point in the history
  • Loading branch information
ppitonak authored and jarifibrahim committed Dec 4, 2018
1 parent a49d68d commit 91c7476
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions cico_test_prod.sh
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,8 @@ set -e

# Source environment variables of the jenkins slave
# that might interest this worker
if [ -e "jenkins-env" ]; then
cat jenkins-env \
if [ -e "config/jenkins-env" ]; then
cat config/jenkins-env \
| grep -E "^(JENKINS_URL|GIT_BRANCH|GIT_COMMIT|USER_NAME|PASSWORD|BUILD_NUMBER|REFRESH_TOKEN|ARTIFACT_PASS)=" \
| sed 's/^/export /g' \
> /tmp/jenkins-env
Expand Down

0 comments on commit 91c7476

Please sign in to comment.