Skip to content
This repository has been archived by the owner on Sep 27, 2024. It is now read-only.

Commit

Permalink
wip: temporarily comment out sast stage
Browse files Browse the repository at this point in the history
Signed-off-by: Chaz Leong <13462818+cleong14@users.noreply.github.com>
  • Loading branch information
cleong14 committed Jul 21, 2024
1 parent b6b5275 commit 91a49fc
Showing 1 changed file with 21 additions and 21 deletions.
42 changes: 21 additions & 21 deletions angular-ui/Jenkinsfile
Original file line number Diff line number Diff line change
Expand Up @@ -62,27 +62,27 @@ pipeline {
}
}

stage('SAST') {
steps {
script {
def sastParameters = [
string(name: 'git_repository', value: "${scm.userRemoteConfigs[0].url}"),
string(name: 'git_credentials', value: "${scm.userRemoteConfigs[0].credentialsId}"),
string(name: 'git_commit', value: "${GIT_COMMIT}"),
string(name: 'git_branch', value: "${env.GIT_BRANCH}"),
string(name: 'copy_artifacts_job_name', value: "${env.JOB_NAME}"),
string(name: 'copy_artifacts_build_number', value: "${env.BUILD_NUMBER}"),
string(name: 'copy_artifacts_filter', value: 'coverage/**/*')
]

if (env.CHANGE_ID) {
sastParameters.add(string(name: 'git_change_id', value: "${env.CHANGE_ID}"))
}

build(job: 'Angular UI SAST', wait: true, propagate: true, parameters: sastParameters)
}
}
}
// stage('SAST') {
// steps {
// script {
// def sastParameters = [
// string(name: 'git_repository', value: "${scm.userRemoteConfigs[0].url}"),
// string(name: 'git_credentials', value: "${scm.userRemoteConfigs[0].credentialsId}"),
// string(name: 'git_commit', value: "${GIT_COMMIT}"),
// string(name: 'git_branch', value: "${env.GIT_BRANCH}"),
// string(name: 'copy_artifacts_job_name', value: "${env.JOB_NAME}"),
// string(name: 'copy_artifacts_build_number', value: "${env.BUILD_NUMBER}"),
// string(name: 'copy_artifacts_filter', value: 'coverage/**/*')
// ]
//
// if (env.CHANGE_ID) {
// sastParameters.add(string(name: 'git_change_id', value: "${env.CHANGE_ID}"))
// }
//
// build(job: 'Angular UI SAST', wait: true, propagate: true, parameters: sastParameters)
// }
// }
// }

stage('Delivery') {
steps {
Expand Down

0 comments on commit 91a49fc

Please sign in to comment.