File tree Expand file tree Collapse file tree 1 file changed +7
-9
lines changed
Expand file tree Collapse file tree 1 file changed +7
-9
lines changed Original file line number Diff line number Diff line change @@ -29,17 +29,15 @@ pipeline {
2929
3030 stage(' CodeQL Analysis' ) {
3131 steps {
32- withCredentials([string(credentialsId : ' PAT' , variable : ' GITHUB_TOKEN' )]) {
33- sh ''' #!/bin/bash
34- . venv/bin/activate
35- echo "Base Ref (Target Branch): $CHANGE_TARGET"
36- echo "Ref (Source Branch): $CHANGE_BRANCH"
32+ sh ''' #!/bin/bash
33+ . venv/bin/activate
34+ echo "Base Ref (Target Branch): $CHANGE_TARGET"
35+ echo "Ref (Source Branch): $CHANGE_BRANCH"
3736
38- curl -s -H "Authorization: token $GITHUB_TOKEN" https://api.github.com/user
37+ curl -s -H "Authorization: token $GITHUB_TOKEN" https://api.github.com/user
3938
40- codeql-wrapper --verbose analyze ./monorepo --monorepo --upload-sarif --ref $CHANGE_BRANCH --base-ref $CHANGE_TARGET
41- '''
42- }
39+ codeql-wrapper --verbose analyze ./monorepo --monorepo --upload-sarif --ref $CHANGE_BRANCH --base-ref $CHANGE_TARGET
40+ '''
4341 }
4442 }
4543
You can’t perform that action at this time.
0 commit comments