diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index c8dd5cb73d1..87228b4b696 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -27,6 +27,9 @@ dependency_scanning: DS_ANALYZER_IMAGES: "registry.gitlab.com/madawa/gemnasium-maven" DS_RUN_ANALYZER_TIMEOUT: 3h DS_DEFAULT_ANALYZERS: "" + only: + refs: + - security-scan # sast: # stage: test @@ -99,10 +102,13 @@ dependency_scanning: # paths: # - gl-sast-report.json # dependencies: [] - -# deploy: -# stage: deploy -# script: -# - mvn $MAVEN_CLI_OPTS deploy -Dmaven.test.skip=true # only: -# - master@entgra/carbon-device-mgt +# refs: +# - security-scan + +deploy: + stage: deploy + script: + - mvn $MAVEN_CLI_OPTS deploy -Dmaven.test.skip=true + only: + - master@entgra/carbon-device-mgt