You've already forked sap-jenkins-library
							
							
				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:
		| @@ -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 | ||||
|   | ||||
							
								
								
									
										11
									
								
								vars/containerSaveImage.groovy
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										11
									
								
								vars/containerSaveImage.groovy
									
									
									
									
									
										Normal 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) | ||||
| } | ||||
		Reference in New Issue
	
	Block a user