Skip to content

Commit 2fcdce0

Browse files
authored
Update Jenkinsfile
1 parent 1d43580 commit 2fcdce0

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

jenkins/Jenkinsfile

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,6 @@ pipeline {
22
agent {
33
docker {
44
image 'python:3.11' // Python comes pre-installed
5-
args '-u root'
65
}
76
}
87

@@ -19,7 +18,9 @@ pipeline {
1918

2019
stage('Setup Python') {
2120
steps {
22-
sh '''
21+
sh '''
22+
#!/bin/bash
23+
2324
python3 -m pip install --upgrade pip
2425
pip3 install codeql-wrapper
2526
'''
@@ -29,6 +30,8 @@ pipeline {
2930
stage('CodeQL Analysis') {
3031
steps {
3132
sh '''
33+
#!/bin/bash
34+
3235
codeql-wrapper analyze ${WORKSPACE} \
3336
--monorepo \
3437
--verbose \

0 commit comments

Comments
 (0)