mirror of
https://github.com/SAP/jenkins-library.git
synced 2026-06-19 22:58:55 +02:00
feat(events): Add gcpPublishEvent Groovy file (#4927)
* add gcpPublishEvent.groovy * fix unit tests --------- Co-authored-by: jliempt <>
This commit is contained in:
co-authored by
jliempt <>
parent
125c48ee75
commit
b388907b97
@@ -233,6 +233,7 @@ public class CommonStepsTest extends BasePiperTest{
|
||||
'tmsUpload',
|
||||
'tmsExport',
|
||||
'imagePushToRegistry',
|
||||
'gcpPublishEvent'
|
||||
]
|
||||
|
||||
@Test
|
||||
|
||||
@@ -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)
|
||||
}
|
||||
Reference in New Issue
Block a user