change to windows executor
@@ -168,23 +168,22 @@ jobs:
path: ~/test-results/junit
e2e-tests:
- docker:
- - image: "circleci/openjdk:8-jdk"
+ executor: win/default
steps:
- checkout
- run:
name: Run E2E Tests
- command: ./gradlew clean 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} -Dcheckmarx-username=${CHECKMARX_USERNAME} -Dcheckmarx-password=${CHECKMARX_PASSWORD} -Dcheckmarx-client-secret=${CHECKMARX_CLIENT_SECRET} -Djira-url=${JIRA_URL} -Dcheckmarx-base-url=${BASE_URL} -Djira-username=${JIRA_USERNAME}
- - run:
- name: Save test results
- command: |
- mkdir -p ~/test-results/junit/
- find . -type f -regex ".*/build/test-results/.*xml" -exec cp {} ~/test-results/junit/ \;
- when: always
- - store_test_results:
- path: ~/test-results
- - store_artifacts:
- path: ~/test-results/junit
+ command: ./gradlew clean e2eTests --debug -Dgithub-webhook-token=%GITHUB_WEBHOOK_TOKEN% -Dgithub-token=%GITHUB_TOKEN% -Djira-token=%JIRA_TOKEN% -Dtarget=%HOOK_TARGET% -Drepo=%HOOK_REPO% -Dnamespace=%HOOK_NAMESPACE% #-Dcheckmarx-username=${CHECKMARX_USERNAME} -Dcheckmarx-password=${CHECKMARX_PASSWORD} -Dcheckmarx-client-secret=${CHECKMARX_CLIENT_SECRET} -Djira-url=${JIRA_URL} -Dcheckmarx-base-url=${BASE_URL} -Djira-username=${JIRA_USERNAME}
+ # - run:
+ # name: Save test results
+ # command: |
+ # mkdir -p ~/test-results/junit/
+ # find . -type f -regex ".*/build/test-results/.*xml" -exec cp {} ~/test-results/junit/ \;
+ # when: always
+ # - store_test_results:
+ # path: ~/test-results
+ # - store_artifacts:
+ # path: ~/test-results/junit
docker-push-stable:
executor: docker
@@ -224,6 +223,7 @@ orbs:
aws-eks: circleci/aws-eks@0.2.6
kubernetes: circleci/kubernetes@0.4.0
helm: circleci/helm@0.2.3
+ win: circleci/windows@2.2.0
workflows:
version: 2
