1
0
mirror of https://github.com/SAP/jenkins-library.git synced 2024-12-12 10:55:20 +02:00

fix(whitesourceExecuteScan): orgToken from Vault (#3614)

supersedes #3168
This commit is contained in:
Oliver Nocon 2022-03-08 08:59:12 +01:00 committed by GitHub
parent 0998a80f07
commit f9ad6dc048
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 9 additions and 0 deletions

View File

@ -616,6 +616,12 @@ func whitesourceExecuteScanMetadata() config.StepData {
Name: "orgAdminUserTokenCredentialsId",
Type: "secret",
},
{
Name: "whitesourceVaultSecret",
Type: "vaultSecret",
Default: "whitesource",
},
},
Scope: []string{"GENERAL", "PARAMETERS", "STAGES", "STEPS"},
Type: "string",

View File

@ -257,6 +257,9 @@ spec:
resourceRef:
- name: orgAdminUserTokenCredentialsId
type: secret
- type: vaultSecret
name: whitesourceVaultSecret
default: whitesource
- name: productName
aliases:
- name: whitesourceProductName