From e3b864eeda2a9bf0c358b591db9014ff8a6b3f6a Mon Sep 17 00:00:00 2001 From: vinnimous Date: Wed, 30 Oct 2024 14:51:54 -0400 Subject: [PATCH] Changes to be committed: modified: Jenkinsfile --- Jenkinsfile | 76 ----------------------------------------------------- 1 file changed, 76 deletions(-) diff --git a/Jenkinsfile b/Jenkinsfile index a73d3fb908f..72955889f9a 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -21,82 +21,6 @@ pipeline { sh "docker build . -t ${DOCKERTAG}" } } - // stage('Snyk Setup') { - - - // steps { - // echo "Downloading Snyk agent" - // sh ''' - // snyk_cli_dl_linux="https://static.snyk.io/cli/latest/snyk-linux" - // echo "Download URL: ${snyk_cli_dl_linux}" - // curl -Lso ./snyk "${snyk_cli_dl_linux}" - // chmod +x snyk - // ''' - // //Authenticate Snyk - // echo "Authorizing Snyk" - // withCredentials([string(credentialsId: 'snyk_cli_2', variable: 'secretText')]) { - // sh "./snyk auth ${secretText}" - // } - // } - // } - // stage('Snyk Open Source'){ - // // when { - // // branch "master" - // // } - // steps { - // catchError(stageResult: 'UNSTABLE', buildResult: 'UNSTABLE', message: 'Snyk Open Source has issues') { - // echo "Snyk Open Source Starting" - // sh ''' - // ./snyk test --all-projects --org=snyk-certification-vinny - // ./snyk monitor --org=snyk-certification-vinny - // ''' - // echo "Snyk Open Source Complete" - // } - // } - // } - // stage('Snyk Code'){ - // // when { - // // branch "master" - // // } - // steps { - // catchError(stageResult: 'UNSTABLE', buildResult: 'UNSTABLE', message: 'Snyk Code has issues') { - // echo "Snyk Code Starting" - // sh ''' - // ./snyk code test --org=snyk-certification-vinny - // ''' - // echo "Snyk Code Complete" - // } - // } - // } - // stage('Snyk Container'){ - // // when { - // // branch "master" - // // } - // steps { - // catchError(stageResult: 'UNSTABLE', buildResult: 'UNSTABLE', message: 'Snyk Container has issues') { - // echo "Snyk Container Starting" - // sh ''' - // ./snyk container test ${DOCKERTAG} --file=Dockerfile --org=snyk-certification-vinny - // ./snyk container monitor ${DOCKERTAG} --file=Dockerfile --org=snyk-certification-vinny - // ''' - // echo "Snyk Container Complete" - // } - // } - // } - // stage('Snyk IAC'){ - // // when { - // // branch "master" - // // } - // steps { - // catchError(stageResult: 'UNSTABLE', buildResult: 'UNSTABLE', message: 'Snyk IAC has issues') { - // echo "Snyk IAC Starting" - // sh ''' - // ./snyk iac test --org=snyk-certification-vinny --report - // ''' - // echo "Snyk IAC Complete" - // } - // } - // } stage ("Attempting security stages") { steps { shared()