mirror of
https://github.com/SAP/jenkins-library.git
synced 2025-02-21 19:48:53 +02:00
Make packageId optional (#3019)
This commit is contained in:
parent
2f2fd84193
commit
f20af7ba00
@ -107,7 +107,6 @@ func addIntegrationArtifactUploadFlags(cmd *cobra.Command, stepConfig *integrati
|
||||
cmd.MarkFlagRequired("apiServiceKey")
|
||||
cmd.MarkFlagRequired("integrationFlowId")
|
||||
cmd.MarkFlagRequired("integrationFlowName")
|
||||
cmd.MarkFlagRequired("packageId")
|
||||
cmd.MarkFlagRequired("filePath")
|
||||
}
|
||||
|
||||
@ -163,7 +162,7 @@ func integrationArtifactUploadMetadata() config.StepData {
|
||||
ResourceRef: []config.ResourceReference{},
|
||||
Scope: []string{"PARAMETERS", "STAGES", "STEPS"},
|
||||
Type: "string",
|
||||
Mandatory: true,
|
||||
Mandatory: false,
|
||||
Aliases: []config.Alias{},
|
||||
Default: os.Getenv("PIPER_packageId"),
|
||||
},
|
||||
|
@ -46,7 +46,7 @@ spec:
|
||||
- PARAMETERS
|
||||
- STAGES
|
||||
- STEPS
|
||||
mandatory: true
|
||||
mandatory: false
|
||||
- name: filePath
|
||||
type: string
|
||||
description: Specifies integration artifact relative file path.
|
||||
|
Loading…
x
Reference in New Issue
Block a user