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 {
24
24
echo "Upgrading pip, setuptools, and wheel..."
25
25
python3 -m pip install --upgrade --force-reinstall pip setuptools wheel packaging gitpython==3.1.45
26
26
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
29
27
'''
30
28
}
31
29
}
@@ -34,8 +32,10 @@ pipeline {
34
32
steps {
35
33
sh ''' #!/bin/bash
36
34
. venv/bin/activate
35
+ echo "Base Ref (Target Branch): ${env.CHANGE_TARGET}"
36
+ echo "Ref (Source Branch): ${env.CHANGE_BRANCH}"
37
37
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}
39
39
'''
40
40
}
41
41
}
You can’t perform that action at this time.
0 commit comments