Skip to content

Commit

Permalink
Changes to be committed:
Browse files Browse the repository at this point in the history
	modified:   Jenkinsfile
  • Loading branch information
vinnimous committed Oct 30, 2024
1 parent 9e68b1d commit e3b864e
Showing 1 changed file with 0 additions and 76 deletions.
76 changes: 0 additions & 76 deletions Jenkinsfile
Original file line number Diff line number Diff line change
Expand Up @@ -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()
Expand Down

0 comments on commit e3b864e

Please sign in to comment.