Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- image: maven:latest
- variables:
- MAVEN_CLI_OPTS: "--batch-mode"
- MAVEN_OPTS: "-Dmaven.repo.local=.m2/repository"
- cache:
- paths:
- - .m2/repository/
- - webgoat-container/target/
- build:
- stage: build
- script:
- - mvn install
- iq_policy_eval:
- stage: test
- image: sonatype/gitlab-nexus-iq-pipeline
- script:
- - /sonatype/evaluate -i WebAppX webgoat-container/target/*.jar
- artifacts:
- name: "policy-eval-$CI_JOB_NAME-$CI_COMMIT_REF_NAME"
- paths:
- - WebAppX-policy-eval-report.html
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement