1
0
mirror of https://github.com/SAP/jenkins-library.git synced 2025-01-18 05:18:24 +02:00

Improve info message

This commit is contained in:
Sven Merk 2019-03-12 12:24:25 +01:00
parent 74a06ef871
commit c6909fa783

View File

@ -245,7 +245,7 @@ private def triggerWhitesourceScanWithUserKey(script, config, utils, descriptorU
)]) {
config.userKey = userKey
def statusCode = 1
echo "Triggering Whitesource scan on product '${config.productName}' with token '${config.productToken}' using credentials with ID '${config.userTokenCredentialsId}'"
echo "Triggering Whitesource scan on product '${config.productName}'${config.productToken ? ' with token \'' + config.productToken + '\'' : ''} using product admin credentials with ID '${config.userTokenCredentialsId}'${config.orgAdminUserTokenCredentialsId ? ' and organization admin credentials with ID \'' + config.orgAdminUserTokenCredentialsId + '\'' : ''}"
if (!config.productToken) {
def metaInfo = orgAdminRepository.fetchProductMetaInfo()