You've already forked sap-jenkins-library
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:
@@ -233,6 +233,7 @@ public class CommonStepsTest extends BasePiperTest{
|
||||
'tmsUpload',
|
||||
'tmsExport',
|
||||
'imagePushToRegistry',
|
||||
'gcpPublishEvent'
|
||||
]
|
||||
|
||||
@Test
|
||||
|
9
vars/gcpPublishEvent.groovy
Normal file
9
vars/gcpPublishEvent.groovy
Normal 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)
|
||||
}
|
Reference in New Issue
Block a user