Skip to content

Commit

Permalink
Fixed the performance jenkins job (#380)
Browse files Browse the repository at this point in the history
* Build required tool before the execution

* Fixed bazel t tests
  • Loading branch information
mangchiandjjoe authored Apr 20, 2018
1 parent fbb6d9e commit 42b19d3
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
2 changes: 1 addition & 1 deletion Jenkinsfile
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@ GIT_SHA = ''
ESP_RUNTIME_VERSION = ''
// Global Variables defined in Jenkins
BUCKET = ''
BAZEL_ARGS = ''
BAZEL_ARGS = '--action_env=PERL5LIB=.'
BAZEL_BUILD_ARGS = ''
CLUSTER = ''
PROJECT_ID = ''
Expand Down
3 changes: 3 additions & 0 deletions script/linux-start-local-test
Original file line number Diff line number Diff line change
Expand Up @@ -102,6 +102,9 @@ fi
cp -f "${NGINX_BAZEL_BIN}" "${NGINX}" \
|| error_exit 'Error copying nginx-esp, aborting.'

echo 'Building required tools'
retry -n 3 ${BAZEL} ${BAZEL_ARGS} build //src/tools:auth_token_gen

echo 'Creating service.json'
# Hard code Config_ID.
SERVICE_NAME='echo-dot-esp-load-test.appspot.com'
Expand Down

0 comments on commit 42b19d3

Please sign in to comment.