Skip to content

Commit

Permalink
Added yarn audit to Jenkinsfile_CNP and Jenkinsfile_nightly pipelin…
Browse files Browse the repository at this point in the history
…es (#261)
  • Loading branch information
Rob-Doherty committed Mar 1, 2019
1 parent 4c07538 commit 479dde6
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions Jenkinsfile_CNP
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,7 @@ withPipeline("nodejs", product, component) {
after('build') {sh 'yarn build'}
enableDockerBuild()
enableDeployToAKS()
before('securitychecks') {sh 'yarn audit'}
before("functionalTest:preview") {
env.COH_URL = cohUrlAat
sh 'echo COH_URL=$COH_URL'
Expand Down
1 change: 1 addition & 0 deletions Jenkinsfile_nightly
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,7 @@ withNightlyPipeline("nodejs", product, component) {
loadVaultSecrets(secrets)
env.TEST_URL = params.URL_TO_TEST

before('DependencyCheckNightly') {sh 'yarn audit'}
enableCrossBrowserTest()
enableSlackNotifications('#sscs-tech')
}

0 comments on commit 479dde6

Please sign in to comment.