pass hook env variables to gradle
@@ -167,19 +167,20 @@ jobs:
- store_artifacts:
path: ~/test-results/junit
-
e2e-tests:
docker:
- image: "circleci/openjdk:8-jdk"
- environment:
- HOOK_TARGET: ${HOOK_TARGET}
- HOOK_REPO: ${HOOK_REPO}
- HOOK_NAMESPACE: ${HOOK_NAMESPACE}
steps:
- checkout
- run:
name: Run E2E Tests
- command: ./gradlew e2eTests --info -Dgithub-webhook-token=${GITHUB_WEBHOOK_TOKEN} -Dgithub-token=${GITHUB_TOKEN} -Djira-token=${JIRA_TOKEN}
+ command: ./gradlew e2eTests --info \
+ -Dgithub-webhook-token=${GITHUB_WEBHOOK_TOKEN} \
+ -Dgithub-token=${GITHUB_TOKEN} \
+ -Djira-token=${JIRA_TOKEN} \
+ -Dtarget=${HOOK_TARGET} \
+ -Drepo=${HOOK_REPO} \
+ -Dnamespace=${HOOK_NAMESPACE}
- run:
name: Save test results
command: |
