Skip to content

Commit

Permalink
Correct path to CodeQL Config File
Browse files Browse the repository at this point in the history
Fix a bug where the CONFIG_FILE property was
incorrectly pointing to codeql.yml instead of
codeql-config.yml

Signed-off-by: Brett Logan <lindluni@github.com>
  • Loading branch information
lindluni committed Sep 6, 2023
1 parent dc62f57 commit 75e5cc9
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion jenkins/shared-libraries/linux/vars/ExecuteCodeQL.groovy
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ def call(org, repo, branch, language, buildCommand, token, installCodeQL) {
env.BRANCH = branch
}
env.BUILD_COMMAND = buildCommand
env.CONFIG_FILE = "${env.WORKSPACE}/.github/codeql.yml"
env.CONFIG_FILE = "${env.WORKSPACE}/.github/codeql-config.yml"
env.DATABASE_BUNDLE = sprintf("%s-database.zip", language)
env.DATABASE_PATH = sprintf("%s-%s", repo, language)
if(!env.ENABLE_DEBUG) {
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
def call(repo, language, buildCommand) {
env.BUILD_COMMAND = buildCommand
env.CONFIG_FILE = "${env.WORKSPACE}/.github/codeql.yml"
env.CONFIG_FILE = "${env.WORKSPACE}/.github/codeql-config.yml"
env.DATABASE_PATH = sprintf("%s-%s", repo, language)
if(!env.ENABLE_DEBUG) {
env.ENABLE_DEBUG = false
Expand Down

0 comments on commit 75e5cc9

Please sign in to comment.