mirror of
https://github.com/SAP/jenkins-library.git
synced 2024-12-14 11:03:09 +02:00
3f4b32f7ba
* Implement cnbBuild step Co-authored-by: Benjamin Haegenlaeuer <benjamin.haegenlaeuer@sap.com> * Add cnbBuild groovy test Co-authored-by: Benjamin Haegenlaeuer <benjamin.haegenlaeuer@sap.com> * Add basic documentation template Co-authored-by: Philipp Stehle <philipp.stehle@sap.com> * Support specifiying name, tag and registry Co-authored-by: Pavel Busko <pbusko@users.noreply.github.com> Co-authored-by: Johannes Dillmann <j.dillmann@sap.com> Co-authored-by: Philipp Stehle <philipp.stehle@sap.com> Co-authored-by: Pavel Busko <pbusko@users.noreply.github.com>
10 lines
351 B
Groovy
10 lines
351 B
Groovy
import groovy.transform.Field
|
|
|
|
@Field String STEP_NAME = getClass().getName()
|
|
@Field String METADATA_FILE = 'metadata/cnbBuild.yaml'
|
|
|
|
void call(Map parameters = [:]) {
|
|
List credentials = [[type: 'file', id: 'dockerConfigJsonCredentialsId', env: ['PIPER_dockerConfigJSON']]]
|
|
piperExecuteBin(parameters, STEP_NAME, METADATA_FILE, credentials)
|
|
}
|