mirror of
https://github.com/SAP/jenkins-library.git
synced 2024-12-14 11:03:09 +02:00
Merge pull request #900 from SAP/ws-logs
whitesourceExecuteScan: Add archiving of new UA log files
This commit is contained in:
commit
492bfd5637
@ -23,7 +23,10 @@ class WhitesourceConfigurationHelper implements Serializable {
|
||||
]
|
||||
}
|
||||
if(config.verbose)
|
||||
mapping += [name: 'log.level', value: 'debug']
|
||||
mapping += [
|
||||
[name: 'log.level', value: 'debug'],
|
||||
[name: 'log.files.level', value: 'debug']
|
||||
]
|
||||
|
||||
mapping += [
|
||||
[name: 'apiKey', value: config.whitesource.orgToken, force: true],
|
||||
|
@ -407,6 +407,9 @@ private def triggerWhitesourceScanWithUserKey(script, config, utils, descriptorU
|
||||
|
||||
// archive whitesource debug files, if available
|
||||
archiveArtifacts artifacts: "**/ws-l*", allowEmptyArchive: true
|
||||
|
||||
// archive UA log file
|
||||
archiveArtifacts artifacts: "/var/log/UA/*", allowEmptyArchive: true
|
||||
}
|
||||
break
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user