1
0
mirror of https://github.com/SAP/jenkins-library.git synced 2025-10-30 23:57:50 +02:00

adding groovy wrapper for containerSaveImage (#1663)

This commit is contained in:
Oliver Nocon
2020-06-15 16:44:49 +02:00
committed by GitHub
parent 6116fe5528
commit f125ba5b60
2 changed files with 13 additions and 0 deletions

View File

@@ -138,6 +138,8 @@ public class CommonStepsTest extends BasePiperTest{
'gctsCreateRepository', //implementing new golang pattern without fields
'fortifyExecuteScan', //implementing new golang pattern without fields
'gctsDeploy', //implementing new golang pattern without fields
'containerSaveImage', //implementing new golang pattern without fields
]
@Test

View File

@@ -0,0 +1,11 @@
import groovy.transform.Field
@Field String STEP_NAME = getClass().getName()
@Field String METADATA_FILE = 'metadata/savecontainer.yaml'
//Metadata maintained in file project://resources/metadata/savecontainer.yaml
void call(Map parameters = [:]) {
List credentials = []
piperExecuteBin(parameters, STEP_NAME, METADATA_FILE, credentials)
}