1
0
mirror of https://github.com/SAP/jenkins-library.git synced 2025-09-16 09:26:22 +02:00

feat(events): Add gcpPublishEvent Groovy file (#4927)

* add gcpPublishEvent.groovy

* fix unit tests

---------

Co-authored-by: jliempt <>
This commit is contained in:
Jordi van Liempt
2024-05-13 10:53:37 +02:00
committed by GitHub
parent 125c48ee75
commit b388907b97
2 changed files with 10 additions and 0 deletions

View File

@@ -233,6 +233,7 @@ public class CommonStepsTest extends BasePiperTest{
'tmsUpload',
'tmsExport',
'imagePushToRegistry',
'gcpPublishEvent'
]
@Test

View File

@@ -0,0 +1,9 @@
import groovy.transform.Field
@Field String STEP_NAME = getClass().getName()
@Field String METADATA_FILE = 'metadata/gcpPublishEvent.yaml'
void call(Map parameters = [:]) {
List credentials = []
piperExecuteBin(parameters, STEP_NAME, METADATA_FILE, credentials)
}