diff --git a/eng/pipelines/templates/jobs/build.yml b/eng/pipelines/templates/jobs/build.yml index cfb97ecd61..8b3bb108eb 100644 --- a/eng/pipelines/templates/jobs/build.yml +++ b/eng/pipelines/templates/jobs/build.yml @@ -34,7 +34,7 @@ jobs: hostArchitecture: ${{ parameters.HostArchitecture }} # Only run codeql on linux internal build jobs to reduce overall time on pipeline - ${{ if and(eq(parameters.OSName, 'linux'), eq(variables['System.TeamProject'], 'internal')) }}: + ${{ if eq(variables['System.TeamProject'], 'internal') }}: templateContext: sdl: codeql: