SHARE
TWEET

Untitled

a guest Dec 9th, 2019 90 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. image: maven:latest
  2.  
  3. variables:
  4.   MAVEN_CLI_OPTS: "--batch-mode"
  5.   MAVEN_OPTS: "-Dmaven.repo.local=.m2/repository"
  6.  
  7. cache:
  8.   paths:
  9.     - .m2/repository/
  10.     - webgoat-container/target/
  11.  
  12. build:
  13.   stage: build
  14.   script:
  15.     - mvn install
  16.  
  17. iq_policy_eval:
  18.   stage: test
  19.   image: sonatype/gitlab-nexus-iq-pipeline
  20.   script:
  21.     - /sonatype/evaluate -i WebAppX webgoat-container/target/*.jar
  22.   artifacts:
  23.     name: "policy-eval-$CI_JOB_NAME-$CI_COMMIT_REF_NAME"
  24.     paths:
  25.       - WebAppX-policy-eval-report.html
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top