mirror of
https://github.com/SAP/jenkins-library.git
synced 2025-01-18 05:18:24 +02:00
Add helmExecute.groovy (#3658)
* Add helmExecute.groovy * Add helmExecute in fieldRelatedWhitelist * Fix helmExecute.groovy Co-authored-by: “Vitalii <“vitalii.sidorov@sap.com”> Co-authored-by: Oliver Nocon <33484802+OliverNocon@users.noreply.github.com>
This commit is contained in:
parent
08f26e9605
commit
5926aa7f77
@ -205,6 +205,7 @@ public class CommonStepsTest extends BasePiperTest{
|
||||
'transportRequestUploadCTS', //implementing new golang pattern without fields
|
||||
'isChangeInDevelopment', //implementing new golang pattern without fields
|
||||
'golangBuild', //implementing new golang pattern without fields
|
||||
'helmExecute', //implementing new golang pattern without fields
|
||||
'apiProxyDownload', //implementing new golang pattern without fields
|
||||
'apiKeyValueMapDownload', //implementing new golang pattern without fields
|
||||
'apiProviderDownload', //implementing new golang pattern without fields
|
||||
|
9
vars/helmExecute.groovy
Normal file
9
vars/helmExecute.groovy
Normal file
@ -0,0 +1,9 @@
|
||||
import groovy.transform.Field
|
||||
|
||||
@Field String STEP_NAME = getClass().getName()
|
||||
@Field String METADATA_FILE = "metadata/helmExecute.yaml"
|
||||
|
||||
void call(Map parameters = [:]) {
|
||||
List credentials = [[type: 'file', id: 'dockerConfigJsonCredentialsId', env: ['PIPER_dockerConfigJSON']]]
|
||||
piperExecuteBin(parameters, STEP_NAME, METADATA_FILE, credentials)
|
||||
}
|
Loading…
x
Reference in New Issue
Block a user