in vsts/src/utils.ts [58:84]
export function getInputs(): Inputs {
// eslint-disable-next-line @typescript-eslint/no-non-null-assertion
const home = path.join(process.env['AGENT_TEMPDIRECTORY']!, 'qodana')
return {
args: parseRawArguments(tl.getInput('args', false) || ''),
resultsDir: tl.getInput('resultsDir', false) || path.join(home, 'results'),
cacheDir: tl.getInput('cacheDir', false) || path.join(home, 'cache'),
uploadResult: tl.getBoolInput('uploadResult', false),
uploadSarif: tl.getBoolInput('uploadSarif', false),
artifactName: tl.getInput('artifactName', false) || 'qodana-report',
useNightly: tl.getBoolInput('useNightly', false),
prMode: tl.getBoolInput('prMode', false),
postComment: tl.getBoolInput('postPrComment', false),
pushFixes: tl.getInput('pushFixes', false) || 'none',
commitMessage:
tl.getInput('commitMessage', false) ||
'🤖 Apply quick-fixes by Qodana \n\n[skip ci]',
workingDirectory: tl.getInput('workingDirectory', false) || '',
// Not used by the Azure task
additionalCacheKey: '',
primaryCacheKey: '',
useAnnotations: false,
useCaches: false,
cacheDefaultBranchOnly: false,
githubToken: ''
}
}