File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -24,8 +24,6 @@ pipeline {
2424 echo "Upgrading pip, setuptools, and wheel..."
2525 python3 -m pip install --upgrade --force-reinstall pip setuptools wheel packaging gitpython==3.1.45
2626 pip install --extra-index-url https://test.pypi.org/simple/ codeql-wrapper==0.2.15
27-
28- codeql-wrapper --verbose analyze ./monorepo --monorepo --upload-sarif
2927 '''
3028 }
3129 }
@@ -34,8 +32,10 @@ pipeline {
3432 steps {
3533 sh ''' #!/bin/bash
3634 . venv/bin/activate
35+ echo "Base Ref (Target Branch): ${env.CHANGE_TARGET}"
36+ echo "Ref (Source Branch): ${env.CHANGE_BRANCH}"
3737
38- codeql-wrapper analyze ./monorepo --monorepo --upload-sarif --verbose
38+ codeql-wrapper --verbose analyze ./monorepo --monorepo --upload-sarif --ref ${env.CHANGE_BRANCH} --base-ref ${env.CHANGE_TARGET}
3939 '''
4040 }
4141 }
You can’t perform that action at this time.
0 commit comments