1
0
mirror of https://github.com/SAP/jenkins-library.git synced 2024-12-12 10:55:20 +02:00

Revert "feat(getConfig): retrieve metadata by stepName (#2736)" (#2891)

This reverts commit ae4a24c594.
This commit is contained in:
Oliver Nocon 2021-06-14 10:57:44 +02:00 committed by GitHub
parent 62810d01d0
commit 4250ca8bed
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
79 changed files with 14 additions and 1007 deletions

View File

@ -152,9 +152,6 @@ func abapAddonAssemblyKitCheckCVsMetadata() config.StepData {
},
Spec: config.StepSpec{
Inputs: config.StepInputs{
Secrets: []config.StepSecrets{
{Name: "abapAddonAssemblyKitCredentialsId", Description: "Credential stored in Jenkins for the Addon Assembly Kit as a Service (AAKaaS) system", Type: "jenkins"},
},
Parameters: []config.StepParameters{
{
Name: "abapAddonAssemblyKitEndpoint",
@ -162,7 +159,6 @@ func abapAddonAssemblyKitCheckCVsMetadata() config.StepData {
Scope: []string{"PARAMETERS", "STAGES", "STEPS", "GENERAL"},
Type: "string",
Mandatory: true,
Default: `https://apps.support.sap.com`,
Aliases: []config.Alias{},
},
{
@ -171,7 +167,6 @@ func abapAddonAssemblyKitCheckCVsMetadata() config.StepData {
Scope: []string{"PARAMETERS", "STAGES", "STEPS"},
Type: "string",
Mandatory: true,
Default: os.Getenv("PIPER_username"),
Aliases: []config.Alias{},
},
{
@ -180,7 +175,6 @@ func abapAddonAssemblyKitCheckCVsMetadata() config.StepData {
Scope: []string{"PARAMETERS"},
Type: "string",
Mandatory: true,
Default: os.Getenv("PIPER_password"),
Aliases: []config.Alias{},
},
{
@ -189,7 +183,6 @@ func abapAddonAssemblyKitCheckCVsMetadata() config.StepData {
Scope: []string{"PARAMETERS", "STAGES", "STEPS", "GENERAL"},
Type: "string",
Mandatory: true,
Default: `addon.yml`,
Aliases: []config.Alias{},
},
{
@ -203,7 +196,6 @@ func abapAddonAssemblyKitCheckCVsMetadata() config.StepData {
Scope: []string{"PARAMETERS", "STAGES", "STEPS"},
Type: "string",
Mandatory: false,
Default: os.Getenv("PIPER_addonDescriptor"),
Aliases: []config.Alias{},
},
},

View File

@ -152,9 +152,6 @@ func abapAddonAssemblyKitCheckPVMetadata() config.StepData {
},
Spec: config.StepSpec{
Inputs: config.StepInputs{
Secrets: []config.StepSecrets{
{Name: "abapAddonAssemblyKitCredentialsId", Description: "Credential stored in Jenkins for the Addon Assembly Kit as a Service (AAKaaS) system", Type: "jenkins"},
},
Parameters: []config.StepParameters{
{
Name: "abapAddonAssemblyKitEndpoint",
@ -162,7 +159,6 @@ func abapAddonAssemblyKitCheckPVMetadata() config.StepData {
Scope: []string{"PARAMETERS", "STAGES", "STEPS", "GENERAL"},
Type: "string",
Mandatory: true,
Default: `https://apps.support.sap.com`,
Aliases: []config.Alias{},
},
{
@ -171,7 +167,6 @@ func abapAddonAssemblyKitCheckPVMetadata() config.StepData {
Scope: []string{"PARAMETERS", "STAGES", "STEPS"},
Type: "string",
Mandatory: true,
Default: os.Getenv("PIPER_username"),
Aliases: []config.Alias{},
},
{
@ -180,7 +175,6 @@ func abapAddonAssemblyKitCheckPVMetadata() config.StepData {
Scope: []string{"PARAMETERS"},
Type: "string",
Mandatory: true,
Default: os.Getenv("PIPER_password"),
Aliases: []config.Alias{},
},
{
@ -189,7 +183,6 @@ func abapAddonAssemblyKitCheckPVMetadata() config.StepData {
Scope: []string{},
Type: "string",
Mandatory: true,
Default: `addon.yml`,
Aliases: []config.Alias{},
},
{
@ -203,7 +196,6 @@ func abapAddonAssemblyKitCheckPVMetadata() config.StepData {
Scope: []string{"PARAMETERS", "STAGES", "STEPS"},
Type: "string",
Mandatory: false,
Default: os.Getenv("PIPER_addonDescriptor"),
Aliases: []config.Alias{},
},
},

View File

@ -151,9 +151,6 @@ func abapAddonAssemblyKitCreateTargetVectorMetadata() config.StepData {
},
Spec: config.StepSpec{
Inputs: config.StepInputs{
Secrets: []config.StepSecrets{
{Name: "abapAddonAssemblyKitCredentialsId", Description: "Credential stored in Jenkins for the Addon Assembly Kit as a Service (AAKaaS) system", Type: "jenkins"},
},
Parameters: []config.StepParameters{
{
Name: "abapAddonAssemblyKitEndpoint",
@ -161,7 +158,6 @@ func abapAddonAssemblyKitCreateTargetVectorMetadata() config.StepData {
Scope: []string{"PARAMETERS", "STAGES", "STEPS", "GENERAL"},
Type: "string",
Mandatory: true,
Default: `https://apps.support.sap.com`,
Aliases: []config.Alias{},
},
{
@ -170,7 +166,6 @@ func abapAddonAssemblyKitCreateTargetVectorMetadata() config.StepData {
Scope: []string{"PARAMETERS", "STAGES", "STEPS"},
Type: "string",
Mandatory: true,
Default: os.Getenv("PIPER_username"),
Aliases: []config.Alias{},
},
{
@ -179,7 +174,6 @@ func abapAddonAssemblyKitCreateTargetVectorMetadata() config.StepData {
Scope: []string{"PARAMETERS"},
Type: "string",
Mandatory: true,
Default: os.Getenv("PIPER_password"),
Aliases: []config.Alias{},
},
{
@ -193,7 +187,6 @@ func abapAddonAssemblyKitCreateTargetVectorMetadata() config.StepData {
Scope: []string{"PARAMETERS", "STAGES", "STEPS"},
Type: "string",
Mandatory: true,
Default: os.Getenv("PIPER_addonDescriptor"),
Aliases: []config.Alias{},
},
},

View File

@ -120,9 +120,6 @@ func abapAddonAssemblyKitPublishTargetVectorMetadata() config.StepData {
},
Spec: config.StepSpec{
Inputs: config.StepInputs{
Secrets: []config.StepSecrets{
{Name: "abapAddonAssemblyKitCredentialsId", Description: "Credential stored in Jenkins for the Addon Assembly Kit as a Service (AAKaaS) system", Type: "jenkins"},
},
Parameters: []config.StepParameters{
{
Name: "abapAddonAssemblyKitEndpoint",
@ -130,7 +127,6 @@ func abapAddonAssemblyKitPublishTargetVectorMetadata() config.StepData {
Scope: []string{"PARAMETERS", "STAGES", "STEPS", "GENERAL"},
Type: "string",
Mandatory: true,
Default: `https://apps.support.sap.com`,
Aliases: []config.Alias{},
},
{
@ -139,7 +135,6 @@ func abapAddonAssemblyKitPublishTargetVectorMetadata() config.StepData {
Scope: []string{"PARAMETERS", "STAGES", "STEPS"},
Type: "string",
Mandatory: true,
Default: os.Getenv("PIPER_username"),
Aliases: []config.Alias{},
},
{
@ -148,7 +143,6 @@ func abapAddonAssemblyKitPublishTargetVectorMetadata() config.StepData {
Scope: []string{"PARAMETERS"},
Type: "string",
Mandatory: true,
Default: os.Getenv("PIPER_password"),
Aliases: []config.Alias{},
},
{
@ -157,7 +151,6 @@ func abapAddonAssemblyKitPublishTargetVectorMetadata() config.StepData {
Scope: []string{"PARAMETERS", "STAGES", "STEPS"},
Type: "string",
Mandatory: false,
Default: os.Getenv("PIPER_targetVectorScope"),
Aliases: []config.Alias{},
},
{
@ -171,7 +164,6 @@ func abapAddonAssemblyKitPublishTargetVectorMetadata() config.StepData {
Scope: []string{"PARAMETERS", "STAGES", "STEPS"},
Type: "string",
Mandatory: true,
Default: os.Getenv("PIPER_addonDescriptor"),
Aliases: []config.Alias{},
},
},

View File

@ -152,9 +152,6 @@ func abapAddonAssemblyKitRegisterPackagesMetadata() config.StepData {
},
Spec: config.StepSpec{
Inputs: config.StepInputs{
Secrets: []config.StepSecrets{
{Name: "abapAddonAssemblyKitCredentialsId", Description: "Credential stored in Jenkins for the Addon Assembly Kit as a Service (AAKaaS) system", Type: "jenkins"},
},
Parameters: []config.StepParameters{
{
Name: "abapAddonAssemblyKitEndpoint",
@ -162,7 +159,6 @@ func abapAddonAssemblyKitRegisterPackagesMetadata() config.StepData {
Scope: []string{"PARAMETERS", "STAGES", "STEPS", "GENERAL"},
Type: "string",
Mandatory: true,
Default: `https://apps.support.sap.com`,
Aliases: []config.Alias{},
},
{
@ -171,7 +167,6 @@ func abapAddonAssemblyKitRegisterPackagesMetadata() config.StepData {
Scope: []string{"PARAMETERS", "STAGES", "STEPS"},
Type: "string",
Mandatory: true,
Default: os.Getenv("PIPER_username"),
Aliases: []config.Alias{},
},
{
@ -180,7 +175,6 @@ func abapAddonAssemblyKitRegisterPackagesMetadata() config.StepData {
Scope: []string{"PARAMETERS"},
Type: "string",
Mandatory: true,
Default: os.Getenv("PIPER_password"),
Aliases: []config.Alias{},
},
{
@ -194,7 +188,6 @@ func abapAddonAssemblyKitRegisterPackagesMetadata() config.StepData {
Scope: []string{"PARAMETERS", "STAGES", "STEPS"},
Type: "string",
Mandatory: true,
Default: os.Getenv("PIPER_addonDescriptor"),
Aliases: []config.Alias{},
},
},

View File

@ -149,9 +149,6 @@ func abapAddonAssemblyKitReleasePackagesMetadata() config.StepData {
},
Spec: config.StepSpec{
Inputs: config.StepInputs{
Secrets: []config.StepSecrets{
{Name: "abapAddonAssemblyKitCredentialsId", Description: "Credential stored in Jenkins for the Addon Assembly Kit as a Service (AAKaaS) system", Type: "jenkins"},
},
Parameters: []config.StepParameters{
{
Name: "abapAddonAssemblyKitEndpoint",
@ -159,7 +156,6 @@ func abapAddonAssemblyKitReleasePackagesMetadata() config.StepData {
Scope: []string{"PARAMETERS", "STAGES", "STEPS", "GENERAL"},
Type: "string",
Mandatory: true,
Default: `https://apps.support.sap.com`,
Aliases: []config.Alias{},
},
{
@ -168,7 +164,6 @@ func abapAddonAssemblyKitReleasePackagesMetadata() config.StepData {
Scope: []string{"PARAMETERS", "STAGES", "STEPS"},
Type: "string",
Mandatory: true,
Default: os.Getenv("PIPER_username"),
Aliases: []config.Alias{},
},
{
@ -177,7 +172,6 @@ func abapAddonAssemblyKitReleasePackagesMetadata() config.StepData {
Scope: []string{"PARAMETERS"},
Type: "string",
Mandatory: true,
Default: os.Getenv("PIPER_password"),
Aliases: []config.Alias{},
},
{
@ -191,7 +185,6 @@ func abapAddonAssemblyKitReleasePackagesMetadata() config.StepData {
Scope: []string{"PARAMETERS", "STAGES", "STEPS"},
Type: "string",
Mandatory: true,
Default: os.Getenv("PIPER_addonDescriptor"),
Aliases: []config.Alias{},
},
},

View File

@ -154,9 +154,6 @@ func abapAddonAssemblyKitReserveNextPackagesMetadata() config.StepData {
},
Spec: config.StepSpec{
Inputs: config.StepInputs{
Secrets: []config.StepSecrets{
{Name: "abapAddonAssemblyKitCredentialsId", Description: "Credential stored in Jenkins for the Addon Assembly Kit as a Service (AAKaaS) system", Type: "jenkins"},
},
Parameters: []config.StepParameters{
{
Name: "abapAddonAssemblyKitEndpoint",
@ -164,7 +161,6 @@ func abapAddonAssemblyKitReserveNextPackagesMetadata() config.StepData {
Scope: []string{"PARAMETERS", "STAGES", "STEPS", "GENERAL"},
Type: "string",
Mandatory: true,
Default: `https://apps.support.sap.com`,
Aliases: []config.Alias{},
},
{
@ -173,7 +169,6 @@ func abapAddonAssemblyKitReserveNextPackagesMetadata() config.StepData {
Scope: []string{"PARAMETERS", "STAGES", "STEPS"},
Type: "string",
Mandatory: true,
Default: os.Getenv("PIPER_username"),
Aliases: []config.Alias{},
},
{
@ -182,7 +177,6 @@ func abapAddonAssemblyKitReserveNextPackagesMetadata() config.StepData {
Scope: []string{"PARAMETERS"},
Type: "string",
Mandatory: true,
Default: os.Getenv("PIPER_password"),
Aliases: []config.Alias{},
},
{
@ -196,7 +190,6 @@ func abapAddonAssemblyKitReserveNextPackagesMetadata() config.StepData {
Scope: []string{"PARAMETERS", "STAGES", "STEPS"},
Type: "string",
Mandatory: true,
Default: os.Getenv("PIPER_addonDescriptor"),
Aliases: []config.Alias{},
},
},

View File

@ -161,9 +161,6 @@ func abapEnvironmentAssembleConfirmMetadata() config.StepData {
},
Spec: config.StepSpec{
Inputs: config.StepInputs{
Secrets: []config.StepSecrets{
{Name: "abapCredentialsId", Description: "Jenkins credentials ID containing user and password to authenticate to the Cloud Platform ABAP Environment system or the Cloud Foundry API", Type: "jenkins", Aliases: []config.Alias{{Name: "cfCredentialsId", Deprecated: false}, {Name: "credentialsId", Deprecated: false}}},
},
Parameters: []config.StepParameters{
{
Name: "cfApiEndpoint",
@ -171,7 +168,6 @@ func abapEnvironmentAssembleConfirmMetadata() config.StepData {
Scope: []string{"PARAMETERS", "STAGES", "STEPS", "GENERAL"},
Type: "string",
Mandatory: false,
Default: os.Getenv("PIPER_cfApiEndpoint"),
Aliases: []config.Alias{{Name: "cloudFoundry/apiEndpoint"}},
},
{
@ -180,7 +176,6 @@ func abapEnvironmentAssembleConfirmMetadata() config.StepData {
Scope: []string{"PARAMETERS", "STAGES", "STEPS", "GENERAL"},
Type: "string",
Mandatory: false,
Default: os.Getenv("PIPER_cfOrg"),
Aliases: []config.Alias{{Name: "cloudFoundry/org"}},
},
{
@ -189,7 +184,6 @@ func abapEnvironmentAssembleConfirmMetadata() config.StepData {
Scope: []string{"PARAMETERS", "STAGES", "STEPS", "GENERAL"},
Type: "string",
Mandatory: false,
Default: os.Getenv("PIPER_cfSpace"),
Aliases: []config.Alias{{Name: "cloudFoundry/space"}},
},
{
@ -198,7 +192,6 @@ func abapEnvironmentAssembleConfirmMetadata() config.StepData {
Scope: []string{"PARAMETERS", "STAGES", "STEPS", "GENERAL"},
Type: "string",
Mandatory: false,
Default: os.Getenv("PIPER_cfServiceInstance"),
Aliases: []config.Alias{{Name: "cloudFoundry/serviceInstance"}},
},
{
@ -207,7 +200,6 @@ func abapEnvironmentAssembleConfirmMetadata() config.StepData {
Scope: []string{"PARAMETERS", "STAGES", "STEPS", "GENERAL"},
Type: "string",
Mandatory: false,
Default: os.Getenv("PIPER_cfServiceKeyName"),
Aliases: []config.Alias{{Name: "cloudFoundry/serviceKey"}, {Name: "cloudFoundry/serviceKeyName"}, {Name: "cfServiceKey"}},
},
{
@ -216,7 +208,6 @@ func abapEnvironmentAssembleConfirmMetadata() config.StepData {
Scope: []string{"PARAMETERS", "STAGES", "STEPS"},
Type: "string",
Mandatory: false,
Default: os.Getenv("PIPER_host"),
Aliases: []config.Alias{},
},
{
@ -225,7 +216,6 @@ func abapEnvironmentAssembleConfirmMetadata() config.StepData {
Scope: []string{"PARAMETERS", "STAGES", "STEPS"},
Type: "string",
Mandatory: true,
Default: os.Getenv("PIPER_username"),
Aliases: []config.Alias{},
},
{
@ -234,7 +224,6 @@ func abapEnvironmentAssembleConfirmMetadata() config.StepData {
Scope: []string{"PARAMETERS", "STAGES", "STEPS"},
Type: "string",
Mandatory: true,
Default: os.Getenv("PIPER_password"),
Aliases: []config.Alias{},
},
{
@ -248,7 +237,6 @@ func abapEnvironmentAssembleConfirmMetadata() config.StepData {
Scope: []string{"PARAMETERS", "STAGES", "STEPS"},
Type: "string",
Mandatory: true,
Default: os.Getenv("PIPER_addonDescriptor"),
Aliases: []config.Alias{},
},
{
@ -257,7 +245,6 @@ func abapEnvironmentAssembleConfirmMetadata() config.StepData {
Scope: []string{"PARAMETERS", "STAGES", "STEPS"},
Type: "int",
Mandatory: true,
Default: 360,
Aliases: []config.Alias{},
},
},

View File

@ -165,9 +165,6 @@ func abapEnvironmentAssemblePackagesMetadata() config.StepData {
},
Spec: config.StepSpec{
Inputs: config.StepInputs{
Secrets: []config.StepSecrets{
{Name: "abapCredentialsId", Description: "Jenkins credentials ID containing user and password to authenticate to the Cloud Platform ABAP Environment system or the Cloud Foundry API", Type: "jenkins", Aliases: []config.Alias{{Name: "cfCredentialsId", Deprecated: false}, {Name: "credentialsId", Deprecated: false}}},
},
Parameters: []config.StepParameters{
{
Name: "cfApiEndpoint",
@ -175,7 +172,6 @@ func abapEnvironmentAssemblePackagesMetadata() config.StepData {
Scope: []string{"PARAMETERS", "STAGES", "STEPS", "GENERAL"},
Type: "string",
Mandatory: false,
Default: os.Getenv("PIPER_cfApiEndpoint"),
Aliases: []config.Alias{{Name: "cloudFoundry/apiEndpoint"}},
},
{
@ -184,7 +180,6 @@ func abapEnvironmentAssemblePackagesMetadata() config.StepData {
Scope: []string{"PARAMETERS", "STAGES", "STEPS", "GENERAL"},
Type: "string",
Mandatory: false,
Default: os.Getenv("PIPER_cfOrg"),
Aliases: []config.Alias{{Name: "cloudFoundry/org"}},
},
{
@ -193,7 +188,6 @@ func abapEnvironmentAssemblePackagesMetadata() config.StepData {
Scope: []string{"PARAMETERS", "STAGES", "STEPS", "GENERAL"},
Type: "string",
Mandatory: false,
Default: os.Getenv("PIPER_cfSpace"),
Aliases: []config.Alias{{Name: "cloudFoundry/space"}},
},
{
@ -202,7 +196,6 @@ func abapEnvironmentAssemblePackagesMetadata() config.StepData {
Scope: []string{"PARAMETERS", "STAGES", "STEPS", "GENERAL"},
Type: "string",
Mandatory: false,
Default: os.Getenv("PIPER_cfServiceInstance"),
Aliases: []config.Alias{{Name: "cloudFoundry/serviceInstance"}},
},
{
@ -211,7 +204,6 @@ func abapEnvironmentAssemblePackagesMetadata() config.StepData {
Scope: []string{"PARAMETERS", "STAGES", "STEPS", "GENERAL"},
Type: "string",
Mandatory: false,
Default: os.Getenv("PIPER_cfServiceKeyName"),
Aliases: []config.Alias{{Name: "cloudFoundry/serviceKey"}, {Name: "cloudFoundry/serviceKeyName"}, {Name: "cfServiceKey"}},
},
{
@ -220,7 +212,6 @@ func abapEnvironmentAssemblePackagesMetadata() config.StepData {
Scope: []string{"PARAMETERS", "STAGES", "STEPS"},
Type: "string",
Mandatory: false,
Default: os.Getenv("PIPER_host"),
Aliases: []config.Alias{},
},
{
@ -229,7 +220,6 @@ func abapEnvironmentAssemblePackagesMetadata() config.StepData {
Scope: []string{"PARAMETERS", "STAGES", "STEPS"},
Type: "string",
Mandatory: true,
Default: os.Getenv("PIPER_username"),
Aliases: []config.Alias{},
},
{
@ -238,7 +228,6 @@ func abapEnvironmentAssemblePackagesMetadata() config.StepData {
Scope: []string{"PARAMETERS", "STAGES", "STEPS"},
Type: "string",
Mandatory: true,
Default: os.Getenv("PIPER_password"),
Aliases: []config.Alias{},
},
{
@ -252,7 +241,6 @@ func abapEnvironmentAssemblePackagesMetadata() config.StepData {
Scope: []string{"PARAMETERS", "STAGES", "STEPS"},
Type: "string",
Mandatory: true,
Default: os.Getenv("PIPER_addonDescriptor"),
Aliases: []config.Alias{},
},
{
@ -261,7 +249,6 @@ func abapEnvironmentAssemblePackagesMetadata() config.StepData {
Scope: []string{"PARAMETERS", "STAGES", "STEPS"},
Type: "int",
Mandatory: true,
Default: 360,
Aliases: []config.Alias{},
},
{
@ -270,7 +257,6 @@ func abapEnvironmentAssemblePackagesMetadata() config.StepData {
Scope: []string{"PARAMETERS", "STAGES", "STEPS"},
Type: "int",
Mandatory: true,
Default: 60000,
Aliases: []config.Alias{},
},
},

View File

@ -134,9 +134,6 @@ func abapEnvironmentCheckoutBranchMetadata() config.StepData {
},
Spec: config.StepSpec{
Inputs: config.StepInputs{
Secrets: []config.StepSecrets{
{Name: "abapCredentialsId", Description: "Jenkins credentials ID containing user and password to authenticate to the Cloud Platform ABAP Environment system or the Cloud Foundry API", Type: "jenkins", Aliases: []config.Alias{{Name: "cfCredentialsId", Deprecated: false}, {Name: "credentialsId", Deprecated: false}}},
},
Parameters: []config.StepParameters{
{
Name: "username",
@ -150,7 +147,6 @@ func abapEnvironmentCheckoutBranchMetadata() config.StepData {
Scope: []string{"PARAMETERS", "STAGES", "STEPS"},
Type: "string",
Mandatory: true,
Default: os.Getenv("PIPER_username"),
Aliases: []config.Alias{},
},
{
@ -165,7 +161,6 @@ func abapEnvironmentCheckoutBranchMetadata() config.StepData {
Scope: []string{"PARAMETERS", "STAGES", "STEPS"},
Type: "string",
Mandatory: true,
Default: os.Getenv("PIPER_password"),
Aliases: []config.Alias{},
},
{
@ -174,7 +169,6 @@ func abapEnvironmentCheckoutBranchMetadata() config.StepData {
Scope: []string{"PARAMETERS", "STAGES", "STEPS"},
Type: "string",
Mandatory: false,
Default: os.Getenv("PIPER_repositoryName"),
Aliases: []config.Alias{},
},
{
@ -183,7 +177,6 @@ func abapEnvironmentCheckoutBranchMetadata() config.StepData {
Scope: []string{"PARAMETERS", "STAGES", "STEPS"},
Type: "string",
Mandatory: false,
Default: os.Getenv("PIPER_branchName"),
Aliases: []config.Alias{},
},
{
@ -192,7 +185,6 @@ func abapEnvironmentCheckoutBranchMetadata() config.StepData {
Scope: []string{"PARAMETERS", "STAGES", "STEPS", "GENERAL"},
Type: "string",
Mandatory: false,
Default: os.Getenv("PIPER_host"),
Aliases: []config.Alias{},
},
{
@ -201,7 +193,6 @@ func abapEnvironmentCheckoutBranchMetadata() config.StepData {
Scope: []string{"GENERAL", "PARAMETERS", "STAGES", "STEPS"},
Type: "string",
Mandatory: false,
Default: os.Getenv("PIPER_repositories"),
Aliases: []config.Alias{},
},
{
@ -210,7 +201,6 @@ func abapEnvironmentCheckoutBranchMetadata() config.StepData {
Scope: []string{"PARAMETERS", "STAGES", "STEPS", "GENERAL"},
Type: "string",
Mandatory: false,
Default: os.Getenv("PIPER_cfApiEndpoint"),
Aliases: []config.Alias{{Name: "cloudFoundry/apiEndpoint"}},
},
{
@ -219,7 +209,6 @@ func abapEnvironmentCheckoutBranchMetadata() config.StepData {
Scope: []string{"PARAMETERS", "STAGES", "STEPS", "GENERAL"},
Type: "string",
Mandatory: false,
Default: os.Getenv("PIPER_cfOrg"),
Aliases: []config.Alias{{Name: "cloudFoundry/org"}},
},
{
@ -228,7 +217,6 @@ func abapEnvironmentCheckoutBranchMetadata() config.StepData {
Scope: []string{"PARAMETERS", "STAGES", "STEPS", "GENERAL"},
Type: "string",
Mandatory: false,
Default: os.Getenv("PIPER_cfSpace"),
Aliases: []config.Alias{{Name: "cloudFoundry/space"}},
},
{
@ -237,7 +225,6 @@ func abapEnvironmentCheckoutBranchMetadata() config.StepData {
Scope: []string{"PARAMETERS", "STAGES", "STEPS", "GENERAL"},
Type: "string",
Mandatory: false,
Default: os.Getenv("PIPER_cfServiceInstance"),
Aliases: []config.Alias{{Name: "cloudFoundry/serviceInstance"}},
},
{
@ -246,7 +233,6 @@ func abapEnvironmentCheckoutBranchMetadata() config.StepData {
Scope: []string{"PARAMETERS", "STAGES", "STEPS", "GENERAL"},
Type: "string",
Mandatory: false,
Default: os.Getenv("PIPER_cfServiceKeyName"),
Aliases: []config.Alias{{Name: "cloudFoundry/serviceKey"}, {Name: "cloudFoundry/serviceKeyName"}, {Name: "cfServiceKeyName"}},
},
},

View File

@ -134,9 +134,6 @@ func abapEnvironmentCloneGitRepoMetadata() config.StepData {
},
Spec: config.StepSpec{
Inputs: config.StepInputs{
Secrets: []config.StepSecrets{
{Name: "abapCredentialsId", Description: "Jenkins credentials ID containing user and password to authenticate to the Cloud Platform ABAP Environment system or the Cloud Foundry API", Type: "jenkins", Aliases: []config.Alias{{Name: "cfCredentialsId", Deprecated: false}, {Name: "credentialsId", Deprecated: false}}},
},
Parameters: []config.StepParameters{
{
Name: "username",
@ -150,7 +147,6 @@ func abapEnvironmentCloneGitRepoMetadata() config.StepData {
Scope: []string{"PARAMETERS", "STAGES", "STEPS"},
Type: "string",
Mandatory: true,
Default: os.Getenv("PIPER_username"),
Aliases: []config.Alias{},
},
{
@ -165,7 +161,6 @@ func abapEnvironmentCloneGitRepoMetadata() config.StepData {
Scope: []string{"PARAMETERS", "STAGES", "STEPS"},
Type: "string",
Mandatory: true,
Default: os.Getenv("PIPER_password"),
Aliases: []config.Alias{},
},
{
@ -174,7 +169,6 @@ func abapEnvironmentCloneGitRepoMetadata() config.StepData {
Scope: []string{"GENERAL", "PARAMETERS", "STAGES", "STEPS"},
Type: "string",
Mandatory: false,
Default: os.Getenv("PIPER_repositories"),
Aliases: []config.Alias{},
},
{
@ -183,7 +177,6 @@ func abapEnvironmentCloneGitRepoMetadata() config.StepData {
Scope: []string{"PARAMETERS", "STAGES", "STEPS"},
Type: "string",
Mandatory: false,
Default: os.Getenv("PIPER_repositoryName"),
Aliases: []config.Alias{},
},
{
@ -192,7 +185,6 @@ func abapEnvironmentCloneGitRepoMetadata() config.StepData {
Scope: []string{"PARAMETERS", "STAGES", "STEPS"},
Type: "string",
Mandatory: false,
Default: os.Getenv("PIPER_branchName"),
Aliases: []config.Alias{},
},
{
@ -201,7 +193,6 @@ func abapEnvironmentCloneGitRepoMetadata() config.StepData {
Scope: []string{"PARAMETERS", "STAGES", "STEPS", "GENERAL"},
Type: "string",
Mandatory: false,
Default: os.Getenv("PIPER_host"),
Aliases: []config.Alias{},
},
{
@ -210,7 +201,6 @@ func abapEnvironmentCloneGitRepoMetadata() config.StepData {
Scope: []string{"PARAMETERS", "STAGES", "STEPS", "GENERAL"},
Type: "string",
Mandatory: false,
Default: os.Getenv("PIPER_cfApiEndpoint"),
Aliases: []config.Alias{{Name: "cloudFoundry/apiEndpoint"}},
},
{
@ -219,7 +209,6 @@ func abapEnvironmentCloneGitRepoMetadata() config.StepData {
Scope: []string{"PARAMETERS", "STAGES", "STEPS", "GENERAL"},
Type: "string",
Mandatory: false,
Default: os.Getenv("PIPER_cfOrg"),
Aliases: []config.Alias{{Name: "cloudFoundry/org"}},
},
{
@ -228,7 +217,6 @@ func abapEnvironmentCloneGitRepoMetadata() config.StepData {
Scope: []string{"PARAMETERS", "STAGES", "STEPS", "GENERAL"},
Type: "string",
Mandatory: false,
Default: os.Getenv("PIPER_cfSpace"),
Aliases: []config.Alias{{Name: "cloudFoundry/space"}},
},
{
@ -237,7 +225,6 @@ func abapEnvironmentCloneGitRepoMetadata() config.StepData {
Scope: []string{"PARAMETERS", "STAGES", "STEPS", "GENERAL"},
Type: "string",
Mandatory: false,
Default: os.Getenv("PIPER_cfServiceInstance"),
Aliases: []config.Alias{{Name: "cloudFoundry/serviceInstance"}},
},
{
@ -246,7 +233,6 @@ func abapEnvironmentCloneGitRepoMetadata() config.StepData {
Scope: []string{"PARAMETERS", "STAGES", "STEPS", "GENERAL"},
Type: "string",
Mandatory: false,
Default: os.Getenv("PIPER_cfServiceKeyName"),
Aliases: []config.Alias{{Name: "cloudFoundry/serviceKey"}, {Name: "cloudFoundry/serviceKeyName"}, {Name: "cfServiceKey"}},
},
},

View File

@ -144,9 +144,6 @@ func abapEnvironmentCreateSystemMetadata() config.StepData {
},
Spec: config.StepSpec{
Inputs: config.StepInputs{
Secrets: []config.StepSecrets{
{Name: "cfCredentialsId", Description: "Jenkins 'Username with password' credentials ID containing user and password to authenticate to the Cloud Foundry API.", Type: "jenkins", Aliases: []config.Alias{{Name: "cloudFoundry/credentialsId", Deprecated: false}}},
},
Parameters: []config.StepParameters{
{
Name: "cfApiEndpoint",
@ -154,7 +151,6 @@ func abapEnvironmentCreateSystemMetadata() config.StepData {
Scope: []string{"PARAMETERS", "STAGES", "STEPS", "GENERAL"},
Type: "string",
Mandatory: true,
Default: `https://api.cf.eu10.hana.ondemand.com`,
Aliases: []config.Alias{{Name: "cloudFoundry/apiEndpoint"}},
},
{
@ -175,7 +171,6 @@ func abapEnvironmentCreateSystemMetadata() config.StepData {
Scope: []string{"PARAMETERS", "STAGES", "STEPS"},
Type: "string",
Mandatory: true,
Default: os.Getenv("PIPER_username"),
Aliases: []config.Alias{},
},
{
@ -196,7 +191,6 @@ func abapEnvironmentCreateSystemMetadata() config.StepData {
Scope: []string{"PARAMETERS", "STAGES", "STEPS"},
Type: "string",
Mandatory: true,
Default: os.Getenv("PIPER_password"),
Aliases: []config.Alias{},
},
{
@ -205,7 +199,6 @@ func abapEnvironmentCreateSystemMetadata() config.StepData {
Scope: []string{"PARAMETERS", "STAGES", "STEPS", "GENERAL"},
Type: "string",
Mandatory: true,
Default: os.Getenv("PIPER_cfOrg"),
Aliases: []config.Alias{{Name: "cloudFoundry/org"}},
},
{
@ -214,7 +207,6 @@ func abapEnvironmentCreateSystemMetadata() config.StepData {
Scope: []string{"PARAMETERS", "STAGES", "STEPS", "GENERAL"},
Type: "string",
Mandatory: true,
Default: os.Getenv("PIPER_cfSpace"),
Aliases: []config.Alias{{Name: "cloudFoundry/space"}},
},
{
@ -223,7 +215,6 @@ func abapEnvironmentCreateSystemMetadata() config.StepData {
Scope: []string{"PARAMETERS", "STAGES", "STEPS", "GENERAL"},
Type: "string",
Mandatory: false,
Default: os.Getenv("PIPER_cfService"),
Aliases: []config.Alias{{Name: "cloudFoundry/service"}},
},
{
@ -232,7 +223,6 @@ func abapEnvironmentCreateSystemMetadata() config.StepData {
Scope: []string{"PARAMETERS", "STAGES", "STEPS", "GENERAL"},
Type: "string",
Mandatory: false,
Default: os.Getenv("PIPER_cfServicePlan"),
Aliases: []config.Alias{{Name: "cloudFoundry/servicePlan"}},
},
{
@ -241,7 +231,6 @@ func abapEnvironmentCreateSystemMetadata() config.StepData {
Scope: []string{"PARAMETERS", "STAGES", "STEPS", "GENERAL"},
Type: "string",
Mandatory: false,
Default: os.Getenv("PIPER_cfServiceInstance"),
Aliases: []config.Alias{{Name: "cloudFoundry/serviceInstance"}},
},
{
@ -250,7 +239,6 @@ func abapEnvironmentCreateSystemMetadata() config.StepData {
Scope: []string{"PARAMETERS", "STAGES", "STEPS", "GENERAL"},
Type: "string",
Mandatory: false,
Default: os.Getenv("PIPER_serviceManifest"),
Aliases: []config.Alias{{Name: "cloudFoundry/serviceManifest"}, {Name: "cfServiceManifest"}},
},
{
@ -259,7 +247,6 @@ func abapEnvironmentCreateSystemMetadata() config.StepData {
Scope: []string{"PARAMETERS", "STAGES", "STEPS", "GENERAL"},
Type: "string",
Mandatory: false,
Default: os.Getenv("PIPER_abapSystemAdminEmail"),
Aliases: []config.Alias{},
},
{
@ -268,7 +255,6 @@ func abapEnvironmentCreateSystemMetadata() config.StepData {
Scope: []string{"PARAMETERS", "STAGES", "STEPS", "GENERAL"},
Type: "string",
Mandatory: false,
Default: `Test system created by an automated pipeline`,
Aliases: []config.Alias{},
},
{
@ -277,7 +263,6 @@ func abapEnvironmentCreateSystemMetadata() config.StepData {
Scope: []string{"PARAMETERS", "STAGES", "STEPS", "GENERAL"},
Type: "bool",
Mandatory: false,
Default: true,
Aliases: []config.Alias{},
},
{
@ -286,7 +271,6 @@ func abapEnvironmentCreateSystemMetadata() config.StepData {
Scope: []string{"PARAMETERS", "STAGES", "STEPS", "GENERAL"},
Type: "string",
Mandatory: false,
Default: `H02`,
Aliases: []config.Alias{},
},
{
@ -295,7 +279,6 @@ func abapEnvironmentCreateSystemMetadata() config.StepData {
Scope: []string{"PARAMETERS", "STAGES", "STEPS", "GENERAL"},
Type: "int",
Mandatory: false,
Default: 0,
Aliases: []config.Alias{},
},
{
@ -304,7 +287,6 @@ func abapEnvironmentCreateSystemMetadata() config.StepData {
Scope: []string{"PARAMETERS", "STAGES", "STEPS", "GENERAL"},
Type: "int",
Mandatory: false,
Default: 0,
Aliases: []config.Alias{},
},
{
@ -313,7 +295,6 @@ func abapEnvironmentCreateSystemMetadata() config.StepData {
Scope: []string{"PARAMETERS", "STAGES", "STEPS", "GENERAL"},
Type: "string",
Mandatory: false,
Default: os.Getenv("PIPER_addonDescriptorFileName"),
Aliases: []config.Alias{},
},
{
@ -322,7 +303,6 @@ func abapEnvironmentCreateSystemMetadata() config.StepData {
Scope: []string{"PARAMETERS", "STAGES"},
Type: "bool",
Mandatory: false,
Default: false,
Aliases: []config.Alias{},
},
},

View File

@ -134,9 +134,6 @@ func abapEnvironmentPullGitRepoMetadata() config.StepData {
},
Spec: config.StepSpec{
Inputs: config.StepInputs{
Secrets: []config.StepSecrets{
{Name: "abapCredentialsId", Description: "Jenkins credentials ID containing user and password to authenticate to the Cloud Platform ABAP Environment system or the Cloud Foundry API", Type: "jenkins", Aliases: []config.Alias{{Name: "cfCredentialsId", Deprecated: false}, {Name: "credentialsId", Deprecated: false}}},
},
Parameters: []config.StepParameters{
{
Name: "username",
@ -150,7 +147,6 @@ func abapEnvironmentPullGitRepoMetadata() config.StepData {
Scope: []string{"PARAMETERS", "STAGES", "STEPS"},
Type: "string",
Mandatory: true,
Default: os.Getenv("PIPER_username"),
Aliases: []config.Alias{},
},
{
@ -165,7 +161,6 @@ func abapEnvironmentPullGitRepoMetadata() config.StepData {
Scope: []string{"PARAMETERS", "STAGES", "STEPS"},
Type: "string",
Mandatory: true,
Default: os.Getenv("PIPER_password"),
Aliases: []config.Alias{},
},
{
@ -174,7 +169,6 @@ func abapEnvironmentPullGitRepoMetadata() config.StepData {
Scope: []string{"PARAMETERS", "STAGES", "STEPS"},
Type: "[]string",
Mandatory: false,
Default: []string{},
Aliases: []config.Alias{},
},
{
@ -183,7 +177,6 @@ func abapEnvironmentPullGitRepoMetadata() config.StepData {
Scope: []string{"GENERAL", "PARAMETERS", "STAGES", "STEPS"},
Type: "string",
Mandatory: false,
Default: os.Getenv("PIPER_repositories"),
Aliases: []config.Alias{},
},
{
@ -192,7 +185,6 @@ func abapEnvironmentPullGitRepoMetadata() config.StepData {
Scope: []string{"PARAMETERS", "STAGES", "STEPS", "GENERAL"},
Type: "string",
Mandatory: false,
Default: os.Getenv("PIPER_host"),
Aliases: []config.Alias{},
},
{
@ -201,7 +193,6 @@ func abapEnvironmentPullGitRepoMetadata() config.StepData {
Scope: []string{"PARAMETERS", "STAGES", "STEPS", "GENERAL"},
Type: "string",
Mandatory: false,
Default: os.Getenv("PIPER_cfApiEndpoint"),
Aliases: []config.Alias{{Name: "cloudFoundry/apiEndpoint"}},
},
{
@ -210,7 +201,6 @@ func abapEnvironmentPullGitRepoMetadata() config.StepData {
Scope: []string{"PARAMETERS", "STAGES", "STEPS", "GENERAL"},
Type: "string",
Mandatory: false,
Default: os.Getenv("PIPER_cfOrg"),
Aliases: []config.Alias{{Name: "cloudFoundry/org"}},
},
{
@ -219,7 +209,6 @@ func abapEnvironmentPullGitRepoMetadata() config.StepData {
Scope: []string{"PARAMETERS", "STAGES", "STEPS", "GENERAL"},
Type: "string",
Mandatory: false,
Default: os.Getenv("PIPER_cfSpace"),
Aliases: []config.Alias{{Name: "cloudFoundry/space"}},
},
{
@ -228,7 +217,6 @@ func abapEnvironmentPullGitRepoMetadata() config.StepData {
Scope: []string{"PARAMETERS", "STAGES", "STEPS", "GENERAL"},
Type: "string",
Mandatory: false,
Default: os.Getenv("PIPER_cfServiceInstance"),
Aliases: []config.Alias{{Name: "cloudFoundry/serviceInstance"}},
},
{
@ -237,7 +225,6 @@ func abapEnvironmentPullGitRepoMetadata() config.StepData {
Scope: []string{"PARAMETERS", "STAGES", "STEPS", "GENERAL"},
Type: "string",
Mandatory: false,
Default: os.Getenv("PIPER_cfServiceKeyName"),
Aliases: []config.Alias{{Name: "cloudFoundry/serviceKey"}, {Name: "cloudFoundry/serviceKeyName"}, {Name: "cfServiceKey"}},
},
{
@ -246,7 +233,6 @@ func abapEnvironmentPullGitRepoMetadata() config.StepData {
Scope: []string{"PARAMETERS"},
Type: "bool",
Mandatory: false,
Default: false,
Aliases: []config.Alias{},
},
},

View File

@ -137,9 +137,6 @@ func abapEnvironmentRunATCCheckMetadata() config.StepData {
},
Spec: config.StepSpec{
Inputs: config.StepInputs{
Secrets: []config.StepSecrets{
{Name: "abapCredentialsId", Description: "Jenkins credentials ID containing user and password to authenticate to the Cloud Platform ABAP Environment system or the Cloud Foundry API", Type: "jenkins", Aliases: []config.Alias{{Name: "cfCredentialsId", Deprecated: false}}},
},
Parameters: []config.StepParameters{
{
Name: "atcConfig",
@ -147,7 +144,6 @@ func abapEnvironmentRunATCCheckMetadata() config.StepData {
Scope: []string{"PARAMETERS", "STAGES", "STEPS"},
Type: "string",
Mandatory: true,
Default: os.Getenv("PIPER_atcConfig"),
Aliases: []config.Alias{},
},
{
@ -156,7 +152,6 @@ func abapEnvironmentRunATCCheckMetadata() config.StepData {
Scope: []string{"PARAMETERS", "STAGES", "STEPS", "GENERAL"},
Type: "string",
Mandatory: false,
Default: os.Getenv("PIPER_cfApiEndpoint"),
Aliases: []config.Alias{{Name: "cloudFoundry/apiEndpoint"}},
},
{
@ -165,7 +160,6 @@ func abapEnvironmentRunATCCheckMetadata() config.StepData {
Scope: []string{"PARAMETERS", "STAGES", "STEPS", "GENERAL"},
Type: "string",
Mandatory: false,
Default: os.Getenv("PIPER_cfOrg"),
Aliases: []config.Alias{{Name: "cloudFoundry/org"}},
},
{
@ -174,7 +168,6 @@ func abapEnvironmentRunATCCheckMetadata() config.StepData {
Scope: []string{"PARAMETERS", "STAGES", "STEPS", "GENERAL"},
Type: "string",
Mandatory: false,
Default: os.Getenv("PIPER_cfServiceInstance"),
Aliases: []config.Alias{{Name: "cloudFoundry/serviceInstance"}},
},
{
@ -183,7 +176,6 @@ func abapEnvironmentRunATCCheckMetadata() config.StepData {
Scope: []string{"PARAMETERS", "STAGES", "STEPS", "GENERAL"},
Type: "string",
Mandatory: false,
Default: os.Getenv("PIPER_cfServiceKeyName"),
Aliases: []config.Alias{{Name: "cloudFoundry/serviceKey"}, {Name: "cloudFoundry/serviceKeyName"}, {Name: "cfServiceKey"}},
},
{
@ -192,7 +184,6 @@ func abapEnvironmentRunATCCheckMetadata() config.StepData {
Scope: []string{"PARAMETERS", "STAGES", "STEPS", "GENERAL"},
Type: "string",
Mandatory: false,
Default: os.Getenv("PIPER_cfSpace"),
Aliases: []config.Alias{{Name: "cloudFoundry/space"}},
},
{
@ -207,7 +198,6 @@ func abapEnvironmentRunATCCheckMetadata() config.StepData {
Scope: []string{"PARAMETERS", "STAGES", "STEPS"},
Type: "string",
Mandatory: true,
Default: os.Getenv("PIPER_username"),
Aliases: []config.Alias{},
},
{
@ -222,7 +212,6 @@ func abapEnvironmentRunATCCheckMetadata() config.StepData {
Scope: []string{"PARAMETERS", "STAGES", "STEPS"},
Type: "string",
Mandatory: true,
Default: os.Getenv("PIPER_password"),
Aliases: []config.Alias{},
},
{
@ -231,7 +220,6 @@ func abapEnvironmentRunATCCheckMetadata() config.StepData {
Scope: []string{"PARAMETERS", "STAGES", "STEPS", "GENERAL"},
Type: "string",
Mandatory: false,
Default: os.Getenv("PIPER_host"),
Aliases: []config.Alias{},
},
{
@ -240,7 +228,6 @@ func abapEnvironmentRunATCCheckMetadata() config.StepData {
Scope: []string{"PARAMETERS", "STAGES", "STEPS"},
Type: "string",
Mandatory: false,
Default: `ATCResults.xml`,
Aliases: []config.Alias{},
},
{
@ -249,7 +236,6 @@ func abapEnvironmentRunATCCheckMetadata() config.StepData {
Scope: []string{"PARAMETERS", "STAGES", "STEPS"},
Type: "bool",
Mandatory: false,
Default: false,
Aliases: []config.Alias{},
},
},

View File

@ -252,10 +252,6 @@ func artifactPrepareVersionMetadata() config.StepData {
},
Spec: config.StepSpec{
Inputs: config.StepInputs{
Secrets: []config.StepSecrets{
{Name: "gitHttpsCredentialsId", Description: "Jenkins 'Username with password' credentials ID containing username/password for http access to your git repository.", Type: "jenkins"},
{Name: "gitSshKeyCredentialsId", Description: "Jenkins 'SSH Username with private key' credentials ID ssh key for accessing your git repository. You can find details about how to generate an ssh key in the [GitHub documentation](https://docs.github.com/en/enterprise/2.15/user/articles/generating-a-new-ssh-key-and-adding-it-to-the-ssh-agent).", Type: "jenkins", Aliases: []config.Alias{{Name: "gitCredentialsId", Deprecated: true}}},
},
Parameters: []config.StepParameters{
{
Name: "buildTool",
@ -263,7 +259,6 @@ func artifactPrepareVersionMetadata() config.StepData {
Scope: []string{"GENERAL", "PARAMETERS", "STAGES", "STEPS"},
Type: "string",
Mandatory: true,
Default: os.Getenv("PIPER_buildTool"),
Aliases: []config.Alias{},
},
{
@ -272,7 +267,6 @@ func artifactPrepareVersionMetadata() config.StepData {
Scope: []string{"PARAMETERS", "STAGES", "STEPS"},
Type: "string",
Mandatory: false,
Default: `Project Piper`,
Aliases: []config.Alias{{Name: "gitUserName"}},
},
{
@ -281,7 +275,6 @@ func artifactPrepareVersionMetadata() config.StepData {
Scope: []string{"PARAMETERS", "STAGES", "STEPS"},
Type: "string",
Mandatory: false,
Default: os.Getenv("PIPER_customVersionField"),
Aliases: []config.Alias{},
},
{
@ -290,7 +283,6 @@ func artifactPrepareVersionMetadata() config.StepData {
Scope: []string{"PARAMETERS", "STAGES", "STEPS"},
Type: "string",
Mandatory: false,
Default: os.Getenv("PIPER_customVersionSection"),
Aliases: []config.Alias{},
},
{
@ -299,7 +291,6 @@ func artifactPrepareVersionMetadata() config.StepData {
Scope: []string{"PARAMETERS", "STAGES", "STEPS"},
Type: "string",
Mandatory: false,
Default: os.Getenv("PIPER_customVersioningScheme"),
Aliases: []config.Alias{},
},
{
@ -308,7 +299,6 @@ func artifactPrepareVersionMetadata() config.StepData {
Scope: []string{"PARAMETERS", "STAGES", "STEPS"},
Type: "string",
Mandatory: false,
Default: os.Getenv("PIPER_dockerVersionSource"),
Aliases: []config.Alias{},
},
{
@ -317,7 +307,6 @@ func artifactPrepareVersionMetadata() config.StepData {
Scope: []string{"PARAMETERS", "STAGES", "STEPS"},
Type: "bool",
Mandatory: false,
Default: false,
Aliases: []config.Alias{},
},
{
@ -326,7 +315,6 @@ func artifactPrepareVersionMetadata() config.StepData {
Scope: []string{"PARAMETERS", "STAGES", "STEPS"},
Type: "string",
Mandatory: false,
Default: os.Getenv("PIPER_filePath"),
Aliases: []config.Alias{},
},
{
@ -335,7 +323,6 @@ func artifactPrepareVersionMetadata() config.StepData {
Scope: []string{"GENERAL", "STEPS", "STAGES", "PARAMETERS"},
Type: "string",
Mandatory: false,
Default: os.Getenv("PIPER_globalSettingsFile"),
Aliases: []config.Alias{{Name: "maven/globalSettingsFile"}},
},
{
@ -344,7 +331,6 @@ func artifactPrepareVersionMetadata() config.StepData {
Scope: []string{"PARAMETERS", "STAGES", "STEPS"},
Type: "bool",
Mandatory: false,
Default: true,
Aliases: []config.Alias{},
},
{
@ -353,7 +339,6 @@ func artifactPrepareVersionMetadata() config.StepData {
Scope: []string{"GENERAL", "STEPS", "STAGES", "PARAMETERS"},
Type: "string",
Mandatory: false,
Default: os.Getenv("PIPER_m2Path"),
Aliases: []config.Alias{{Name: "maven/m2Path"}},
},
{
@ -374,7 +359,6 @@ func artifactPrepareVersionMetadata() config.StepData {
Scope: []string{"PARAMETERS", "STAGES", "STEPS"},
Type: "string",
Mandatory: false,
Default: os.Getenv("PIPER_password"),
Aliases: []config.Alias{},
},
{
@ -383,7 +367,6 @@ func artifactPrepareVersionMetadata() config.StepData {
Scope: []string{"GENERAL", "STEPS", "STAGES", "PARAMETERS"},
Type: "string",
Mandatory: false,
Default: os.Getenv("PIPER_projectSettingsFile"),
Aliases: []config.Alias{{Name: "maven/projectSettingsFile"}},
},
{
@ -392,7 +375,6 @@ func artifactPrepareVersionMetadata() config.StepData {
Scope: []string{"STEPS", "STAGES", "PARAMETERS"},
Type: "bool",
Mandatory: false,
Default: false,
Aliases: []config.Alias{},
},
{
@ -401,7 +383,6 @@ func artifactPrepareVersionMetadata() config.StepData {
Scope: []string{"PARAMETERS", "STAGES", "STEPS"},
Type: "string",
Mandatory: false,
Default: `build_`,
Aliases: []config.Alias{},
},
{
@ -410,7 +391,6 @@ func artifactPrepareVersionMetadata() config.StepData {
Scope: []string{"STEPS", "STAGES", "PARAMETERS"},
Type: "bool",
Mandatory: false,
Default: false,
Aliases: []config.Alias{},
},
{
@ -431,7 +411,6 @@ func artifactPrepareVersionMetadata() config.StepData {
Scope: []string{"PARAMETERS", "STAGES", "STEPS"},
Type: "string",
Mandatory: false,
Default: os.Getenv("PIPER_username"),
Aliases: []config.Alias{},
},
{
@ -440,7 +419,6 @@ func artifactPrepareVersionMetadata() config.StepData {
Scope: []string{"PARAMETERS", "STAGES", "STEPS"},
Type: "string",
Mandatory: false,
Default: os.Getenv("PIPER_versioningTemplate"),
Aliases: []config.Alias{},
},
{
@ -449,7 +427,6 @@ func artifactPrepareVersionMetadata() config.StepData {
Scope: []string{"PARAMETERS", "STAGES", "STEPS"},
Type: "string",
Mandatory: false,
Default: `cloud`,
Aliases: []config.Alias{},
},
},

View File

@ -160,7 +160,6 @@ func batsExecuteTestsMetadata() config.StepData {
Scope: []string{"STEPS", "STAGES", "PARAMETERS"},
Type: "string",
Mandatory: false,
Default: `junit`,
Aliases: []config.Alias{},
},
{
@ -169,7 +168,6 @@ func batsExecuteTestsMetadata() config.StepData {
Scope: []string{"STEPS", "STAGES", "PARAMETERS"},
Type: "string",
Mandatory: false,
Default: `https://github.com/bats-core/bats-core.git`,
Aliases: []config.Alias{},
},
{
@ -178,7 +176,6 @@ func batsExecuteTestsMetadata() config.StepData {
Scope: []string{"STEPS", "STAGES", "PARAMETERS"},
Type: "string",
Mandatory: false,
Default: `piper-bats`,
Aliases: []config.Alias{},
},
{
@ -187,7 +184,6 @@ func batsExecuteTestsMetadata() config.StepData {
Scope: []string{"STEPS", "STAGES", "PARAMETERS"},
Type: "string",
Mandatory: false,
Default: `src/test`,
Aliases: []config.Alias{},
},
{
@ -196,7 +192,6 @@ func batsExecuteTestsMetadata() config.StepData {
Scope: []string{"STEPS", "STAGES", "PARAMETERS"},
Type: "[]string",
Mandatory: false,
Default: []string{},
Aliases: []config.Alias{},
},
},

View File

@ -128,7 +128,6 @@ func checkChangeInDevelopmentMetadata() config.StepData {
Scope: []string{"PARAMETERS", "STAGES", "STEPS", "GENERAL"},
Type: "string",
Mandatory: true,
Default: os.Getenv("PIPER_endpoint"),
Aliases: []config.Alias{{Name: "changeManagement/endpoint"}},
},
{
@ -137,7 +136,6 @@ func checkChangeInDevelopmentMetadata() config.StepData {
Scope: []string{"PARAMETERS", "STAGES", "STEPS", "GENERAL"},
Type: "string",
Mandatory: true,
Default: os.Getenv("PIPER_username"),
Aliases: []config.Alias{},
},
{
@ -146,7 +144,6 @@ func checkChangeInDevelopmentMetadata() config.StepData {
Scope: []string{"PARAMETERS", "GENERAL"},
Type: "string",
Mandatory: true,
Default: os.Getenv("PIPER_password"),
Aliases: []config.Alias{},
},
{
@ -155,7 +152,6 @@ func checkChangeInDevelopmentMetadata() config.StepData {
Scope: []string{"PARAMETERS", "STAGES", "STEPS"},
Type: "string",
Mandatory: true,
Default: os.Getenv("PIPER_changeDocumentId"),
Aliases: []config.Alias{},
},
{
@ -164,7 +160,6 @@ func checkChangeInDevelopmentMetadata() config.StepData {
Scope: []string{"PARAMETERS", "STAGES", "STEPS"},
Type: "bool",
Mandatory: false,
Default: true,
Aliases: []config.Alias{},
},
{
@ -173,7 +168,6 @@ func checkChangeInDevelopmentMetadata() config.StepData {
Scope: []string{"PARAMETERS", "STAGES", "STEPS"},
Type: "[]string",
Mandatory: false,
Default: []string{},
Aliases: []config.Alias{},
},
},

View File

@ -296,9 +296,6 @@ func checkmarxExecuteScanMetadata() config.StepData {
},
Spec: config.StepSpec{
Inputs: config.StepInputs{
Secrets: []config.StepSecrets{
{Name: "checkmarxCredentialsId", Description: "Jenkins 'Username with password' credentials ID containing username and password to communicate with the Checkmarx backend.", Type: "jenkins"},
},
Resources: []config.StepResources{
{Name: "checkmarx", Type: "stash"},
},
@ -309,7 +306,6 @@ func checkmarxExecuteScanMetadata() config.StepData {
Scope: []string{"PARAMETERS", "STAGES", "STEPS"},
Type: "bool",
Mandatory: false,
Default: true,
Aliases: []config.Alias{},
},
{
@ -318,7 +314,6 @@ func checkmarxExecuteScanMetadata() config.StepData {
Scope: []string{"PARAMETERS", "STAGES", "STEPS"},
Type: "string",
Mandatory: false,
Default: `!**/node_modules/**, !**/.xmake/**, !**/*_test.go, !**/vendor/**/*.go, **/*.html, **/*.xml, **/*.go, **/*.py, **/*.js, **/*.scala, **/*.ts`,
Aliases: []config.Alias{},
},
{
@ -327,7 +322,6 @@ func checkmarxExecuteScanMetadata() config.StepData {
Scope: []string{"PARAMETERS", "STAGES", "STEPS"},
Type: "string",
Mandatory: false,
Default: `5`,
Aliases: []config.Alias{},
},
{
@ -336,7 +330,6 @@ func checkmarxExecuteScanMetadata() config.StepData {
Scope: []string{"PARAMETERS", "STAGES", "STEPS"},
Type: "bool",
Mandatory: false,
Default: true,
Aliases: []config.Alias{},
},
{
@ -345,7 +338,6 @@ func checkmarxExecuteScanMetadata() config.StepData {
Scope: []string{"PARAMETERS", "STAGES", "STEPS"},
Type: "bool",
Mandatory: false,
Default: true,
Aliases: []config.Alias{},
},
{
@ -354,7 +346,6 @@ func checkmarxExecuteScanMetadata() config.StepData {
Scope: []string{"PARAMETERS", "STAGES", "STEPS"},
Type: "bool",
Mandatory: false,
Default: true,
Aliases: []config.Alias{},
},
{
@ -363,7 +354,6 @@ func checkmarxExecuteScanMetadata() config.StepData {
Scope: []string{"PARAMETERS", "STAGES", "STEPS"},
Type: "int",
Mandatory: false,
Default: 3,
Aliases: []config.Alias{},
},
{
@ -384,7 +374,6 @@ func checkmarxExecuteScanMetadata() config.StepData {
Scope: []string{"PARAMETERS", "STAGES", "STEPS"},
Type: "string",
Mandatory: true,
Default: os.Getenv("PIPER_password"),
Aliases: []config.Alias{},
},
{
@ -393,7 +382,6 @@ func checkmarxExecuteScanMetadata() config.StepData {
Scope: []string{"PARAMETERS", "STAGES", "STEPS"},
Type: "string",
Mandatory: false,
Default: os.Getenv("PIPER_preset"),
Aliases: []config.Alias{},
},
{
@ -402,7 +390,6 @@ func checkmarxExecuteScanMetadata() config.StepData {
Scope: []string{"PARAMETERS", "STAGES", "STEPS"},
Type: "string",
Mandatory: true,
Default: os.Getenv("PIPER_projectName"),
Aliases: []config.Alias{{Name: "checkmarxProject"}, {Name: "checkMarxProjectName"}},
},
{
@ -411,7 +398,6 @@ func checkmarxExecuteScanMetadata() config.StepData {
Scope: []string{"PARAMETERS", "STAGES", "STEPS"},
Type: "string",
Mandatory: false,
Default: os.Getenv("PIPER_pullRequestName"),
Aliases: []config.Alias{},
},
{
@ -420,7 +406,6 @@ func checkmarxExecuteScanMetadata() config.StepData {
Scope: []string{"GENERAL", "PARAMETERS", "STAGES", "STEPS"},
Type: "string",
Mandatory: true,
Default: os.Getenv("PIPER_serverUrl"),
Aliases: []config.Alias{{Name: "checkmarxServerUrl"}},
},
{
@ -429,7 +414,6 @@ func checkmarxExecuteScanMetadata() config.StepData {
Scope: []string{"PARAMETERS", "STAGES", "STEPS"},
Type: "string",
Mandatory: false,
Default: `1`,
Aliases: []config.Alias{},
},
{
@ -438,7 +422,6 @@ func checkmarxExecuteScanMetadata() config.StepData {
Scope: []string{"PARAMETERS", "STAGES", "STEPS"},
Type: "string",
Mandatory: false,
Default: os.Getenv("PIPER_teamId"),
Aliases: []config.Alias{{Name: "checkmarxGroupId"}, {Name: "groupId"}},
},
{
@ -447,7 +430,6 @@ func checkmarxExecuteScanMetadata() config.StepData {
Scope: []string{"PARAMETERS", "STAGES", "STEPS"},
Type: "string",
Mandatory: false,
Default: os.Getenv("PIPER_teamName"),
Aliases: []config.Alias{},
},
{
@ -468,7 +450,6 @@ func checkmarxExecuteScanMetadata() config.StepData {
Scope: []string{"PARAMETERS", "STAGES", "STEPS"},
Type: "string",
Mandatory: true,
Default: os.Getenv("PIPER_username"),
Aliases: []config.Alias{},
},
{
@ -477,7 +458,6 @@ func checkmarxExecuteScanMetadata() config.StepData {
Scope: []string{"PARAMETERS", "STAGES", "STEPS"},
Type: "bool",
Mandatory: false,
Default: false,
Aliases: []config.Alias{},
},
{
@ -486,7 +466,6 @@ func checkmarxExecuteScanMetadata() config.StepData {
Scope: []string{"PARAMETERS", "STAGES", "STEPS"},
Type: "bool",
Mandatory: false,
Default: true,
Aliases: []config.Alias{},
},
{
@ -495,7 +474,6 @@ func checkmarxExecuteScanMetadata() config.StepData {
Scope: []string{"PARAMETERS", "STAGES", "STEPS"},
Type: "int",
Mandatory: false,
Default: 100,
Aliases: []config.Alias{},
},
{
@ -504,7 +482,6 @@ func checkmarxExecuteScanMetadata() config.StepData {
Scope: []string{"PARAMETERS", "STAGES", "STEPS"},
Type: "int",
Mandatory: false,
Default: 10,
Aliases: []config.Alias{},
},
{
@ -513,7 +490,6 @@ func checkmarxExecuteScanMetadata() config.StepData {
Scope: []string{"PARAMETERS", "STAGES", "STEPS"},
Type: "int",
Mandatory: false,
Default: 100,
Aliases: []config.Alias{},
},
{
@ -522,7 +498,6 @@ func checkmarxExecuteScanMetadata() config.StepData {
Scope: []string{"PARAMETERS", "STAGES", "STEPS"},
Type: "string",
Mandatory: false,
Default: `FAILURE`,
Aliases: []config.Alias{},
},
{
@ -531,7 +506,6 @@ func checkmarxExecuteScanMetadata() config.StepData {
Scope: []string{"PARAMETERS", "STAGES", "STEPS"},
Type: "string",
Mandatory: false,
Default: `percentage`,
Aliases: []config.Alias{},
},
},

View File

@ -128,9 +128,6 @@ func cloudFoundryCreateServiceKeyMetadata() config.StepData {
},
Spec: config.StepSpec{
Inputs: config.StepInputs{
Secrets: []config.StepSecrets{
{Name: "cfCredentialsId", Description: "Jenkins 'Username with password' credentials ID containing user and password to authenticate to the Cloud Foundry API.", Type: "jenkins"},
},
Parameters: []config.StepParameters{
{
Name: "cfApiEndpoint",
@ -138,7 +135,6 @@ func cloudFoundryCreateServiceKeyMetadata() config.StepData {
Scope: []string{"PARAMETERS", "STAGES", "STEPS", "GENERAL"},
Type: "string",
Mandatory: true,
Default: os.Getenv("PIPER_cfApiEndpoint"),
Aliases: []config.Alias{{Name: "cloudFoundry/apiEndpoint"}},
},
{
@ -159,7 +155,6 @@ func cloudFoundryCreateServiceKeyMetadata() config.StepData {
Scope: []string{"PARAMETERS", "STAGES", "STEPS"},
Type: "string",
Mandatory: true,
Default: os.Getenv("PIPER_username"),
Aliases: []config.Alias{},
},
{
@ -180,7 +175,6 @@ func cloudFoundryCreateServiceKeyMetadata() config.StepData {
Scope: []string{"PARAMETERS", "STAGES", "STEPS"},
Type: "string",
Mandatory: true,
Default: os.Getenv("PIPER_password"),
Aliases: []config.Alias{},
},
{
@ -189,7 +183,6 @@ func cloudFoundryCreateServiceKeyMetadata() config.StepData {
Scope: []string{"PARAMETERS", "STAGES", "STEPS", "GENERAL"},
Type: "string",
Mandatory: true,
Default: os.Getenv("PIPER_cfOrg"),
Aliases: []config.Alias{{Name: "cloudFoundry/org"}},
},
{
@ -198,7 +191,6 @@ func cloudFoundryCreateServiceKeyMetadata() config.StepData {
Scope: []string{"PARAMETERS", "STAGES", "STEPS", "GENERAL"},
Type: "string",
Mandatory: true,
Default: os.Getenv("PIPER_cfSpace"),
Aliases: []config.Alias{{Name: "cloudFoundry/space"}},
},
{
@ -207,7 +199,6 @@ func cloudFoundryCreateServiceKeyMetadata() config.StepData {
Scope: []string{"PARAMETERS", "STAGES", "STEPS", "GENERAL"},
Type: "string",
Mandatory: true,
Default: os.Getenv("PIPER_cfServiceInstance"),
Aliases: []config.Alias{{Name: "cloudFoundry/serviceInstance"}},
},
{
@ -216,7 +207,6 @@ func cloudFoundryCreateServiceKeyMetadata() config.StepData {
Scope: []string{"PARAMETERS", "STAGES", "STEPS", "GENERAL"},
Type: "string",
Mandatory: true,
Default: os.Getenv("PIPER_cfServiceKeyName"),
Aliases: []config.Alias{{Name: "cloudFoundry/serviceKey"}, {Name: "cloudFoundry/serviceKeyName"}, {Name: "cfServiceKey"}},
},
{
@ -225,7 +215,6 @@ func cloudFoundryCreateServiceKeyMetadata() config.StepData {
Scope: []string{"PARAMETERS", "STAGES", "STEPS"},
Type: "string",
Mandatory: false,
Default: os.Getenv("PIPER_cfServiceKeyConfig"),
Aliases: []config.Alias{{Name: "cloudFoundry/serviceKeyConfig"}},
},
},

View File

@ -144,9 +144,6 @@ func cloudFoundryCreateServiceMetadata() config.StepData {
},
Spec: config.StepSpec{
Inputs: config.StepInputs{
Secrets: []config.StepSecrets{
{Name: "cfCredentialsId", Description: "Jenkins 'Username with password' credentials ID containing user and password to authenticate to the Cloud Foundry API.", Type: "jenkins", Aliases: []config.Alias{{Name: "cloudFoundry/credentialsId", Deprecated: false}}},
},
Resources: []config.StepResources{
{Name: "deployDescriptor", Type: "stash"},
},
@ -157,7 +154,6 @@ func cloudFoundryCreateServiceMetadata() config.StepData {
Scope: []string{"PARAMETERS", "STAGES", "STEPS", "GENERAL"},
Type: "string",
Mandatory: true,
Default: `https://api.cf.eu10.hana.ondemand.com`,
Aliases: []config.Alias{{Name: "cloudFoundry/apiEndpoint"}},
},
{
@ -178,7 +174,6 @@ func cloudFoundryCreateServiceMetadata() config.StepData {
Scope: []string{"PARAMETERS", "STAGES", "STEPS"},
Type: "string",
Mandatory: true,
Default: os.Getenv("PIPER_username"),
Aliases: []config.Alias{},
},
{
@ -199,7 +194,6 @@ func cloudFoundryCreateServiceMetadata() config.StepData {
Scope: []string{"PARAMETERS", "STAGES", "STEPS"},
Type: "string",
Mandatory: true,
Default: os.Getenv("PIPER_password"),
Aliases: []config.Alias{},
},
{
@ -208,7 +202,6 @@ func cloudFoundryCreateServiceMetadata() config.StepData {
Scope: []string{"PARAMETERS", "STAGES", "STEPS", "GENERAL"},
Type: "string",
Mandatory: true,
Default: os.Getenv("PIPER_cfOrg"),
Aliases: []config.Alias{{Name: "cloudFoundry/org"}},
},
{
@ -217,7 +210,6 @@ func cloudFoundryCreateServiceMetadata() config.StepData {
Scope: []string{"PARAMETERS", "STAGES", "STEPS", "GENERAL"},
Type: "string",
Mandatory: true,
Default: os.Getenv("PIPER_cfSpace"),
Aliases: []config.Alias{{Name: "cloudFoundry/space"}},
},
{
@ -226,7 +218,6 @@ func cloudFoundryCreateServiceMetadata() config.StepData {
Scope: []string{"PARAMETERS", "STAGES", "STEPS", "GENERAL"},
Type: "string",
Mandatory: false,
Default: os.Getenv("PIPER_cfService"),
Aliases: []config.Alias{{Name: "cloudFoundry/service"}},
},
{
@ -235,7 +226,6 @@ func cloudFoundryCreateServiceMetadata() config.StepData {
Scope: []string{"PARAMETERS", "STAGES", "STEPS", "GENERAL"},
Type: "string",
Mandatory: false,
Default: os.Getenv("PIPER_cfServicePlan"),
Aliases: []config.Alias{{Name: "cloudFoundry/servicePlan"}},
},
{
@ -244,7 +234,6 @@ func cloudFoundryCreateServiceMetadata() config.StepData {
Scope: []string{"PARAMETERS", "STAGES", "STEPS", "GENERAL"},
Type: "string",
Mandatory: false,
Default: os.Getenv("PIPER_cfServiceInstanceName"),
Aliases: []config.Alias{{Name: "cloudFoundry/serviceInstanceName"}},
},
{
@ -253,7 +242,6 @@ func cloudFoundryCreateServiceMetadata() config.StepData {
Scope: []string{"PARAMETERS", "STAGES", "STEPS", "GENERAL"},
Type: "string",
Mandatory: false,
Default: os.Getenv("PIPER_cfServiceBroker"),
Aliases: []config.Alias{{Name: "cloudFoundry/serviceBroker"}},
},
{
@ -262,7 +250,6 @@ func cloudFoundryCreateServiceMetadata() config.StepData {
Scope: []string{"PARAMETERS", "STAGES", "STEPS", "GENERAL"},
Type: "string",
Mandatory: false,
Default: os.Getenv("PIPER_cfCreateServiceConfig"),
Aliases: []config.Alias{{Name: "cloudFoundry/createServiceConfig"}},
},
{
@ -271,7 +258,6 @@ func cloudFoundryCreateServiceMetadata() config.StepData {
Scope: []string{"PARAMETERS", "STAGES", "STEPS", "GENERAL"},
Type: "string",
Mandatory: false,
Default: os.Getenv("PIPER_cfServiceTags"),
Aliases: []config.Alias{{Name: "cloudFoundry/serviceTags"}},
},
{
@ -280,7 +266,6 @@ func cloudFoundryCreateServiceMetadata() config.StepData {
Scope: []string{"PARAMETERS", "STAGES", "STEPS", "GENERAL"},
Type: "string",
Mandatory: false,
Default: `service-manifest.yml`,
Aliases: []config.Alias{{Name: "cloudFoundry/serviceManifest"}, {Name: "cfServiceManifest"}},
},
{
@ -289,7 +274,6 @@ func cloudFoundryCreateServiceMetadata() config.StepData {
Scope: []string{"PARAMETERS", "STAGES", "STEPS", "GENERAL"},
Type: "[]string",
Mandatory: false,
Default: []string{},
Aliases: []config.Alias{{Name: "cloudFoundry/manifestVariables"}, {Name: "cfManifestVariables"}},
},
{
@ -298,7 +282,6 @@ func cloudFoundryCreateServiceMetadata() config.StepData {
Scope: []string{"PARAMETERS", "STAGES", "STEPS", "GENERAL"},
Type: "[]string",
Mandatory: false,
Default: []string{},
Aliases: []config.Alias{{Name: "cloudFoundry/manifestVariablesFiles"}, {Name: "cfManifestVariablesFiles"}},
},
},

View File

@ -122,9 +122,6 @@ func cloudFoundryCreateSpaceMetadata() config.StepData {
},
Spec: config.StepSpec{
Inputs: config.StepInputs{
Secrets: []config.StepSecrets{
{Name: "cfCredentialsId", Description: "Jenkins credentials ID containing user and password to authenticate to the Cloud Foundry API", Type: "jenkins", Aliases: []config.Alias{{Name: "cloudFoundry/credentialsId", Deprecated: false}}},
},
Resources: []config.StepResources{
{Name: "deployDescriptor", Type: "stash"},
},
@ -135,7 +132,6 @@ func cloudFoundryCreateSpaceMetadata() config.StepData {
Scope: []string{"PARAMETERS", "STAGES", "STEPS", "GENERAL"},
Type: "string",
Mandatory: true,
Default: `https://api.cf.eu10.hana.ondemand.com`,
Aliases: []config.Alias{{Name: "cloudFoundry/apiEndpoint"}},
},
{
@ -150,7 +146,6 @@ func cloudFoundryCreateSpaceMetadata() config.StepData {
Scope: []string{"PARAMETERS", "STAGES", "STEPS"},
Type: "string",
Mandatory: true,
Default: os.Getenv("PIPER_username"),
Aliases: []config.Alias{},
},
{
@ -165,7 +160,6 @@ func cloudFoundryCreateSpaceMetadata() config.StepData {
Scope: []string{"PARAMETERS", "STAGES", "STEPS"},
Type: "string",
Mandatory: true,
Default: os.Getenv("PIPER_password"),
Aliases: []config.Alias{},
},
{
@ -174,7 +168,6 @@ func cloudFoundryCreateSpaceMetadata() config.StepData {
Scope: []string{"PARAMETERS", "STAGES", "STEPS", "GENERAL"},
Type: "string",
Mandatory: true,
Default: os.Getenv("PIPER_cfOrg"),
Aliases: []config.Alias{{Name: "cloudFoundry/org"}},
},
{
@ -183,7 +176,6 @@ func cloudFoundryCreateSpaceMetadata() config.StepData {
Scope: []string{"PARAMETERS", "STAGES", "STEPS", "GENERAL"},
Type: "string",
Mandatory: true,
Default: os.Getenv("PIPER_cfSpace"),
Aliases: []config.Alias{{Name: "cloudFoundry/space"}},
},
},

View File

@ -125,9 +125,6 @@ func cloudFoundryDeleteServiceMetadata() config.StepData {
},
Spec: config.StepSpec{
Inputs: config.StepInputs{
Secrets: []config.StepSecrets{
{Name: "cfCredentialsId", Description: "Jenkins 'Username with password' credentials ID containing user and password to authenticate to the Cloud Foundry API.", Type: "jenkins"},
},
Parameters: []config.StepParameters{
{
Name: "cfApiEndpoint",
@ -135,7 +132,6 @@ func cloudFoundryDeleteServiceMetadata() config.StepData {
Scope: []string{"PARAMETERS", "STAGES", "STEPS", "GENERAL"},
Type: "string",
Mandatory: true,
Default: os.Getenv("PIPER_cfApiEndpoint"),
Aliases: []config.Alias{{Name: "cloudFoundry/apiEndpoint"}},
},
{
@ -156,7 +152,6 @@ func cloudFoundryDeleteServiceMetadata() config.StepData {
Scope: []string{"PARAMETERS", "STAGES", "STEPS"},
Type: "string",
Mandatory: true,
Default: os.Getenv("PIPER_username"),
Aliases: []config.Alias{},
},
{
@ -177,7 +172,6 @@ func cloudFoundryDeleteServiceMetadata() config.StepData {
Scope: []string{"PARAMETERS", "STAGES", "STEPS"},
Type: "string",
Mandatory: true,
Default: os.Getenv("PIPER_password"),
Aliases: []config.Alias{},
},
{
@ -186,7 +180,6 @@ func cloudFoundryDeleteServiceMetadata() config.StepData {
Scope: []string{"PARAMETERS", "STAGES", "STEPS", "GENERAL"},
Type: "string",
Mandatory: true,
Default: os.Getenv("PIPER_cfOrg"),
Aliases: []config.Alias{{Name: "cloudFoundry/org"}},
},
{
@ -195,7 +188,6 @@ func cloudFoundryDeleteServiceMetadata() config.StepData {
Scope: []string{"PARAMETERS", "STAGES", "STEPS", "GENERAL"},
Type: "string",
Mandatory: true,
Default: os.Getenv("PIPER_cfSpace"),
Aliases: []config.Alias{{Name: "cloudFoundry/space"}},
},
{
@ -204,7 +196,6 @@ func cloudFoundryDeleteServiceMetadata() config.StepData {
Scope: []string{"PARAMETERS", "STAGES", "STEPS", "GENERAL"},
Type: "string",
Mandatory: true,
Default: os.Getenv("PIPER_cfServiceInstance"),
Aliases: []config.Alias{{Name: "cloudFoundry/serviceInstance"}},
},
{
@ -213,7 +204,6 @@ func cloudFoundryDeleteServiceMetadata() config.StepData {
Scope: []string{"PARAMETERS", "STAGES", "STEPS"},
Type: "bool",
Mandatory: false,
Default: false,
Aliases: []config.Alias{{Name: "cloudFoundry/cfDeleteServiceKeys"}},
},
},

View File

@ -122,9 +122,6 @@ func cloudFoundryDeleteSpaceMetadata() config.StepData {
},
Spec: config.StepSpec{
Inputs: config.StepInputs{
Secrets: []config.StepSecrets{
{Name: "cfCredentialsId", Description: "Jenkins credentials ID containing user and password to authenticate to the Cloud Foundry API", Type: "jenkins", Aliases: []config.Alias{{Name: "cloudFoundry/credentialsId", Deprecated: false}}},
},
Resources: []config.StepResources{
{Name: "deployDescriptor", Type: "stash"},
},
@ -135,7 +132,6 @@ func cloudFoundryDeleteSpaceMetadata() config.StepData {
Scope: []string{"PARAMETERS", "STAGES", "STEPS", "GENERAL"},
Type: "string",
Mandatory: true,
Default: `https://api.cf.eu10.hana.ondemand.com`,
Aliases: []config.Alias{{Name: "cloudFoundry/apiEndpoint"}},
},
{
@ -150,7 +146,6 @@ func cloudFoundryDeleteSpaceMetadata() config.StepData {
Scope: []string{"PARAMETERS", "STAGES", "STEPS"},
Type: "string",
Mandatory: true,
Default: os.Getenv("PIPER_username"),
Aliases: []config.Alias{},
},
{
@ -165,7 +160,6 @@ func cloudFoundryDeleteSpaceMetadata() config.StepData {
Scope: []string{"PARAMETERS", "STAGES", "STEPS"},
Type: "string",
Mandatory: true,
Default: os.Getenv("PIPER_password"),
Aliases: []config.Alias{},
},
{
@ -174,7 +168,6 @@ func cloudFoundryDeleteSpaceMetadata() config.StepData {
Scope: []string{"PARAMETERS", "STAGES", "STEPS", "GENERAL"},
Type: "string",
Mandatory: true,
Default: os.Getenv("PIPER_cfOrg"),
Aliases: []config.Alias{{Name: "cloudFoundry/org"}},
},
{
@ -183,7 +176,6 @@ func cloudFoundryDeleteSpaceMetadata() config.StepData {
Scope: []string{"PARAMETERS", "STAGES", "STEPS", "GENERAL"},
Type: "string",
Mandatory: true,
Default: os.Getenv("PIPER_cfSpace"),
Aliases: []config.Alias{{Name: "cloudFoundry/space"}},
},
},

View File

@ -219,10 +219,6 @@ func cloudFoundryDeployMetadata() config.StepData {
},
Spec: config.StepSpec{
Inputs: config.StepInputs{
Secrets: []config.StepSecrets{
{Name: "cfCredentialsId", Description: "Jenkins 'Username with password' credentials ID containing user and password to authenticate to the Cloud Foundry API.", Type: "jenkins", Aliases: []config.Alias{{Name: "cloudFoundry/credentialsId", Deprecated: false}}},
{Name: "dockerCredentialsId", Description: "Jenkins 'Username with password' credentials ID containing user and password to authenticate to the Docker registry.", Type: "jenkins"},
},
Parameters: []config.StepParameters{
{
Name: "apiEndpoint",
@ -230,7 +226,6 @@ func cloudFoundryDeployMetadata() config.StepData {
Scope: []string{"PARAMETERS", "STAGES", "STEPS", "GENERAL"},
Type: "string",
Mandatory: true,
Default: `https://api.cf.eu10.hana.ondemand.com`,
Aliases: []config.Alias{{Name: "cfApiEndpoint"}, {Name: "cloudFoundry/apiEndpoint"}},
},
{
@ -239,7 +234,6 @@ func cloudFoundryDeployMetadata() config.StepData {
Scope: []string{"PARAMETERS", "STAGES", "STEPS", "GENERAL"},
Type: "string",
Mandatory: false,
Default: os.Getenv("PIPER_appName"),
Aliases: []config.Alias{{Name: "cfAppName"}, {Name: "cloudFoundry/appName"}},
},
{
@ -253,7 +247,6 @@ func cloudFoundryDeployMetadata() config.StepData {
Scope: []string{"PARAMETERS", "STAGES", "STEPS", "GENERAL"},
Type: "string",
Mandatory: false,
Default: os.Getenv("PIPER_artifactVersion"),
Aliases: []config.Alias{},
},
{
@ -262,7 +255,6 @@ func cloudFoundryDeployMetadata() config.StepData {
Scope: []string{"PARAMETERS", "STAGES", "STEPS", "GENERAL"},
Type: "string",
Mandatory: false,
Default: os.Getenv("PIPER_cfHome"),
Aliases: []config.Alias{},
},
{
@ -271,7 +263,6 @@ func cloudFoundryDeployMetadata() config.StepData {
Scope: []string{"PARAMETERS", "STAGES", "STEPS", "GENERAL"},
Type: "string",
Mandatory: false,
Default: os.Getenv("PIPER_cfNativeDeployParameters"),
Aliases: []config.Alias{},
},
{
@ -280,7 +271,6 @@ func cloudFoundryDeployMetadata() config.StepData {
Scope: []string{"PARAMETERS", "STAGES", "STEPS", "GENERAL"},
Type: "string",
Mandatory: false,
Default: os.Getenv("PIPER_cfPluginHome"),
Aliases: []config.Alias{},
},
{
@ -289,7 +279,6 @@ func cloudFoundryDeployMetadata() config.StepData {
Scope: []string{"PARAMETERS", "STAGES", "STEPS", "GENERAL"},
Type: "string",
Mandatory: false,
Default: os.Getenv("PIPER_deployDockerImage"),
Aliases: []config.Alias{},
},
{
@ -298,7 +287,6 @@ func cloudFoundryDeployMetadata() config.StepData {
Scope: []string{"PARAMETERS", "STAGES", "STEPS", "GENERAL"},
Type: "string",
Mandatory: false,
Default: os.Getenv("PIPER_deployTool"),
Aliases: []config.Alias{},
},
{
@ -312,7 +300,6 @@ func cloudFoundryDeployMetadata() config.StepData {
Scope: []string{"PARAMETERS", "STAGES", "STEPS", "GENERAL"},
Type: "string",
Mandatory: false,
Default: os.Getenv("PIPER_buildTool"),
Aliases: []config.Alias{},
},
{
@ -321,7 +308,6 @@ func cloudFoundryDeployMetadata() config.StepData {
Scope: []string{"PARAMETERS", "STAGES", "STEPS", "GENERAL"},
Type: "string",
Mandatory: false,
Default: `standard`,
Aliases: []config.Alias{},
},
{
@ -336,7 +322,6 @@ func cloudFoundryDeployMetadata() config.StepData {
Scope: []string{"PARAMETERS", "STAGES", "STEPS"},
Type: "string",
Mandatory: false,
Default: os.Getenv("PIPER_dockerPassword"),
Aliases: []config.Alias{},
},
{
@ -351,7 +336,6 @@ func cloudFoundryDeployMetadata() config.StepData {
Scope: []string{"PARAMETERS", "STAGES", "STEPS"},
Type: "string",
Mandatory: false,
Default: os.Getenv("PIPER_dockerUsername"),
Aliases: []config.Alias{},
},
{
@ -360,7 +344,6 @@ func cloudFoundryDeployMetadata() config.StepData {
Scope: []string{"PARAMETERS", "STAGES", "STEPS"},
Type: "bool",
Mandatory: false,
Default: false,
Aliases: []config.Alias{},
},
{
@ -369,7 +352,6 @@ func cloudFoundryDeployMetadata() config.StepData {
Scope: []string{"PARAMETERS", "STAGES", "STEPS", "GENERAL"},
Type: "string",
Mandatory: false,
Default: os.Getenv("PIPER_loginParameters"),
Aliases: []config.Alias{},
},
{
@ -378,7 +360,6 @@ func cloudFoundryDeployMetadata() config.StepData {
Scope: []string{"PARAMETERS", "STAGES", "STEPS", "GENERAL"},
Type: "string",
Mandatory: false,
Default: os.Getenv("PIPER_manifest"),
Aliases: []config.Alias{{Name: "cfManifest"}, {Name: "cloudFoundry/manifest"}},
},
{
@ -387,7 +368,6 @@ func cloudFoundryDeployMetadata() config.StepData {
Scope: []string{"PARAMETERS", "STAGES", "STEPS", "GENERAL"},
Type: "[]string",
Mandatory: false,
Default: []string{},
Aliases: []config.Alias{{Name: "cfManifestVariables"}, {Name: "cloudFoundry/manifestVariables"}},
},
{
@ -396,7 +376,6 @@ func cloudFoundryDeployMetadata() config.StepData {
Scope: []string{"PARAMETERS", "STAGES", "STEPS", "GENERAL"},
Type: "[]string",
Mandatory: false,
Default: []string{`manifest-variables.yml`},
Aliases: []config.Alias{{Name: "cfManifestVariablesFiles"}, {Name: "cloudFoundry/manifestVariablesFiles"}},
},
{
@ -405,7 +384,6 @@ func cloudFoundryDeployMetadata() config.StepData {
Scope: []string{"PARAMETERS", "STAGES", "STEPS", "GENERAL"},
Type: "string",
Mandatory: false,
Default: `-f`,
Aliases: []config.Alias{},
},
{
@ -414,7 +392,6 @@ func cloudFoundryDeployMetadata() config.StepData {
Scope: []string{"PARAMETERS", "STAGES", "STEPS", "GENERAL"},
Type: "string",
Mandatory: false,
Default: os.Getenv("PIPER_mtaExtensionDescriptor"),
Aliases: []config.Alias{{Name: "cloudFoundry/mtaExtensionDescriptor"}},
},
{
@ -423,8 +400,7 @@ func cloudFoundryDeployMetadata() config.StepData {
Scope: []string{"PARAMETERS", "STAGES", "STEPS", "GENERAL"},
Type: "map[string]interface{}",
Mandatory: false,
Aliases: []config.Alias{{Name: "cloudFoundry/mtaExtensionCredentials"}},
Aliases: []config.Alias{{Name: "cloudFoundry/mtaExtensionCredentials"}},
},
{
Name: "mtaPath",
@ -437,7 +413,6 @@ func cloudFoundryDeployMetadata() config.StepData {
Scope: []string{"PARAMETERS", "STAGES", "STEPS", "GENERAL"},
Type: "string",
Mandatory: false,
Default: os.Getenv("PIPER_mtaPath"),
Aliases: []config.Alias{},
},
{
@ -446,7 +421,6 @@ func cloudFoundryDeployMetadata() config.StepData {
Scope: []string{"PARAMETERS", "STAGES", "STEPS", "GENERAL"},
Type: "string",
Mandatory: true,
Default: os.Getenv("PIPER_org"),
Aliases: []config.Alias{{Name: "cfOrg"}, {Name: "cloudFoundry/org"}},
},
{
@ -467,7 +441,6 @@ func cloudFoundryDeployMetadata() config.StepData {
Scope: []string{"PARAMETERS", "STAGES", "STEPS"},
Type: "string",
Mandatory: true,
Default: os.Getenv("PIPER_password"),
Aliases: []config.Alias{},
},
{
@ -476,7 +449,6 @@ func cloudFoundryDeployMetadata() config.StepData {
Scope: []string{"PARAMETERS", "STAGES", "STEPS", "GENERAL"},
Type: "string",
Mandatory: false,
Default: `blueGreenCheckScript.sh`,
Aliases: []config.Alias{},
},
{
@ -485,7 +457,6 @@ func cloudFoundryDeployMetadata() config.StepData {
Scope: []string{"PARAMETERS", "STAGES", "STEPS", "GENERAL"},
Type: "int",
Mandatory: false,
Default: 200,
Aliases: []config.Alias{},
},
{
@ -494,7 +465,6 @@ func cloudFoundryDeployMetadata() config.StepData {
Scope: []string{"PARAMETERS", "STAGES", "STEPS", "GENERAL"},
Type: "string",
Mandatory: true,
Default: os.Getenv("PIPER_space"),
Aliases: []config.Alias{{Name: "cfSpace"}, {Name: "cloudFoundry/space"}},
},
{
@ -515,7 +485,6 @@ func cloudFoundryDeployMetadata() config.StepData {
Scope: []string{"PARAMETERS", "STAGES", "STEPS"},
Type: "string",
Mandatory: true,
Default: os.Getenv("PIPER_username"),
Aliases: []config.Alias{},
},
},

View File

@ -126,7 +126,6 @@ func containerExecuteStructureTestsMetadata() config.StepData {
Scope: []string{"STEPS", "STAGES", "PARAMETERS"},
Type: "bool",
Mandatory: false,
Default: false,
Aliases: []config.Alias{},
},
{
@ -135,7 +134,6 @@ func containerExecuteStructureTestsMetadata() config.StepData {
Scope: []string{"STEPS", "STAGES", "PARAMETERS"},
Type: "string",
Mandatory: true,
Default: os.Getenv("PIPER_testConfiguration"),
Aliases: []config.Alias{},
},
{
@ -144,7 +142,6 @@ func containerExecuteStructureTestsMetadata() config.StepData {
Scope: []string{"STEPS", "STAGES", "PARAMETERS"},
Type: "string",
Mandatory: false,
Default: os.Getenv("PIPER_testDriver"),
Aliases: []config.Alias{},
},
{
@ -153,7 +150,6 @@ func containerExecuteStructureTestsMetadata() config.StepData {
Scope: []string{"STEPS", "STAGES", "PARAMETERS"},
Type: "string",
Mandatory: true,
Default: os.Getenv("PIPER_testImage"),
Aliases: []config.Alias{},
},
{
@ -162,7 +158,6 @@ func containerExecuteStructureTestsMetadata() config.StepData {
Scope: []string{"STEPS", "STAGES", "PARAMETERS"},
Type: "string",
Mandatory: false,
Default: `cst-report.json`,
Aliases: []config.Alias{},
},
},

View File

@ -127,7 +127,6 @@ func containerSaveImageMetadata() config.StepData {
Scope: []string{"GENERAL", "PARAMETERS", "STAGES", "STEPS"},
Type: "string",
Mandatory: true,
Default: os.Getenv("PIPER_containerRegistryUrl"),
Aliases: []config.Alias{{Name: "dockerRegistryUrl"}},
},
{
@ -141,7 +140,6 @@ func containerSaveImageMetadata() config.StepData {
Scope: []string{"GENERAL", "PARAMETERS", "STAGES", "STEPS"},
Type: "string",
Mandatory: true,
Default: os.Getenv("PIPER_containerImage"),
Aliases: []config.Alias{{Name: "dockerImage"}, {Name: "scanImage"}},
},
{
@ -150,7 +148,6 @@ func containerSaveImageMetadata() config.StepData {
Scope: []string{"PARAMETERS", "STAGES", "STEPS"},
Type: "string",
Mandatory: false,
Default: os.Getenv("PIPER_filePath"),
Aliases: []config.Alias{},
},
{
@ -159,7 +156,6 @@ func containerSaveImageMetadata() config.StepData {
Scope: []string{"PARAMETERS", "STAGES", "STEPS"},
Type: "bool",
Mandatory: false,
Default: false,
Aliases: []config.Alias{},
},
},

View File

@ -157,9 +157,6 @@ func detectExecuteScanMetadata() config.StepData {
},
Spec: config.StepSpec{
Inputs: config.StepInputs{
Secrets: []config.StepSecrets{
{Name: "detectTokenCredentialsId", Description: "Jenkins 'Secret text' credentials ID containing the API token used to authenticate with the Synopsis Detect (formerly BlackDuck) Server.", Type: "jenkins", Aliases: []config.Alias{{Name: "apiTokenCredentialsId", Deprecated: false}}},
},
Resources: []config.StepResources{
{Name: "buildDescriptor", Type: "stash"},
{Name: "checkmarx", Type: "stash"},
@ -182,7 +179,6 @@ func detectExecuteScanMetadata() config.StepData {
Scope: []string{"PARAMETERS", "STAGES", "STEPS"},
Type: "string",
Mandatory: true,
Default: os.Getenv("PIPER_token"),
Aliases: []config.Alias{{Name: "blackduckToken"}, {Name: "detectToken"}, {Name: "apiToken"}, {Name: "detect/apiToken"}},
},
{
@ -191,7 +187,6 @@ func detectExecuteScanMetadata() config.StepData {
Scope: []string{"PARAMETERS", "STAGES", "STEPS"},
Type: "string",
Mandatory: false,
Default: os.Getenv("PIPER_codeLocation"),
Aliases: []config.Alias{},
},
{
@ -200,7 +195,6 @@ func detectExecuteScanMetadata() config.StepData {
Scope: []string{"PARAMETERS", "STAGES", "STEPS"},
Type: "string",
Mandatory: true,
Default: os.Getenv("PIPER_projectName"),
Aliases: []config.Alias{{Name: "detect/projectName"}},
},
{
@ -209,7 +203,6 @@ func detectExecuteScanMetadata() config.StepData {
Scope: []string{"PARAMETERS", "STAGES", "STEPS"},
Type: "[]string",
Mandatory: false,
Default: []string{`signature`},
Aliases: []config.Alias{{Name: "detect/scanners"}},
},
{
@ -218,7 +211,6 @@ func detectExecuteScanMetadata() config.StepData {
Scope: []string{"PARAMETERS", "STAGES", "STEPS"},
Type: "[]string",
Mandatory: false,
Default: []string{`.`},
Aliases: []config.Alias{{Name: "detect/scanPaths"}},
},
{
@ -227,7 +219,6 @@ func detectExecuteScanMetadata() config.StepData {
Scope: []string{"PARAMETERS", "STAGES", "STEPS"},
Type: "string",
Mandatory: false,
Default: `.`,
Aliases: []config.Alias{{Name: "detect/dependencyPath"}},
},
{
@ -236,7 +227,6 @@ func detectExecuteScanMetadata() config.StepData {
Scope: []string{"PARAMETERS", "STAGES", "STEPS"},
Type: "bool",
Mandatory: false,
Default: false,
Aliases: []config.Alias{{Name: "detect/unmap"}},
},
{
@ -245,7 +235,6 @@ func detectExecuteScanMetadata() config.StepData {
Scope: []string{"PARAMETERS", "STAGES", "STEPS"},
Type: "[]string",
Mandatory: false,
Default: []string{`--blackduck.signature.scanner.memory=4096`, `--detect.timeout=6000`, `--blackduck.trust.cert=true`, `--logging.level.com.synopsys.integration=DEBUG`, `--detect.maven.excluded.scopes=test`},
Aliases: []config.Alias{{Name: "detect/scanProperties"}},
},
{
@ -254,7 +243,6 @@ func detectExecuteScanMetadata() config.StepData {
Scope: []string{"PARAMETERS", "STAGES", "STEPS"},
Type: "string",
Mandatory: true,
Default: os.Getenv("PIPER_serverUrl"),
Aliases: []config.Alias{{Name: "detect/serverUrl"}},
},
{
@ -263,7 +251,6 @@ func detectExecuteScanMetadata() config.StepData {
Scope: []string{"PARAMETERS", "STAGES", "STEPS"},
Type: "[]string",
Mandatory: false,
Default: []string{},
Aliases: []config.Alias{{Name: "detect/groups"}},
},
{
@ -272,7 +259,6 @@ func detectExecuteScanMetadata() config.StepData {
Scope: []string{"PARAMETERS", "STAGES", "STEPS"},
Type: "[]string",
Mandatory: false,
Default: []string{`BLOCKER`},
Aliases: []config.Alias{{Name: "detect/failOn"}},
},
{
@ -281,7 +267,6 @@ func detectExecuteScanMetadata() config.StepData {
Scope: []string{"PARAMETERS", "GENERAL", "STAGES", "STEPS"},
Type: "string",
Mandatory: false,
Default: `major`,
Aliases: []config.Alias{},
},
{
@ -295,7 +280,6 @@ func detectExecuteScanMetadata() config.StepData {
Scope: []string{"PARAMETERS", "STAGES", "STEPS"},
Type: "string",
Mandatory: false,
Default: os.Getenv("PIPER_version"),
Aliases: []config.Alias{{Name: "projectVersion"}, {Name: "detect/projectVersion"}},
},
{
@ -304,7 +288,6 @@ func detectExecuteScanMetadata() config.StepData {
Scope: []string{"GENERAL", "STAGES", "STEPS", "PARAMETERS"},
Type: "string",
Mandatory: false,
Default: os.Getenv("PIPER_customScanVersion"),
Aliases: []config.Alias{},
},
{
@ -313,7 +296,6 @@ func detectExecuteScanMetadata() config.StepData {
Scope: []string{"GENERAL", "PARAMETERS", "STAGES", "STEPS"},
Type: "string",
Mandatory: false,
Default: os.Getenv("PIPER_projectSettingsFile"),
Aliases: []config.Alias{{Name: "maven/projectSettingsFile"}},
},
{
@ -322,7 +304,6 @@ func detectExecuteScanMetadata() config.StepData {
Scope: []string{"GENERAL", "PARAMETERS", "STAGES", "STEPS"},
Type: "string",
Mandatory: false,
Default: os.Getenv("PIPER_globalSettingsFile"),
Aliases: []config.Alias{{Name: "maven/globalSettingsFile"}},
},
{
@ -331,7 +312,6 @@ func detectExecuteScanMetadata() config.StepData {
Scope: []string{"GENERAL", "STEPS", "STAGES", "PARAMETERS"},
Type: "string",
Mandatory: false,
Default: os.Getenv("PIPER_m2Path"),
Aliases: []config.Alias{{Name: "maven/m2Path"}},
},
{
@ -340,7 +320,6 @@ func detectExecuteScanMetadata() config.StepData {
Scope: []string{"GENERAL", "STEPS", "STAGES", "PARAMETERS"},
Type: "bool",
Mandatory: false,
Default: false,
Aliases: []config.Alias{},
},
{
@ -349,7 +328,6 @@ func detectExecuteScanMetadata() config.StepData {
Scope: []string{"PARAMETERS", "STAGES", "STEPS"},
Type: "[]string",
Mandatory: false,
Default: []string{},
Aliases: []config.Alias{{Name: "detect/includedPackageManagers"}},
},
{
@ -358,7 +336,6 @@ func detectExecuteScanMetadata() config.StepData {
Scope: []string{"PARAMETERS", "STAGES", "STEPS"},
Type: "[]string",
Mandatory: false,
Default: []string{},
Aliases: []config.Alias{{Name: "detect/excludedPackageManagers"}},
},
{
@ -367,7 +344,6 @@ func detectExecuteScanMetadata() config.StepData {
Scope: []string{"PARAMETERS", "STAGES", "STEPS"},
Type: "[]string",
Mandatory: false,
Default: []string{},
Aliases: []config.Alias{{Name: "detect/mavenExcludedScopes"}},
},
{
@ -376,7 +352,6 @@ func detectExecuteScanMetadata() config.StepData {
Scope: []string{"PARAMETERS", "STAGES", "STEPS"},
Type: "[]string",
Mandatory: false,
Default: []string{},
Aliases: []config.Alias{{Name: "detect/detectTools"}},
},
{
@ -385,7 +360,6 @@ func detectExecuteScanMetadata() config.StepData {
Scope: []string{"PARAMETERS", "STAGES", "STEPS"},
Type: "bool",
Mandatory: false,
Default: false,
Aliases: []config.Alias{},
},
{
@ -394,7 +368,6 @@ func detectExecuteScanMetadata() config.StepData {
Scope: []string{"PARAMETERS", "STAGES", "STEPS"},
Type: "[]string",
Mandatory: false,
Default: []string{},
Aliases: []config.Alias{},
},
},

View File

@ -287,10 +287,6 @@ func fortifyExecuteScanMetadata() config.StepData {
},
Spec: config.StepSpec{
Inputs: config.StepInputs{
Secrets: []config.StepSecrets{
{Name: "fortifyCredentialsId", Description: "Jenkins 'Secret text' credentials ID containing token to authenticate to Fortify SSC.", Type: "jenkins"},
{Name: "githubTokenCredentialsId", Description: "Jenkins 'Secret text' credentials ID containing token to authenticate to GitHub.", Type: "jenkins"},
},
Resources: []config.StepResources{
{Name: "commonPipelineEnvironment"},
{Name: "buildDescriptor", Type: "stash"},
@ -305,7 +301,6 @@ func fortifyExecuteScanMetadata() config.StepData {
Scope: []string{"PARAMETERS", "STAGES", "STEPS"},
Type: "[]string",
Mandatory: false,
Default: []string{},
Aliases: []config.Alias{},
},
{
@ -325,7 +320,6 @@ func fortifyExecuteScanMetadata() config.StepData {
Scope: []string{"PARAMETERS", "STAGES", "STEPS"},
Type: "string",
Mandatory: true,
Default: os.Getenv("PIPER_authToken"),
Aliases: []config.Alias{},
},
{
@ -334,7 +328,6 @@ func fortifyExecuteScanMetadata() config.StepData {
Scope: []string{"GENERAL", "PARAMETERS", "STAGES", "STEPS"},
Type: "string",
Mandatory: false,
Default: os.Getenv("PIPER_customScanVersion"),
Aliases: []config.Alias{},
},
{
@ -354,7 +347,6 @@ func fortifyExecuteScanMetadata() config.StepData {
Scope: []string{"GENERAL", "PARAMETERS", "STAGES", "STEPS"},
Type: "string",
Mandatory: false,
Default: os.Getenv("PIPER_githubToken"),
Aliases: []config.Alias{{Name: "access_token"}},
},
{
@ -363,7 +355,6 @@ func fortifyExecuteScanMetadata() config.StepData {
Scope: []string{"PARAMETERS", "STAGES", "STEPS"},
Type: "bool",
Mandatory: false,
Default: false,
Aliases: []config.Alias{},
},
{
@ -372,7 +363,6 @@ func fortifyExecuteScanMetadata() config.StepData {
Scope: []string{"PARAMETERS", "STAGES", "STEPS"},
Type: "string",
Mandatory: false,
Default: `./`,
Aliases: []config.Alias{},
},
{
@ -381,7 +371,6 @@ func fortifyExecuteScanMetadata() config.StepData {
Scope: []string{"PARAMETERS", "STAGES", "STEPS"},
Type: "string",
Mandatory: false,
Default: os.Getenv("PIPER_pythonRequirementsFile"),
Aliases: []config.Alias{},
},
{
@ -390,7 +379,6 @@ func fortifyExecuteScanMetadata() config.StepData {
Scope: []string{"PARAMETERS", "STAGES", "STEPS"},
Type: "bool",
Mandatory: false,
Default: true,
Aliases: []config.Alias{},
},
{
@ -399,7 +387,6 @@ func fortifyExecuteScanMetadata() config.StepData {
Scope: []string{"PARAMETERS", "STAGES", "STEPS"},
Type: "string",
Mandatory: false,
Default: `Corporate Security Requirements, Audit All`,
Aliases: []config.Alias{},
},
{
@ -408,7 +395,6 @@ func fortifyExecuteScanMetadata() config.StepData {
Scope: []string{"PARAMETERS", "STAGES", "STEPS"},
Type: "string",
Mandatory: false,
Default: `Spot Checks of Each Category`,
Aliases: []config.Alias{},
},
{
@ -417,7 +403,6 @@ func fortifyExecuteScanMetadata() config.StepData {
Scope: []string{"PARAMETERS", "STAGES", "STEPS"},
Type: "string",
Mandatory: false,
Default: os.Getenv("PIPER_pythonRequirementsInstallSuffix"),
Aliases: []config.Alias{},
},
{
@ -426,7 +411,6 @@ func fortifyExecuteScanMetadata() config.StepData {
Scope: []string{"GENERAL", "PARAMETERS", "STAGES", "STEPS"},
Type: "string",
Mandatory: false,
Default: `python3`,
Aliases: []config.Alias{},
},
{
@ -435,7 +419,6 @@ func fortifyExecuteScanMetadata() config.StepData {
Scope: []string{"PARAMETERS", "STAGES", "STEPS"},
Type: "bool",
Mandatory: false,
Default: true,
Aliases: []config.Alias{},
},
{
@ -449,7 +432,6 @@ func fortifyExecuteScanMetadata() config.StepData {
Scope: []string{"GENERAL", "PARAMETERS", "STAGES", "STEPS"},
Type: "string",
Mandatory: false,
Default: os.Getenv("PIPER_version"),
Aliases: []config.Alias{{Name: "fortifyProjectVersion"}},
},
{
@ -458,7 +440,6 @@ func fortifyExecuteScanMetadata() config.StepData {
Scope: []string{"PARAMETERS", "STAGES", "STEPS"},
Type: "string",
Mandatory: false,
Default: `./pom.xml`,
Aliases: []config.Alias{},
},
{
@ -467,7 +448,6 @@ func fortifyExecuteScanMetadata() config.StepData {
Scope: []string{"PARAMETERS", "STAGES", "STEPS"},
Type: "string",
Mandatory: false,
Default: `./setup.py`,
Aliases: []config.Alias{},
},
{
@ -481,7 +461,6 @@ func fortifyExecuteScanMetadata() config.StepData {
Scope: []string{"PARAMETERS", "STAGES", "STEPS"},
Type: "string",
Mandatory: false,
Default: os.Getenv("PIPER_commitId"),
Aliases: []config.Alias{},
},
{
@ -495,7 +474,6 @@ func fortifyExecuteScanMetadata() config.StepData {
Scope: []string{"PARAMETERS", "STAGES", "STEPS"},
Type: "string",
Mandatory: false,
Default: os.Getenv("PIPER_commitMessage"),
Aliases: []config.Alias{},
},
{
@ -504,7 +482,6 @@ func fortifyExecuteScanMetadata() config.StepData {
Scope: []string{"GENERAL", "PARAMETERS", "STAGES", "STEPS"},
Type: "string",
Mandatory: false,
Default: `https://api.github.com`,
Aliases: []config.Alias{},
},
{
@ -518,7 +495,6 @@ func fortifyExecuteScanMetadata() config.StepData {
Scope: []string{"PARAMETERS", "STAGES", "STEPS"},
Type: "string",
Mandatory: false,
Default: os.Getenv("PIPER_owner"),
Aliases: []config.Alias{{Name: "githubOrg"}},
},
{
@ -532,7 +508,6 @@ func fortifyExecuteScanMetadata() config.StepData {
Scope: []string{"PARAMETERS", "STAGES", "STEPS"},
Type: "string",
Mandatory: false,
Default: os.Getenv("PIPER_repository"),
Aliases: []config.Alias{{Name: "githubRepo"}},
},
{
@ -541,7 +516,6 @@ func fortifyExecuteScanMetadata() config.StepData {
Scope: []string{"PARAMETERS", "STAGES", "STEPS"},
Type: "string",
Mandatory: false,
Default: `-Xmx4G -Xms512M`,
Aliases: []config.Alias{},
},
{
@ -550,7 +524,6 @@ func fortifyExecuteScanMetadata() config.StepData {
Scope: []string{"PARAMETERS", "STAGES", "STEPS"},
Type: "bool",
Mandatory: false,
Default: true,
Aliases: []config.Alias{},
},
{
@ -559,7 +532,6 @@ func fortifyExecuteScanMetadata() config.StepData {
Scope: []string{"GENERAL", "PARAMETERS", "STAGES", "STEPS"},
Type: "string",
Mandatory: false,
Default: `/transfer/reportDownload.html`,
Aliases: []config.Alias{{Name: "fortifyReportDownloadEndpoint"}},
},
{
@ -568,7 +540,6 @@ func fortifyExecuteScanMetadata() config.StepData {
Scope: []string{"PARAMETERS", "STAGES", "STEPS"},
Type: "int",
Mandatory: false,
Default: 30,
Aliases: []config.Alias{},
},
{
@ -577,7 +548,6 @@ func fortifyExecuteScanMetadata() config.StepData {
Scope: []string{"PARAMETERS", "STAGES", "STEPS"},
Type: "bool",
Mandatory: false,
Default: false,
Aliases: []config.Alias{},
},
{
@ -586,7 +556,6 @@ func fortifyExecuteScanMetadata() config.StepData {
Scope: []string{"PARAMETERS", "STAGES", "STEPS"},
Type: "string",
Mandatory: false,
Default: os.Getenv("PIPER_translate"),
Aliases: []config.Alias{},
},
{
@ -595,7 +564,6 @@ func fortifyExecuteScanMetadata() config.StepData {
Scope: []string{"PARAMETERS", "STAGES", "STEPS"},
Type: "[]string",
Mandatory: false,
Default: []string{},
Aliases: []config.Alias{},
},
{
@ -604,7 +572,6 @@ func fortifyExecuteScanMetadata() config.StepData {
Scope: []string{"PARAMETERS", "STAGES", "STEPS"},
Type: "[]string",
Mandatory: false,
Default: []string{},
Aliases: []config.Alias{},
},
{
@ -613,7 +580,6 @@ func fortifyExecuteScanMetadata() config.StepData {
Scope: []string{"GENERAL", "PARAMETERS", "STAGES", "STEPS"},
Type: "string",
Mandatory: false,
Default: `/api/v1`,
Aliases: []config.Alias{{Name: "fortifyApiEndpoint"}},
},
{
@ -622,7 +588,6 @@ func fortifyExecuteScanMetadata() config.StepData {
Scope: []string{"PARAMETERS", "STAGES", "STEPS"},
Type: "string",
Mandatory: false,
Default: `PDF`,
Aliases: []config.Alias{},
},
{
@ -631,7 +596,6 @@ func fortifyExecuteScanMetadata() config.StepData {
Scope: []string{"PARAMETERS", "STAGES", "STEPS"},
Type: "[]string",
Mandatory: false,
Default: []string{`./lib`, `.`},
Aliases: []config.Alias{},
},
{
@ -640,7 +604,6 @@ func fortifyExecuteScanMetadata() config.StepData {
Scope: []string{"PARAMETERS", "STAGES", "STEPS"},
Type: "string",
Mandatory: false,
Default: os.Getenv("PIPER_artifactUrl"),
Aliases: []config.Alias{},
},
{
@ -649,7 +612,6 @@ func fortifyExecuteScanMetadata() config.StepData {
Scope: []string{"PARAMETERS", "STAGES", "STEPS"},
Type: "bool",
Mandatory: false,
Default: true,
Aliases: []config.Alias{},
},
{
@ -658,7 +620,6 @@ func fortifyExecuteScanMetadata() config.StepData {
Scope: []string{"GENERAL", "PARAMETERS", "STAGES", "STEPS"},
Type: "string",
Mandatory: false,
Default: `/upload/resultFileUpload.html`,
Aliases: []config.Alias{{Name: "fortifyFprUploadEndpoint"}},
},
{
@ -667,7 +628,6 @@ func fortifyExecuteScanMetadata() config.StepData {
Scope: []string{"PARAMETERS", "STAGES", "STEPS"},
Type: "string",
Mandatory: false,
Default: `{{list .GroupID .ArtifactID | join "-" | trimAll "-"}}`,
Aliases: []config.Alias{{Name: "fortifyProjectName"}},
},
{
@ -676,7 +636,6 @@ func fortifyExecuteScanMetadata() config.StepData {
Scope: []string{"PARAMETERS", "STAGES", "STEPS"},
Type: "bool",
Mandatory: false,
Default: false,
Aliases: []config.Alias{},
},
{
@ -685,7 +644,6 @@ func fortifyExecuteScanMetadata() config.StepData {
Scope: []string{"GENERAL", "PARAMETERS", "STAGES", "STEPS"},
Type: "string",
Mandatory: true,
Default: os.Getenv("PIPER_serverUrl"),
Aliases: []config.Alias{{Name: "fortifyServerUrl"}, {Name: "sscUrl"}},
},
{
@ -694,7 +652,6 @@ func fortifyExecuteScanMetadata() config.StepData {
Scope: []string{"PARAMETERS", "STAGES", "STEPS"},
Type: "int",
Mandatory: false,
Default: 1,
Aliases: []config.Alias{},
},
{
@ -703,7 +660,6 @@ func fortifyExecuteScanMetadata() config.StepData {
Scope: []string{"PARAMETERS", "STAGES", "STEPS"},
Type: "int",
Mandatory: false,
Default: 5,
Aliases: []config.Alias{},
},
{
@ -712,7 +668,6 @@ func fortifyExecuteScanMetadata() config.StepData {
Scope: []string{"PARAMETERS", "STAGES", "STEPS"},
Type: "int",
Mandatory: false,
Default: 1,
Aliases: []config.Alias{},
},
{
@ -721,7 +676,6 @@ func fortifyExecuteScanMetadata() config.StepData {
Scope: []string{"GENERAL", "PARAMETERS", "STAGES", "STEPS"},
Type: "string",
Mandatory: false,
Default: `/download/currentStateFprDownload.html`,
Aliases: []config.Alias{{Name: "fortifyFprDownloadEndpoint"}},
},
{
@ -730,7 +684,6 @@ func fortifyExecuteScanMetadata() config.StepData {
Scope: []string{"PARAMETERS", "GENERAL", "STAGES", "STEPS"},
Type: "string",
Mandatory: false,
Default: `major`,
Aliases: []config.Alias{{Name: "defaultVersioningModel"}},
},
{
@ -739,7 +692,6 @@ func fortifyExecuteScanMetadata() config.StepData {
Scope: []string{"PARAMETERS", "STAGES", "STEPS"},
Type: "string",
Mandatory: false,
Default: `{{.Pip}} install --user .`,
Aliases: []config.Alias{},
},
{
@ -748,7 +700,6 @@ func fortifyExecuteScanMetadata() config.StepData {
Scope: []string{"PARAMETERS", "STAGES", "STEPS"},
Type: "int",
Mandatory: false,
Default: 18,
Aliases: []config.Alias{},
},
{
@ -757,7 +708,6 @@ func fortifyExecuteScanMetadata() config.StepData {
Scope: []string{"PARAMETERS", "STAGES", "STEPS"},
Type: "string",
Mandatory: false,
Default: `SAP`,
Aliases: []config.Alias{},
},
{
@ -766,7 +716,6 @@ func fortifyExecuteScanMetadata() config.StepData {
Scope: []string{"PARAMETERS", "STAGES", "STEPS"},
Type: "string",
Mandatory: false,
Default: os.Getenv("PIPER_pullRequestName"),
Aliases: []config.Alias{},
},
{
@ -775,7 +724,6 @@ func fortifyExecuteScanMetadata() config.StepData {
Scope: []string{"PARAMETERS", "STAGES", "STEPS"},
Type: "string",
Mandatory: false,
Default: `.*Merge pull request #(\\d+) from.*`,
Aliases: []config.Alias{},
},
{
@ -784,7 +732,6 @@ func fortifyExecuteScanMetadata() config.StepData {
Scope: []string{"GENERAL", "PARAMETERS", "STAGES", "STEPS"},
Type: "string",
Mandatory: false,
Default: `maven`,
Aliases: []config.Alias{},
},
{
@ -793,7 +740,6 @@ func fortifyExecuteScanMetadata() config.StepData {
Scope: []string{"GENERAL", "STEPS", "STAGES", "PARAMETERS"},
Type: "string",
Mandatory: false,
Default: os.Getenv("PIPER_projectSettingsFile"),
Aliases: []config.Alias{{Name: "maven/projectSettingsFile"}},
},
{
@ -802,7 +748,6 @@ func fortifyExecuteScanMetadata() config.StepData {
Scope: []string{"GENERAL", "STEPS", "STAGES", "PARAMETERS"},
Type: "string",
Mandatory: false,
Default: os.Getenv("PIPER_globalSettingsFile"),
Aliases: []config.Alias{{Name: "maven/globalSettingsFile"}},
},
{
@ -811,7 +756,6 @@ func fortifyExecuteScanMetadata() config.StepData {
Scope: []string{"GENERAL", "STEPS", "STAGES", "PARAMETERS"},
Type: "string",
Mandatory: false,
Default: os.Getenv("PIPER_m2Path"),
Aliases: []config.Alias{{Name: "maven/m2Path"}},
},
{
@ -820,7 +764,6 @@ func fortifyExecuteScanMetadata() config.StepData {
Scope: []string{"PARAMETERS", "STAGES", "STEPS"},
Type: "bool",
Mandatory: false,
Default: false,
Aliases: []config.Alias{},
},
{
@ -829,7 +772,6 @@ func fortifyExecuteScanMetadata() config.StepData {
Scope: []string{"GENERAL", "STEPS", "STAGES", "PARAMETERS"},
Type: "bool",
Mandatory: false,
Default: false,
Aliases: []config.Alias{},
},
},

View File

@ -159,9 +159,6 @@ func gaugeExecuteTestsMetadata() config.StepData {
},
Spec: config.StepSpec{
Inputs: config.StepInputs{
Secrets: []config.StepSecrets{
{Name: "seleniumHubCredentialsId", Description: "Defines the id of the user/password credentials to be used to connect to a Selenium Hub. The credentials are provided in the environment variables `PIPER_SELENIUM_HUB_USER` and `PIPER_SELENIUM_HUB_PASSWORD`.", Type: "jenkins"},
},
Resources: []config.StepResources{
{Name: "buildDescriptor", Type: "stash"},
{Name: "tests", Type: "stash"},
@ -173,7 +170,6 @@ func gaugeExecuteTestsMetadata() config.StepData {
Scope: []string{"STEPS", "STAGES", "PARAMETERS"},
Type: "string",
Mandatory: false,
Default: os.Getenv("PIPER_installCommand"),
Aliases: []config.Alias{},
},
{
@ -182,7 +178,6 @@ func gaugeExecuteTestsMetadata() config.StepData {
Scope: []string{"STEPS", "STAGES", "PARAMETERS"},
Type: "string",
Mandatory: false,
Default: os.Getenv("PIPER_languageRunner"),
Aliases: []config.Alias{},
},
{
@ -191,7 +186,6 @@ func gaugeExecuteTestsMetadata() config.StepData {
Scope: []string{"STEPS", "STAGES", "PARAMETERS"},
Type: "string",
Mandatory: true,
Default: os.Getenv("PIPER_runCommand"),
Aliases: []config.Alias{},
},
{
@ -200,7 +194,6 @@ func gaugeExecuteTestsMetadata() config.StepData {
Scope: []string{"STEPS", "STAGES", "PARAMETERS"},
Type: "string",
Mandatory: false,
Default: os.Getenv("PIPER_testOptions"),
Aliases: []config.Alias{},
},
},

View File

@ -120,9 +120,6 @@ func gctsCloneRepositoryMetadata() config.StepData {
},
Spec: config.StepSpec{
Inputs: config.StepInputs{
Secrets: []config.StepSecrets{
{Name: "abapCredentialsId", Description: "Jenkins credentials ID containing username and password for authentication to the ABAP system on which you want to clone the repository", Type: "jenkins"},
},
Parameters: []config.StepParameters{
{
Name: "username",
@ -136,7 +133,6 @@ func gctsCloneRepositoryMetadata() config.StepData {
Scope: []string{"PARAMETERS", "STAGES", "STEPS"},
Type: "string",
Mandatory: true,
Default: os.Getenv("PIPER_username"),
Aliases: []config.Alias{},
},
{
@ -151,7 +147,6 @@ func gctsCloneRepositoryMetadata() config.StepData {
Scope: []string{"PARAMETERS", "STAGES", "STEPS"},
Type: "string",
Mandatory: true,
Default: os.Getenv("PIPER_password"),
Aliases: []config.Alias{},
},
{
@ -160,7 +155,6 @@ func gctsCloneRepositoryMetadata() config.StepData {
Scope: []string{"PARAMETERS", "STAGES", "STEPS"},
Type: "string",
Mandatory: true,
Default: os.Getenv("PIPER_repository"),
Aliases: []config.Alias{},
},
{
@ -169,7 +163,6 @@ func gctsCloneRepositoryMetadata() config.StepData {
Scope: []string{"PARAMETERS", "STAGES", "STEPS"},
Type: "string",
Mandatory: true,
Default: os.Getenv("PIPER_host"),
Aliases: []config.Alias{},
},
{
@ -178,7 +171,6 @@ func gctsCloneRepositoryMetadata() config.StepData {
Scope: []string{"PARAMETERS", "STAGES", "STEPS"},
Type: "string",
Mandatory: true,
Default: os.Getenv("PIPER_client"),
Aliases: []config.Alias{},
},
},

View File

@ -128,9 +128,6 @@ func gctsCreateRepositoryMetadata() config.StepData {
},
Spec: config.StepSpec{
Inputs: config.StepInputs{
Secrets: []config.StepSecrets{
{Name: "abapCredentialsId", Description: "Jenkins credentials ID containing username and password for authentication to the ABAP system on which you want to create the repository", Type: "jenkins"},
},
Parameters: []config.StepParameters{
{
Name: "username",
@ -144,7 +141,6 @@ func gctsCreateRepositoryMetadata() config.StepData {
Scope: []string{"PARAMETERS", "STAGES", "STEPS"},
Type: "string",
Mandatory: true,
Default: os.Getenv("PIPER_username"),
Aliases: []config.Alias{},
},
{
@ -159,7 +155,6 @@ func gctsCreateRepositoryMetadata() config.StepData {
Scope: []string{"PARAMETERS", "STAGES", "STEPS"},
Type: "string",
Mandatory: true,
Default: os.Getenv("PIPER_password"),
Aliases: []config.Alias{},
},
{
@ -168,7 +163,6 @@ func gctsCreateRepositoryMetadata() config.StepData {
Scope: []string{"PARAMETERS", "STAGES", "STEPS"},
Type: "string",
Mandatory: true,
Default: os.Getenv("PIPER_repository"),
Aliases: []config.Alias{},
},
{
@ -177,7 +171,6 @@ func gctsCreateRepositoryMetadata() config.StepData {
Scope: []string{"PARAMETERS", "STAGES", "STEPS"},
Type: "string",
Mandatory: true,
Default: os.Getenv("PIPER_host"),
Aliases: []config.Alias{},
},
{
@ -186,7 +179,6 @@ func gctsCreateRepositoryMetadata() config.StepData {
Scope: []string{"PARAMETERS", "STAGES", "STEPS"},
Type: "string",
Mandatory: true,
Default: os.Getenv("PIPER_client"),
Aliases: []config.Alias{},
},
{
@ -195,7 +187,6 @@ func gctsCreateRepositoryMetadata() config.StepData {
Scope: []string{"PARAMETERS", "STAGES", "STEPS"},
Type: "string",
Mandatory: false,
Default: os.Getenv("PIPER_remoteRepositoryURL"),
Aliases: []config.Alias{},
},
{
@ -204,7 +195,6 @@ func gctsCreateRepositoryMetadata() config.StepData {
Scope: []string{"PARAMETERS", "STAGES", "STEPS"},
Type: "string",
Mandatory: false,
Default: os.Getenv("PIPER_role"),
Aliases: []config.Alias{},
},
{
@ -213,7 +203,6 @@ func gctsCreateRepositoryMetadata() config.StepData {
Scope: []string{"PARAMETERS", "STAGES", "STEPS"},
Type: "string",
Mandatory: false,
Default: os.Getenv("PIPER_vSID"),
Aliases: []config.Alias{},
},
{
@ -222,7 +211,6 @@ func gctsCreateRepositoryMetadata() config.StepData {
Scope: []string{"PARAMETERS", "STAGES", "STEPS"},
Type: "string",
Mandatory: false,
Default: `GIT`,
Aliases: []config.Alias{},
},
},

View File

@ -139,9 +139,6 @@ func gctsDeployMetadata() config.StepData {
},
Spec: config.StepSpec{
Inputs: config.StepInputs{
Secrets: []config.StepSecrets{
{Name: "abapCredentialsId", Description: "Jenkins credentials ID containing username and password for authentication to the ABAP system on which you want to deploy a commit", Type: "jenkins"},
},
Parameters: []config.StepParameters{
{
Name: "username",
@ -155,7 +152,6 @@ func gctsDeployMetadata() config.StepData {
Scope: []string{"PARAMETERS", "STAGES", "STEPS"},
Type: "string",
Mandatory: true,
Default: os.Getenv("PIPER_username"),
Aliases: []config.Alias{},
},
{
@ -170,7 +166,6 @@ func gctsDeployMetadata() config.StepData {
Scope: []string{"PARAMETERS", "STAGES", "STEPS"},
Type: "string",
Mandatory: true,
Default: os.Getenv("PIPER_password"),
Aliases: []config.Alias{},
},
{
@ -179,7 +174,6 @@ func gctsDeployMetadata() config.StepData {
Scope: []string{"PARAMETERS", "STAGES", "STEPS"},
Type: "string",
Mandatory: true,
Default: os.Getenv("PIPER_repository"),
Aliases: []config.Alias{},
},
{
@ -188,7 +182,6 @@ func gctsDeployMetadata() config.StepData {
Scope: []string{"PARAMETERS", "STAGES", "STEPS"},
Type: "string",
Mandatory: true,
Default: os.Getenv("PIPER_host"),
Aliases: []config.Alias{},
},
{
@ -197,7 +190,6 @@ func gctsDeployMetadata() config.StepData {
Scope: []string{"PARAMETERS", "STAGES", "STEPS"},
Type: "string",
Mandatory: true,
Default: os.Getenv("PIPER_client"),
Aliases: []config.Alias{},
},
{
@ -206,7 +198,6 @@ func gctsDeployMetadata() config.StepData {
Scope: []string{"PARAMETERS", "STAGES", "STEPS"},
Type: "string",
Mandatory: false,
Default: os.Getenv("PIPER_commit"),
Aliases: []config.Alias{},
},
{
@ -215,7 +206,6 @@ func gctsDeployMetadata() config.StepData {
Scope: []string{"PARAMETERS", "STAGES", "STEPS"},
Type: "string",
Mandatory: true,
Default: os.Getenv("PIPER_remoteRepositoryURL"),
Aliases: []config.Alias{},
},
{
@ -224,7 +214,6 @@ func gctsDeployMetadata() config.StepData {
Scope: []string{"PARAMETERS", "STAGES", "STEPS"},
Type: "string",
Mandatory: false,
Default: os.Getenv("PIPER_role"),
Aliases: []config.Alias{},
},
{
@ -233,7 +222,6 @@ func gctsDeployMetadata() config.StepData {
Scope: []string{"PARAMETERS", "STAGES", "STEPS"},
Type: "string",
Mandatory: false,
Default: os.Getenv("PIPER_vSID"),
Aliases: []config.Alias{},
},
{
@ -242,7 +230,6 @@ func gctsDeployMetadata() config.StepData {
Scope: []string{"PARAMETERS", "STAGES", "STEPS"},
Type: "string",
Mandatory: false,
Default: `GIT`,
Aliases: []config.Alias{},
},
{
@ -251,7 +238,6 @@ func gctsDeployMetadata() config.StepData {
Scope: []string{"PARAMETERS", "STAGES", "STEPS"},
Type: "string",
Mandatory: false,
Default: os.Getenv("PIPER_branch"),
Aliases: []config.Alias{},
},
{
@ -260,7 +246,6 @@ func gctsDeployMetadata() config.StepData {
Scope: []string{"PARAMETERS", "STAGES", "STEPS"},
Type: "string",
Mandatory: false,
Default: os.Getenv("PIPER_scope"),
Aliases: []config.Alias{},
},
{
@ -269,7 +254,6 @@ func gctsDeployMetadata() config.StepData {
Scope: []string{"PARAMETERS", "STAGES", "STEPS"},
Type: "bool",
Mandatory: false,
Default: false,
Aliases: []config.Alias{},
},
{
@ -278,8 +262,7 @@ func gctsDeployMetadata() config.StepData {
Scope: []string{"PARAMETERS", "STAGES", "STEPS", "GENERAL"},
Type: "map[string]interface{}",
Mandatory: false,
Aliases: []config.Alias{{Name: "gctsRepositoryConfigurations"}},
Aliases: []config.Alias{{Name: "gctsRepositoryConfigurations"}},
},
},
},

View File

@ -120,9 +120,6 @@ func gctsExecuteABAPUnitTestsMetadata() config.StepData {
},
Spec: config.StepSpec{
Inputs: config.StepInputs{
Secrets: []config.StepSecrets{
{Name: "abapCredentialsId", Description: "Jenkins credentials ID containing username and password for authentication to the ABAP system on which you want to perform the unit tests", Type: "jenkins"},
},
Parameters: []config.StepParameters{
{
Name: "username",
@ -136,7 +133,6 @@ func gctsExecuteABAPUnitTestsMetadata() config.StepData {
Scope: []string{"PARAMETERS", "STAGES", "STEPS"},
Type: "string",
Mandatory: true,
Default: os.Getenv("PIPER_username"),
Aliases: []config.Alias{},
},
{
@ -151,7 +147,6 @@ func gctsExecuteABAPUnitTestsMetadata() config.StepData {
Scope: []string{"PARAMETERS", "STAGES", "STEPS"},
Type: "string",
Mandatory: true,
Default: os.Getenv("PIPER_password"),
Aliases: []config.Alias{},
},
{
@ -160,7 +155,6 @@ func gctsExecuteABAPUnitTestsMetadata() config.StepData {
Scope: []string{"PARAMETERS", "STAGES", "STEPS"},
Type: "string",
Mandatory: true,
Default: os.Getenv("PIPER_repository"),
Aliases: []config.Alias{},
},
{
@ -169,7 +163,6 @@ func gctsExecuteABAPUnitTestsMetadata() config.StepData {
Scope: []string{"PARAMETERS", "STAGES", "STEPS"},
Type: "string",
Mandatory: true,
Default: os.Getenv("PIPER_host"),
Aliases: []config.Alias{},
},
{
@ -178,7 +171,6 @@ func gctsExecuteABAPUnitTestsMetadata() config.StepData {
Scope: []string{"PARAMETERS", "STAGES", "STEPS"},
Type: "string",
Mandatory: true,
Default: os.Getenv("PIPER_client"),
Aliases: []config.Alias{},
},
},

View File

@ -127,10 +127,6 @@ func gctsRollbackMetadata() config.StepData {
},
Spec: config.StepSpec{
Inputs: config.StepInputs{
Secrets: []config.StepSecrets{
{Name: "abapCredentialsId", Description: "Jenkins credentials ID containing username and password for authentication to the ABAP system on which you want to perform the rollback", Type: "jenkins"},
{Name: "githubPersonalAccessTokenId", Description: "GitHub personal access token with at least read permissions for the remote repository", Type: "jenkins"},
},
Parameters: []config.StepParameters{
{
Name: "username",
@ -144,7 +140,6 @@ func gctsRollbackMetadata() config.StepData {
Scope: []string{"PARAMETERS", "STAGES", "STEPS"},
Type: "string",
Mandatory: true,
Default: os.Getenv("PIPER_username"),
Aliases: []config.Alias{},
},
{
@ -159,7 +154,6 @@ func gctsRollbackMetadata() config.StepData {
Scope: []string{"PARAMETERS", "STAGES", "STEPS"},
Type: "string",
Mandatory: true,
Default: os.Getenv("PIPER_password"),
Aliases: []config.Alias{},
},
{
@ -168,7 +162,6 @@ func gctsRollbackMetadata() config.StepData {
Scope: []string{"PARAMETERS", "STAGES", "STEPS"},
Type: "string",
Mandatory: true,
Default: os.Getenv("PIPER_repository"),
Aliases: []config.Alias{},
},
{
@ -177,7 +170,6 @@ func gctsRollbackMetadata() config.StepData {
Scope: []string{"PARAMETERS", "STAGES", "STEPS"},
Type: "string",
Mandatory: true,
Default: os.Getenv("PIPER_host"),
Aliases: []config.Alias{},
},
{
@ -186,7 +178,6 @@ func gctsRollbackMetadata() config.StepData {
Scope: []string{"PARAMETERS", "STAGES", "STEPS"},
Type: "string",
Mandatory: true,
Default: os.Getenv("PIPER_client"),
Aliases: []config.Alias{},
},
{
@ -195,7 +186,6 @@ func gctsRollbackMetadata() config.StepData {
Scope: []string{"PARAMETERS", "STAGES", "STEPS"},
Type: "string",
Mandatory: false,
Default: os.Getenv("PIPER_commit"),
Aliases: []config.Alias{},
},
{
@ -209,7 +199,6 @@ func gctsRollbackMetadata() config.StepData {
Scope: []string{"PARAMETERS", "STAGES", "STEPS"},
Type: "string",
Mandatory: false,
Default: os.Getenv("PIPER_githubPersonalAccessToken"),
Aliases: []config.Alias{},
},
},

View File

@ -57,9 +57,15 @@ func generateConfig() error {
var myConfig config.Config
var stepConfig config.StepConfig
metadata, err := resolveMetadata()
var metadata config.StepData
metadataFile, err := configOptions.openFile(configOptions.stepMetadata)
if err != nil {
return errors.Wrapf(err, "failed to resolve metadata")
return errors.Wrap(err, "metadata: open failed")
}
err = metadata.ReadPipelineStepData(metadataFile)
if err != nil {
return errors.Wrap(err, "metadata: read failed")
}
// prepare output resource directories:
@ -127,9 +133,10 @@ func addConfigFlags(cmd *cobra.Command) {
cmd.Flags().StringVar(&configOptions.parametersJSON, "parametersJSON", os.Getenv("PIPER_parametersJSON"), "Parameters to be considered in JSON format")
cmd.Flags().StringVar(&configOptions.stepMetadata, "stepMetadata", "", "Step metadata, passed as path to yaml")
cmd.Flags().StringVar(&configOptions.stepName, "stepName", "", "Step name, used to get step metadata if yaml path is not set")
cmd.Flags().BoolVar(&configOptions.contextConfig, "contextConfig", false, "Defines if step context configuration should be loaded instead of step config")
_ = cmd.MarkFlagRequired("stepMetadata")
}
func defaultsAndFilters(metadata *config.StepData, stepName string) ([]io.ReadCloser, config.StepFilters, error) {
@ -189,30 +196,3 @@ func prepareOutputEnvironment(outputResources []config.StepResources, envRootPat
}
}
}
func resolveMetadata() (config.StepData, error) {
var metadata config.StepData
if configOptions.stepMetadata != "" {
metadataFile, err := configOptions.openFile(configOptions.stepMetadata)
if err != nil {
return metadata, errors.Wrap(err, "open failed")
}
err = metadata.ReadPipelineStepData(metadataFile)
if err != nil {
return metadata, errors.Wrap(err, "read failed")
}
} else {
if configOptions.stepName != "" {
metadataMap := GetAllStepMetadata()
var ok bool
metadata, ok = metadataMap[configOptions.stepName]
if !ok {
return metadata, errors.Errorf("could not retrieve by stepName %v", configOptions.stepName)
}
} else {
return metadata, errors.Errorf("either one of stepMetadata or stepName parameter has to be passed")
}
}
return metadata, nil
}

View File

@ -45,19 +45,18 @@ func TestConfigCommand(t *testing.T) {
})
t.Run("Required flags", func(t *testing.T) {
exp := []string{}
exp := []string{"stepMetadata"}
assert.Equal(t, exp, gotReq, "required flags incorrect")
})
t.Run("Optional flags", func(t *testing.T) {
exp := []string{"contextConfig", "output", "parametersJSON", "stepMetadata", "stepName"}
exp := []string{"contextConfig", "output", "parametersJSON"}
assert.Equal(t, exp, gotOpt, "optional flags incorrect")
})
t.Run("Run", func(t *testing.T) {
t.Run("Success case", func(t *testing.T) {
configOptions.openFile = configOpenFileMock
configOptions.stepName = "githubCreateIssue"
cmd.Run(cmd, []string{})
})
})
@ -311,25 +310,3 @@ func TestPrepareOutputEnvironment(t *testing.T) {
assert.NoDirExists(t, filepath.Join(dir, "influx", "measurement0", "influx0_0"))
assert.NoDirExists(t, filepath.Join(dir, "influx", "measurement1", "influx0_1"))
}
func TestResolveMetadata(t *testing.T) {
t.Run("Succes - stepName", func(t *testing.T) {
configOptions.stepName = "githubCreateIssue"
stepData, err := resolveMetadata()
assert.NoError(t, err)
assert.Equal(t, "githubCreateIssue", stepData.Metadata.Name)
})
t.Run("Error - wrong stepName", func(t *testing.T) {
configOptions.stepName = "notExisting"
_, err := resolveMetadata()
assert.EqualError(t, err, "could not retrieve by stepName notExisting")
})
t.Run("Error - missing input", func(t *testing.T) {
configOptions.stepName = ""
_, err := resolveMetadata()
assert.EqualError(t, err, "either one of stepMetadata or stepName parameter has to be passed")
})
}

View File

@ -127,9 +127,6 @@ func githubCheckBranchProtectionMetadata() config.StepData {
},
Spec: config.StepSpec{
Inputs: config.StepInputs{
Secrets: []config.StepSecrets{
{Name: "githubTokenCredentialsId", Description: "Jenkins 'Secret text' credentials ID containing token to authenticate to GitHub.", Type: "jenkins"},
},
Parameters: []config.StepParameters{
{
Name: "apiUrl",
@ -137,7 +134,6 @@ func githubCheckBranchProtectionMetadata() config.StepData {
Scope: []string{"GENERAL", "PARAMETERS", "STAGES", "STEPS"},
Type: "string",
Mandatory: true,
Default: `https://api.github.com`,
Aliases: []config.Alias{{Name: "githubApiUrl"}},
},
{
@ -146,7 +142,6 @@ func githubCheckBranchProtectionMetadata() config.StepData {
Scope: []string{"PARAMETERS", "STAGES", "STEPS"},
Type: "string",
Mandatory: true,
Default: `master`,
Aliases: []config.Alias{},
},
{
@ -160,7 +155,6 @@ func githubCheckBranchProtectionMetadata() config.StepData {
Scope: []string{"PARAMETERS", "STAGES", "STEPS"},
Type: "string",
Mandatory: true,
Default: os.Getenv("PIPER_owner"),
Aliases: []config.Alias{{Name: "githubOrg"}},
},
{
@ -174,7 +168,6 @@ func githubCheckBranchProtectionMetadata() config.StepData {
Scope: []string{"PARAMETERS", "STAGES", "STEPS"},
Type: "string",
Mandatory: true,
Default: os.Getenv("PIPER_repository"),
Aliases: []config.Alias{{Name: "githubRepo"}},
},
{
@ -183,7 +176,6 @@ func githubCheckBranchProtectionMetadata() config.StepData {
Scope: []string{"PARAMETERS", "STAGES", "STEPS"},
Type: "[]string",
Mandatory: false,
Default: []string{},
Aliases: []config.Alias{},
},
{
@ -192,7 +184,6 @@ func githubCheckBranchProtectionMetadata() config.StepData {
Scope: []string{"PARAMETERS", "STAGES", "STEPS"},
Type: "bool",
Mandatory: false,
Default: false,
Aliases: []config.Alias{},
},
{
@ -201,7 +192,6 @@ func githubCheckBranchProtectionMetadata() config.StepData {
Scope: []string{"PARAMETERS", "STAGES", "STEPS"},
Type: "int",
Mandatory: false,
Default: 0,
Aliases: []config.Alias{},
},
{
@ -221,7 +211,6 @@ func githubCheckBranchProtectionMetadata() config.StepData {
Scope: []string{"GENERAL", "PARAMETERS", "STAGES", "STEPS"},
Type: "string",
Mandatory: true,
Default: os.Getenv("PIPER_token"),
Aliases: []config.Alias{{Name: "githubToken"}, {Name: "access_token"}},
},
},

View File

@ -125,9 +125,6 @@ func githubCommentIssueMetadata() config.StepData {
},
Spec: config.StepSpec{
Inputs: config.StepInputs{
Secrets: []config.StepSecrets{
{Name: "githubTokenCredentialsId", Description: "Jenkins 'Secret text' credentials ID containing token to authenticate to GitHub.", Type: "jenkins"},
},
Parameters: []config.StepParameters{
{
Name: "apiUrl",
@ -135,7 +132,6 @@ func githubCommentIssueMetadata() config.StepData {
Scope: []string{"GENERAL", "PARAMETERS", "STAGES", "STEPS"},
Type: "string",
Mandatory: true,
Default: `https://api.github.com`,
Aliases: []config.Alias{{Name: "githubApiUrl"}},
},
{
@ -144,7 +140,6 @@ func githubCommentIssueMetadata() config.StepData {
Scope: []string{"PARAMETERS", "STAGES", "STEPS"},
Type: "string",
Mandatory: true,
Default: os.Getenv("PIPER_body"),
Aliases: []config.Alias{},
},
{
@ -153,7 +148,6 @@ func githubCommentIssueMetadata() config.StepData {
Scope: []string{"PARAMETERS", "STAGES", "STEPS"},
Type: "int",
Mandatory: true,
Default: 0,
Aliases: []config.Alias{},
},
{
@ -167,7 +161,6 @@ func githubCommentIssueMetadata() config.StepData {
Scope: []string{"PARAMETERS", "STAGES", "STEPS"},
Type: "string",
Mandatory: true,
Default: os.Getenv("PIPER_owner"),
Aliases: []config.Alias{{Name: "githubOrg"}},
},
{
@ -181,7 +174,6 @@ func githubCommentIssueMetadata() config.StepData {
Scope: []string{"PARAMETERS", "STAGES", "STEPS"},
Type: "string",
Mandatory: true,
Default: os.Getenv("PIPER_repository"),
Aliases: []config.Alias{{Name: "githubRepo"}},
},
{
@ -201,7 +193,6 @@ func githubCommentIssueMetadata() config.StepData {
Scope: []string{"GENERAL", "PARAMETERS", "STAGES", "STEPS"},
Type: "string",
Mandatory: true,
Default: os.Getenv("PIPER_token"),
Aliases: []config.Alias{{Name: "githubToken"}, {Name: "access_token"}},
},
},

View File

@ -125,9 +125,6 @@ func githubCreateIssueMetadata() config.StepData {
},
Spec: config.StepSpec{
Inputs: config.StepInputs{
Secrets: []config.StepSecrets{
{Name: "githubTokenCredentialsId", Description: "Jenkins 'Secret text' credentials ID containing token to authenticate to GitHub.", Type: "jenkins"},
},
Parameters: []config.StepParameters{
{
Name: "apiUrl",
@ -135,7 +132,6 @@ func githubCreateIssueMetadata() config.StepData {
Scope: []string{"GENERAL", "PARAMETERS", "STAGES", "STEPS"},
Type: "string",
Mandatory: true,
Default: `https://api.github.com`,
Aliases: []config.Alias{{Name: "githubApiUrl"}},
},
{
@ -144,7 +140,6 @@ func githubCreateIssueMetadata() config.StepData {
Scope: []string{"PARAMETERS", "STAGES", "STEPS"},
Type: "string",
Mandatory: false,
Default: os.Getenv("PIPER_body"),
Aliases: []config.Alias{},
},
{
@ -153,7 +148,6 @@ func githubCreateIssueMetadata() config.StepData {
Scope: []string{"PARAMETERS", "STAGES", "STEPS"},
Type: "string",
Mandatory: false,
Default: os.Getenv("PIPER_bodyFilePath"),
Aliases: []config.Alias{},
},
{
@ -167,7 +161,6 @@ func githubCreateIssueMetadata() config.StepData {
Scope: []string{"PARAMETERS", "STAGES", "STEPS"},
Type: "string",
Mandatory: true,
Default: os.Getenv("PIPER_owner"),
Aliases: []config.Alias{{Name: "githubOrg"}},
},
{
@ -181,7 +174,6 @@ func githubCreateIssueMetadata() config.StepData {
Scope: []string{"PARAMETERS", "STAGES", "STEPS"},
Type: "string",
Mandatory: true,
Default: os.Getenv("PIPER_repository"),
Aliases: []config.Alias{{Name: "githubRepo"}},
},
{
@ -190,7 +182,6 @@ func githubCreateIssueMetadata() config.StepData {
Scope: []string{"PARAMETERS", "STAGES", "STEPS"},
Type: "string",
Mandatory: true,
Default: os.Getenv("PIPER_title"),
Aliases: []config.Alias{},
},
{
@ -210,7 +201,6 @@ func githubCreateIssueMetadata() config.StepData {
Scope: []string{"GENERAL", "PARAMETERS", "STAGES", "STEPS"},
Type: "string",
Mandatory: true,
Default: os.Getenv("PIPER_token"),
Aliases: []config.Alias{{Name: "githubToken"}, {Name: "access_token"}},
},
},

View File

@ -137,9 +137,6 @@ func githubCreatePullRequestMetadata() config.StepData {
},
Spec: config.StepSpec{
Inputs: config.StepInputs{
Secrets: []config.StepSecrets{
{Name: "githubTokenCredentialsId", Description: "Jenkins 'Secret text' credentials ID containing token to authenticate to GitHub.", Type: "jenkins"},
},
Parameters: []config.StepParameters{
{
Name: "assignees",
@ -147,7 +144,6 @@ func githubCreatePullRequestMetadata() config.StepData {
Scope: []string{"PARAMETERS", "STAGES", "STEPS"},
Type: "[]string",
Mandatory: false,
Default: []string{},
Aliases: []config.Alias{},
},
{
@ -156,7 +152,6 @@ func githubCreatePullRequestMetadata() config.StepData {
Scope: []string{"PARAMETERS", "STAGES", "STEPS"},
Type: "string",
Mandatory: true,
Default: os.Getenv("PIPER_base"),
Aliases: []config.Alias{},
},
{
@ -165,7 +160,6 @@ func githubCreatePullRequestMetadata() config.StepData {
Scope: []string{"PARAMETERS", "STAGES", "STEPS"},
Type: "string",
Mandatory: true,
Default: os.Getenv("PIPER_body"),
Aliases: []config.Alias{},
},
{
@ -174,7 +168,6 @@ func githubCreatePullRequestMetadata() config.StepData {
Scope: []string{"GENERAL", "PARAMETERS", "STAGES", "STEPS"},
Type: "string",
Mandatory: true,
Default: `https://api.github.com`,
Aliases: []config.Alias{{Name: "githubApiUrl"}},
},
{
@ -183,7 +176,6 @@ func githubCreatePullRequestMetadata() config.StepData {
Scope: []string{"PARAMETERS", "STAGES", "STEPS"},
Type: "string",
Mandatory: true,
Default: os.Getenv("PIPER_head"),
Aliases: []config.Alias{},
},
{
@ -197,7 +189,6 @@ func githubCreatePullRequestMetadata() config.StepData {
Scope: []string{"PARAMETERS", "STAGES", "STEPS"},
Type: "string",
Mandatory: true,
Default: os.Getenv("PIPER_owner"),
Aliases: []config.Alias{{Name: "githubOrg"}},
},
{
@ -211,7 +202,6 @@ func githubCreatePullRequestMetadata() config.StepData {
Scope: []string{"PARAMETERS", "STAGES", "STEPS"},
Type: "string",
Mandatory: true,
Default: os.Getenv("PIPER_repository"),
Aliases: []config.Alias{{Name: "githubRepo"}},
},
{
@ -220,7 +210,6 @@ func githubCreatePullRequestMetadata() config.StepData {
Scope: []string{"GENERAL", "PARAMETERS", "STAGES", "STEPS"},
Type: "string",
Mandatory: true,
Default: `https://github.com`,
Aliases: []config.Alias{{Name: "githubServerUrl"}},
},
{
@ -229,7 +218,6 @@ func githubCreatePullRequestMetadata() config.StepData {
Scope: []string{"PARAMETERS", "STAGES", "STEPS"},
Type: "string",
Mandatory: true,
Default: os.Getenv("PIPER_title"),
Aliases: []config.Alias{},
},
{
@ -249,7 +237,6 @@ func githubCreatePullRequestMetadata() config.StepData {
Scope: []string{"GENERAL", "PARAMETERS", "STAGES", "STEPS"},
Type: "string",
Mandatory: true,
Default: os.Getenv("PIPER_token"),
Aliases: []config.Alias{{Name: "githubToken"}, {Name: "access_token"}},
},
{
@ -258,7 +245,6 @@ func githubCreatePullRequestMetadata() config.StepData {
Scope: []string{"PARAMETERS", "STAGES", "STEPS"},
Type: "[]string",
Mandatory: false,
Default: []string{},
Aliases: []config.Alias{},
},
},

View File

@ -150,9 +150,6 @@ func githubPublishReleaseMetadata() config.StepData {
},
Spec: config.StepSpec{
Inputs: config.StepInputs{
Secrets: []config.StepSecrets{
{Name: "githubTokenCredentialsId", Description: "Jenkins 'Secret text' credentials ID containing token to authenticate to GitHub.", Type: "jenkins"},
},
Parameters: []config.StepParameters{
{
Name: "addClosedIssues",
@ -160,7 +157,6 @@ func githubPublishReleaseMetadata() config.StepData {
Scope: []string{"PARAMETERS", "STAGES", "STEPS"},
Type: "bool",
Mandatory: false,
Default: false,
Aliases: []config.Alias{},
},
{
@ -169,7 +165,6 @@ func githubPublishReleaseMetadata() config.StepData {
Scope: []string{"PARAMETERS", "STAGES", "STEPS"},
Type: "bool",
Mandatory: false,
Default: false,
Aliases: []config.Alias{},
},
{
@ -178,7 +173,6 @@ func githubPublishReleaseMetadata() config.StepData {
Scope: []string{"GENERAL", "PARAMETERS", "STAGES", "STEPS"},
Type: "string",
Mandatory: true,
Default: `https://api.github.com`,
Aliases: []config.Alias{{Name: "githubApiUrl"}},
},
{
@ -187,7 +181,6 @@ func githubPublishReleaseMetadata() config.StepData {
Scope: []string{"PARAMETERS", "STAGES", "STEPS"},
Type: "string",
Mandatory: false,
Default: os.Getenv("PIPER_assetPath"),
Aliases: []config.Alias{},
},
{
@ -196,7 +189,6 @@ func githubPublishReleaseMetadata() config.StepData {
Scope: []string{"PARAMETERS", "STAGES", "STEPS"},
Type: "string",
Mandatory: false,
Default: `master`,
Aliases: []config.Alias{},
},
{
@ -205,7 +197,6 @@ func githubPublishReleaseMetadata() config.StepData {
Scope: []string{"PARAMETERS", "STAGES", "STEPS"},
Type: "[]string",
Mandatory: false,
Default: []string{},
Aliases: []config.Alias{},
},
{
@ -214,7 +205,6 @@ func githubPublishReleaseMetadata() config.StepData {
Scope: []string{"PARAMETERS", "STAGES", "STEPS"},
Type: "[]string",
Mandatory: false,
Default: []string{},
Aliases: []config.Alias{},
},
{
@ -228,7 +218,6 @@ func githubPublishReleaseMetadata() config.StepData {
Scope: []string{"PARAMETERS", "STAGES", "STEPS"},
Type: "string",
Mandatory: true,
Default: os.Getenv("PIPER_owner"),
Aliases: []config.Alias{{Name: "githubOrg"}},
},
{
@ -237,7 +226,6 @@ func githubPublishReleaseMetadata() config.StepData {
Scope: []string{"PARAMETERS", "STAGES", "STEPS"},
Type: "bool",
Mandatory: false,
Default: false,
Aliases: []config.Alias{},
},
{
@ -246,7 +234,6 @@ func githubPublishReleaseMetadata() config.StepData {
Scope: []string{"PARAMETERS", "STAGES", "STEPS"},
Type: "string",
Mandatory: false,
Default: os.Getenv("PIPER_releaseBodyHeader"),
Aliases: []config.Alias{},
},
{
@ -260,7 +247,6 @@ func githubPublishReleaseMetadata() config.StepData {
Scope: []string{"PARAMETERS", "STAGES", "STEPS"},
Type: "string",
Mandatory: true,
Default: os.Getenv("PIPER_repository"),
Aliases: []config.Alias{{Name: "githubRepo"}},
},
{
@ -269,7 +255,6 @@ func githubPublishReleaseMetadata() config.StepData {
Scope: []string{"GENERAL", "PARAMETERS", "STAGES", "STEPS"},
Type: "string",
Mandatory: true,
Default: `https://github.com`,
Aliases: []config.Alias{{Name: "githubServerUrl"}},
},
{
@ -289,7 +274,6 @@ func githubPublishReleaseMetadata() config.StepData {
Scope: []string{"GENERAL", "PARAMETERS", "STAGES", "STEPS"},
Type: "string",
Mandatory: true,
Default: os.Getenv("PIPER_token"),
Aliases: []config.Alias{{Name: "githubToken"}, {Name: "access_token"}},
},
{
@ -298,7 +282,6 @@ func githubPublishReleaseMetadata() config.StepData {
Scope: []string{"GENERAL", "PARAMETERS", "STAGES", "STEPS"},
Type: "string",
Mandatory: true,
Default: `https://uploads.github.com`,
Aliases: []config.Alias{{Name: "githubUploadUrl"}},
},
{
@ -312,7 +295,6 @@ func githubPublishReleaseMetadata() config.StepData {
Scope: []string{"PARAMETERS", "STAGES", "STEPS"},
Type: "string",
Mandatory: true,
Default: os.Getenv("PIPER_version"),
Aliases: []config.Alias{},
},
},

View File

@ -138,9 +138,6 @@ func githubSetCommitStatusMetadata() config.StepData {
},
Spec: config.StepSpec{
Inputs: config.StepInputs{
Secrets: []config.StepSecrets{
{Name: "githubTokenCredentialsId", Description: "Jenkins 'Secret text' credentials ID containing token to authenticate to GitHub.", Type: "jenkins"},
},
Parameters: []config.StepParameters{
{
Name: "apiUrl",
@ -148,7 +145,6 @@ func githubSetCommitStatusMetadata() config.StepData {
Scope: []string{"GENERAL", "PARAMETERS", "STAGES", "STEPS"},
Type: "string",
Mandatory: true,
Default: `https://api.github.com`,
Aliases: []config.Alias{{Name: "githubApiUrl"}},
},
{
@ -162,7 +158,6 @@ func githubSetCommitStatusMetadata() config.StepData {
Scope: []string{"PARAMETERS", "STAGES", "STEPS"},
Type: "string",
Mandatory: true,
Default: os.Getenv("PIPER_commitId"),
Aliases: []config.Alias{},
},
{
@ -171,7 +166,6 @@ func githubSetCommitStatusMetadata() config.StepData {
Scope: []string{"PARAMETERS", "STAGES", "STEPS"},
Type: "string",
Mandatory: true,
Default: os.Getenv("PIPER_context"),
Aliases: []config.Alias{},
},
{
@ -180,7 +174,6 @@ func githubSetCommitStatusMetadata() config.StepData {
Scope: []string{"PARAMETERS", "STAGES", "STEPS"},
Type: "string",
Mandatory: false,
Default: os.Getenv("PIPER_description"),
Aliases: []config.Alias{},
},
{
@ -194,7 +187,6 @@ func githubSetCommitStatusMetadata() config.StepData {
Scope: []string{"PARAMETERS", "STAGES", "STEPS"},
Type: "string",
Mandatory: true,
Default: os.Getenv("PIPER_owner"),
Aliases: []config.Alias{{Name: "githubOrg"}},
},
{
@ -208,7 +200,6 @@ func githubSetCommitStatusMetadata() config.StepData {
Scope: []string{"PARAMETERS", "STAGES", "STEPS"},
Type: "string",
Mandatory: true,
Default: os.Getenv("PIPER_repository"),
Aliases: []config.Alias{{Name: "githubRepo"}},
},
{
@ -217,7 +208,6 @@ func githubSetCommitStatusMetadata() config.StepData {
Scope: []string{"PARAMETERS", "STAGES", "STEPS"},
Type: "string",
Mandatory: true,
Default: os.Getenv("PIPER_status"),
Aliases: []config.Alias{},
},
{
@ -226,7 +216,6 @@ func githubSetCommitStatusMetadata() config.StepData {
Scope: []string{"PARAMETERS", "STAGES", "STEPS"},
Type: "string",
Mandatory: false,
Default: os.Getenv("PIPER_targetUrl"),
Aliases: []config.Alias{},
},
{
@ -246,7 +235,6 @@ func githubSetCommitStatusMetadata() config.StepData {
Scope: []string{"GENERAL", "PARAMETERS", "STAGES", "STEPS"},
Type: "string",
Mandatory: true,
Default: os.Getenv("PIPER_token"),
Aliases: []config.Alias{{Name: "githubToken"}, {Name: "access_token"}},
},
},

View File

@ -145,9 +145,6 @@ func gitopsUpdateDeploymentMetadata() config.StepData {
},
Spec: config.StepSpec{
Inputs: config.StepInputs{
Secrets: []config.StepSecrets{
{Name: "gitHttpsCredentialsId", Description: "Jenkins 'Username with password' credentials ID containing username/password for http access to your git repository.", Type: "jenkins"},
},
Resources: []config.StepResources{
{Name: "deployDescriptor", Type: "stash"},
},
@ -158,7 +155,6 @@ func gitopsUpdateDeploymentMetadata() config.StepData {
Scope: []string{"PARAMETERS", "STAGES", "STEPS"},
Type: "string",
Mandatory: true,
Default: `master`,
Aliases: []config.Alias{},
},
{
@ -167,7 +163,6 @@ func gitopsUpdateDeploymentMetadata() config.StepData {
Scope: []string{"PARAMETERS", "STAGES", "STEPS"},
Type: "string",
Mandatory: false,
Default: os.Getenv("PIPER_commitMessage"),
Aliases: []config.Alias{},
},
{
@ -176,7 +171,6 @@ func gitopsUpdateDeploymentMetadata() config.StepData {
Scope: []string{"GENERAL", "PARAMETERS", "STAGES", "STEPS"},
Type: "string",
Mandatory: true,
Default: `https://github.com`,
Aliases: []config.Alias{{Name: "githubServerUrl"}},
},
{
@ -191,7 +185,6 @@ func gitopsUpdateDeploymentMetadata() config.StepData {
Scope: []string{"PARAMETERS", "STAGES", "STEPS"},
Type: "string",
Mandatory: true,
Default: os.Getenv("PIPER_username"),
Aliases: []config.Alias{},
},
{
@ -206,7 +199,6 @@ func gitopsUpdateDeploymentMetadata() config.StepData {
Scope: []string{"PARAMETERS", "STAGES", "STEPS"},
Type: "string",
Mandatory: true,
Default: os.Getenv("PIPER_password"),
Aliases: []config.Alias{},
},
{
@ -215,7 +207,6 @@ func gitopsUpdateDeploymentMetadata() config.StepData {
Scope: []string{"PARAMETERS", "STAGES", "STEPS"},
Type: "string",
Mandatory: true,
Default: os.Getenv("PIPER_filePath"),
Aliases: []config.Alias{},
},
{
@ -224,7 +215,6 @@ func gitopsUpdateDeploymentMetadata() config.StepData {
Scope: []string{"PARAMETERS", "STAGES", "STEPS"},
Type: "string",
Mandatory: false,
Default: os.Getenv("PIPER_containerName"),
Aliases: []config.Alias{},
},
{
@ -238,7 +228,6 @@ func gitopsUpdateDeploymentMetadata() config.StepData {
Scope: []string{"GENERAL", "PARAMETERS", "STAGES", "STEPS"},
Type: "string",
Mandatory: true,
Default: os.Getenv("PIPER_containerRegistryUrl"),
Aliases: []config.Alias{{Name: "dockerRegistryUrl"}},
},
{
@ -252,7 +241,6 @@ func gitopsUpdateDeploymentMetadata() config.StepData {
Scope: []string{"PARAMETERS", "STAGES", "STEPS"},
Type: "string",
Mandatory: true,
Default: os.Getenv("PIPER_containerImageNameTag"),
Aliases: []config.Alias{{Name: "image"}, {Name: "containerImage"}},
},
{
@ -261,7 +249,6 @@ func gitopsUpdateDeploymentMetadata() config.StepData {
Scope: []string{"PARAMETERS", "STAGES", "STEPS"},
Type: "string",
Mandatory: false,
Default: os.Getenv("PIPER_chartPath"),
Aliases: []config.Alias{{Name: "helmChartPath"}},
},
{
@ -270,7 +257,6 @@ func gitopsUpdateDeploymentMetadata() config.StepData {
Scope: []string{"PARAMETERS", "STAGES", "STEPS"},
Type: "[]string",
Mandatory: false,
Default: []string{},
Aliases: []config.Alias{},
},
{
@ -279,7 +265,6 @@ func gitopsUpdateDeploymentMetadata() config.StepData {
Scope: []string{"PARAMETERS", "STAGES", "STEPS"},
Type: "string",
Mandatory: false,
Default: os.Getenv("PIPER_deploymentName"),
Aliases: []config.Alias{{Name: "helmDeploymentName"}},
},
{
@ -288,7 +273,6 @@ func gitopsUpdateDeploymentMetadata() config.StepData {
Scope: []string{"PARAMETERS", "STAGES", "STEPS"},
Type: "string",
Mandatory: true,
Default: `kubectl`,
Aliases: []config.Alias{},
},
},

View File

@ -118,9 +118,6 @@ func hadolintExecuteMetadata() config.StepData {
},
Spec: config.StepSpec{
Inputs: config.StepInputs{
Secrets: []config.StepSecrets{
{Name: "configurationCredentialsId", Description: "Jenkins 'Username with password' credentials ID containing username/password for access to your remote configuration file.", Type: "jenkins"},
},
Parameters: []config.StepParameters{
{
Name: "configurationUrl",
@ -128,7 +125,6 @@ func hadolintExecuteMetadata() config.StepData {
Scope: []string{"PARAMETERS", "STAGES", "STEPS"},
Type: "string",
Mandatory: false,
Default: os.Getenv("PIPER_configurationUrl"),
Aliases: []config.Alias{},
},
{
@ -143,7 +139,6 @@ func hadolintExecuteMetadata() config.StepData {
Scope: []string{"PARAMETERS", "STAGES", "STEPS"},
Type: "string",
Mandatory: false,
Default: os.Getenv("PIPER_configurationUsername"),
Aliases: []config.Alias{},
},
{
@ -158,7 +153,6 @@ func hadolintExecuteMetadata() config.StepData {
Scope: []string{"PARAMETERS", "STAGES", "STEPS"},
Type: "string",
Mandatory: false,
Default: os.Getenv("PIPER_configurationPassword"),
Aliases: []config.Alias{},
},
{
@ -167,7 +161,6 @@ func hadolintExecuteMetadata() config.StepData {
Scope: []string{"GENERAL", "PARAMETERS", "STAGES", "STEPS"},
Type: "string",
Mandatory: false,
Default: `./Dockerfile`,
Aliases: []config.Alias{{Name: "dockerfile"}},
},
{
@ -176,7 +169,6 @@ func hadolintExecuteMetadata() config.StepData {
Scope: []string{"PARAMETERS", "STAGES", "STEPS"},
Type: "string",
Mandatory: false,
Default: `.hadolint.yaml`,
Aliases: []config.Alias{},
},
{
@ -185,7 +177,6 @@ func hadolintExecuteMetadata() config.StepData {
Scope: []string{"PARAMETERS", "STAGES", "STEPS"},
Type: "string",
Mandatory: false,
Default: `hadolint.xml`,
Aliases: []config.Alias{},
},
},

View File

@ -125,9 +125,6 @@ func integrationArtifactDeployMetadata() config.StepData {
},
Spec: config.StepSpec{
Inputs: config.StepInputs{
Secrets: []config.StepSecrets{
{Name: "cpiCredentialsId", Description: "Jenkins credentials ID containing username and password for authentication to the SAP Cloud Platform Integration API's", Type: "jenkins"},
},
Parameters: []config.StepParameters{
{
Name: "username",
@ -141,7 +138,6 @@ func integrationArtifactDeployMetadata() config.StepData {
Scope: []string{"PARAMETERS", "STAGES", "STEPS"},
Type: "string",
Mandatory: true,
Default: os.Getenv("PIPER_username"),
Aliases: []config.Alias{},
},
{
@ -156,7 +152,6 @@ func integrationArtifactDeployMetadata() config.StepData {
Scope: []string{"PARAMETERS", "STAGES", "STEPS"},
Type: "string",
Mandatory: true,
Default: os.Getenv("PIPER_password"),
Aliases: []config.Alias{},
},
{
@ -165,7 +160,6 @@ func integrationArtifactDeployMetadata() config.StepData {
Scope: []string{"PARAMETERS", "STAGES", "STEPS"},
Type: "string",
Mandatory: true,
Default: os.Getenv("PIPER_integrationFlowId"),
Aliases: []config.Alias{},
},
{
@ -174,7 +168,6 @@ func integrationArtifactDeployMetadata() config.StepData {
Scope: []string{"PARAMETERS", "STAGES", "STEPS"},
Type: "string",
Mandatory: true,
Default: os.Getenv("PIPER_integrationFlowVersion"),
Aliases: []config.Alias{},
},
{
@ -183,7 +176,6 @@ func integrationArtifactDeployMetadata() config.StepData {
Scope: []string{"PARAMETERS", "STAGES", "STEPS"},
Type: "string",
Mandatory: false,
Default: os.Getenv("PIPER_platform"),
Aliases: []config.Alias{},
},
{
@ -192,7 +184,6 @@ func integrationArtifactDeployMetadata() config.StepData {
Scope: []string{"PARAMETERS", "STAGES", "STEPS"},
Type: "string",
Mandatory: true,
Default: os.Getenv("PIPER_host"),
Aliases: []config.Alias{},
},
{
@ -201,7 +192,6 @@ func integrationArtifactDeployMetadata() config.StepData {
Scope: []string{"PARAMETERS", "STAGES", "STEPS"},
Type: "string",
Mandatory: true,
Default: os.Getenv("PIPER_oAuthTokenProviderUrl"),
Aliases: []config.Alias{},
},
},

View File

@ -126,9 +126,6 @@ func integrationArtifactDownloadMetadata() config.StepData {
},
Spec: config.StepSpec{
Inputs: config.StepInputs{
Secrets: []config.StepSecrets{
{Name: "cpiCredentialsId", Description: "Jenkins credentials ID containing username and password for authentication to the SAP Cloud Platform Integration API's", Type: "jenkins"},
},
Parameters: []config.StepParameters{
{
Name: "username",
@ -142,7 +139,6 @@ func integrationArtifactDownloadMetadata() config.StepData {
Scope: []string{"PARAMETERS", "STAGES", "STEPS"},
Type: "string",
Mandatory: true,
Default: os.Getenv("PIPER_username"),
Aliases: []config.Alias{},
},
{
@ -157,7 +153,6 @@ func integrationArtifactDownloadMetadata() config.StepData {
Scope: []string{"PARAMETERS", "STAGES", "STEPS"},
Type: "string",
Mandatory: true,
Default: os.Getenv("PIPER_password"),
Aliases: []config.Alias{},
},
{
@ -166,7 +161,6 @@ func integrationArtifactDownloadMetadata() config.StepData {
Scope: []string{"PARAMETERS", "STAGES", "STEPS"},
Type: "string",
Mandatory: true,
Default: os.Getenv("PIPER_integrationFlowId"),
Aliases: []config.Alias{},
},
{
@ -175,7 +169,6 @@ func integrationArtifactDownloadMetadata() config.StepData {
Scope: []string{"PARAMETERS", "STAGES", "STEPS"},
Type: "string",
Mandatory: true,
Default: os.Getenv("PIPER_integrationFlowVersion"),
Aliases: []config.Alias{},
},
{
@ -184,7 +177,6 @@ func integrationArtifactDownloadMetadata() config.StepData {
Scope: []string{"PARAMETERS", "STAGES", "STEPS"},
Type: "string",
Mandatory: true,
Default: os.Getenv("PIPER_host"),
Aliases: []config.Alias{},
},
{
@ -193,7 +185,6 @@ func integrationArtifactDownloadMetadata() config.StepData {
Scope: []string{"PARAMETERS", "STAGES", "STEPS"},
Type: "string",
Mandatory: true,
Default: os.Getenv("PIPER_oAuthTokenProviderUrl"),
Aliases: []config.Alias{},
},
{
@ -202,7 +193,6 @@ func integrationArtifactDownloadMetadata() config.StepData {
Scope: []string{"PARAMETERS", "STAGES", "STEPS"},
Type: "string",
Mandatory: true,
Default: os.Getenv("PIPER_downloadPath"),
Aliases: []config.Alias{},
},
},

View File

@ -154,9 +154,6 @@ func integrationArtifactGetMplStatusMetadata() config.StepData {
},
Spec: config.StepSpec{
Inputs: config.StepInputs{
Secrets: []config.StepSecrets{
{Name: "cpiCredentialsId", Description: "Jenkins credentials ID containing username and password for authentication to the SAP Cloud Platform Integration API's", Type: "jenkins"},
},
Parameters: []config.StepParameters{
{
Name: "username",
@ -170,7 +167,6 @@ func integrationArtifactGetMplStatusMetadata() config.StepData {
Scope: []string{"PARAMETERS", "STAGES", "STEPS"},
Type: "string",
Mandatory: true,
Default: os.Getenv("PIPER_username"),
Aliases: []config.Alias{},
},
{
@ -185,7 +181,6 @@ func integrationArtifactGetMplStatusMetadata() config.StepData {
Scope: []string{"PARAMETERS", "STAGES", "STEPS"},
Type: "string",
Mandatory: true,
Default: os.Getenv("PIPER_password"),
Aliases: []config.Alias{},
},
{
@ -194,7 +189,6 @@ func integrationArtifactGetMplStatusMetadata() config.StepData {
Scope: []string{"PARAMETERS", "STAGES", "STEPS"},
Type: "string",
Mandatory: true,
Default: os.Getenv("PIPER_integrationFlowId"),
Aliases: []config.Alias{},
},
{
@ -203,7 +197,6 @@ func integrationArtifactGetMplStatusMetadata() config.StepData {
Scope: []string{"PARAMETERS", "STAGES", "STEPS"},
Type: "string",
Mandatory: false,
Default: os.Getenv("PIPER_platform"),
Aliases: []config.Alias{},
},
{
@ -212,7 +205,6 @@ func integrationArtifactGetMplStatusMetadata() config.StepData {
Scope: []string{"PARAMETERS", "STAGES", "STEPS"},
Type: "string",
Mandatory: true,
Default: os.Getenv("PIPER_host"),
Aliases: []config.Alias{},
},
{
@ -221,7 +213,6 @@ func integrationArtifactGetMplStatusMetadata() config.StepData {
Scope: []string{"PARAMETERS", "STAGES", "STEPS"},
Type: "string",
Mandatory: true,
Default: os.Getenv("PIPER_oAuthTokenProviderUrl"),
Aliases: []config.Alias{},
},
},

View File

@ -154,9 +154,6 @@ func integrationArtifactGetServiceEndpointMetadata() config.StepData {
},
Spec: config.StepSpec{
Inputs: config.StepInputs{
Secrets: []config.StepSecrets{
{Name: "cpiCredentialsId", Description: "Jenkins credentials ID containing username and password for authentication to the SAP Cloud Platform Integration API's", Type: "jenkins"},
},
Parameters: []config.StepParameters{
{
Name: "username",
@ -170,7 +167,6 @@ func integrationArtifactGetServiceEndpointMetadata() config.StepData {
Scope: []string{"PARAMETERS", "STAGES", "STEPS"},
Type: "string",
Mandatory: true,
Default: os.Getenv("PIPER_username"),
Aliases: []config.Alias{},
},
{
@ -185,7 +181,6 @@ func integrationArtifactGetServiceEndpointMetadata() config.StepData {
Scope: []string{"PARAMETERS", "STAGES", "STEPS"},
Type: "string",
Mandatory: true,
Default: os.Getenv("PIPER_password"),
Aliases: []config.Alias{},
},
{
@ -194,7 +189,6 @@ func integrationArtifactGetServiceEndpointMetadata() config.StepData {
Scope: []string{"PARAMETERS", "STAGES", "STEPS"},
Type: "string",
Mandatory: true,
Default: os.Getenv("PIPER_integrationFlowId"),
Aliases: []config.Alias{},
},
{
@ -203,7 +197,6 @@ func integrationArtifactGetServiceEndpointMetadata() config.StepData {
Scope: []string{"PARAMETERS", "STAGES", "STEPS"},
Type: "string",
Mandatory: false,
Default: os.Getenv("PIPER_platform"),
Aliases: []config.Alias{},
},
{
@ -212,7 +205,6 @@ func integrationArtifactGetServiceEndpointMetadata() config.StepData {
Scope: []string{"PARAMETERS", "STAGES", "STEPS"},
Type: "string",
Mandatory: true,
Default: os.Getenv("PIPER_host"),
Aliases: []config.Alias{},
},
{
@ -221,7 +213,6 @@ func integrationArtifactGetServiceEndpointMetadata() config.StepData {
Scope: []string{"PARAMETERS", "STAGES", "STEPS"},
Type: "string",
Mandatory: true,
Default: os.Getenv("PIPER_oAuthTokenProviderUrl"),
Aliases: []config.Alias{},
},
},

View File

@ -131,9 +131,6 @@ func integrationArtifactUpdateConfigurationMetadata() config.StepData {
},
Spec: config.StepSpec{
Inputs: config.StepInputs{
Secrets: []config.StepSecrets{
{Name: "cpiCredentialsId", Description: "Jenkins credentials ID containing username and password for authentication to the SAP Cloud Platform Integration API's", Type: "jenkins"},
},
Parameters: []config.StepParameters{
{
Name: "username",
@ -147,7 +144,6 @@ func integrationArtifactUpdateConfigurationMetadata() config.StepData {
Scope: []string{"PARAMETERS", "STAGES", "STEPS"},
Type: "string",
Mandatory: true,
Default: os.Getenv("PIPER_username"),
Aliases: []config.Alias{},
},
{
@ -162,7 +158,6 @@ func integrationArtifactUpdateConfigurationMetadata() config.StepData {
Scope: []string{"PARAMETERS", "STAGES", "STEPS"},
Type: "string",
Mandatory: true,
Default: os.Getenv("PIPER_password"),
Aliases: []config.Alias{},
},
{
@ -171,7 +166,6 @@ func integrationArtifactUpdateConfigurationMetadata() config.StepData {
Scope: []string{"PARAMETERS", "STAGES", "STEPS"},
Type: "string",
Mandatory: true,
Default: os.Getenv("PIPER_integrationFlowId"),
Aliases: []config.Alias{},
},
{
@ -180,7 +174,6 @@ func integrationArtifactUpdateConfigurationMetadata() config.StepData {
Scope: []string{"PARAMETERS", "STAGES", "STEPS"},
Type: "string",
Mandatory: true,
Default: os.Getenv("PIPER_integrationFlowVersion"),
Aliases: []config.Alias{},
},
{
@ -189,7 +182,6 @@ func integrationArtifactUpdateConfigurationMetadata() config.StepData {
Scope: []string{"PARAMETERS", "STAGES", "STEPS"},
Type: "string",
Mandatory: false,
Default: os.Getenv("PIPER_platform"),
Aliases: []config.Alias{},
},
{
@ -198,7 +190,6 @@ func integrationArtifactUpdateConfigurationMetadata() config.StepData {
Scope: []string{"PARAMETERS", "STAGES", "STEPS"},
Type: "string",
Mandatory: true,
Default: os.Getenv("PIPER_host"),
Aliases: []config.Alias{},
},
{
@ -207,7 +198,6 @@ func integrationArtifactUpdateConfigurationMetadata() config.StepData {
Scope: []string{"PARAMETERS", "STAGES", "STEPS"},
Type: "string",
Mandatory: true,
Default: os.Getenv("PIPER_oAuthTokenProviderUrl"),
Aliases: []config.Alias{},
},
{
@ -216,7 +206,6 @@ func integrationArtifactUpdateConfigurationMetadata() config.StepData {
Scope: []string{"PARAMETERS", "STAGES", "STEPS"},
Type: "string",
Mandatory: true,
Default: os.Getenv("PIPER_parameterKey"),
Aliases: []config.Alias{},
},
{
@ -225,7 +214,6 @@ func integrationArtifactUpdateConfigurationMetadata() config.StepData {
Scope: []string{"PARAMETERS", "STAGES", "STEPS"},
Type: "string",
Mandatory: true,
Default: os.Getenv("PIPER_parameterValue"),
Aliases: []config.Alias{},
},
},

View File

@ -132,9 +132,6 @@ func integrationArtifactUploadMetadata() config.StepData {
},
Spec: config.StepSpec{
Inputs: config.StepInputs{
Secrets: []config.StepSecrets{
{Name: "cpiCredentialsId", Description: "Jenkins credentials ID containing username and password for authentication to the SAP Cloud Platform Integration API's", Type: "jenkins"},
},
Parameters: []config.StepParameters{
{
Name: "username",
@ -148,7 +145,6 @@ func integrationArtifactUploadMetadata() config.StepData {
Scope: []string{"PARAMETERS", "STAGES", "STEPS"},
Type: "string",
Mandatory: true,
Default: os.Getenv("PIPER_username"),
Aliases: []config.Alias{},
},
{
@ -163,7 +159,6 @@ func integrationArtifactUploadMetadata() config.StepData {
Scope: []string{"PARAMETERS", "STAGES", "STEPS"},
Type: "string",
Mandatory: true,
Default: os.Getenv("PIPER_password"),
Aliases: []config.Alias{},
},
{
@ -172,7 +167,6 @@ func integrationArtifactUploadMetadata() config.StepData {
Scope: []string{"PARAMETERS", "STAGES", "STEPS"},
Type: "string",
Mandatory: true,
Default: os.Getenv("PIPER_integrationFlowId"),
Aliases: []config.Alias{},
},
{
@ -181,7 +175,6 @@ func integrationArtifactUploadMetadata() config.StepData {
Scope: []string{"PARAMETERS", "STAGES", "STEPS"},
Type: "string",
Mandatory: true,
Default: os.Getenv("PIPER_integrationFlowVersion"),
Aliases: []config.Alias{},
},
{
@ -190,7 +183,6 @@ func integrationArtifactUploadMetadata() config.StepData {
Scope: []string{"PARAMETERS", "STAGES", "STEPS"},
Type: "string",
Mandatory: true,
Default: os.Getenv("PIPER_integrationFlowName"),
Aliases: []config.Alias{},
},
{
@ -199,7 +191,6 @@ func integrationArtifactUploadMetadata() config.StepData {
Scope: []string{"PARAMETERS", "STAGES", "STEPS"},
Type: "string",
Mandatory: true,
Default: os.Getenv("PIPER_packageId"),
Aliases: []config.Alias{},
},
{
@ -208,7 +199,6 @@ func integrationArtifactUploadMetadata() config.StepData {
Scope: []string{"PARAMETERS", "STAGES", "STEPS"},
Type: "string",
Mandatory: true,
Default: os.Getenv("PIPER_host"),
Aliases: []config.Alias{},
},
{
@ -217,7 +207,6 @@ func integrationArtifactUploadMetadata() config.StepData {
Scope: []string{"PARAMETERS", "STAGES", "STEPS"},
Type: "string",
Mandatory: true,
Default: os.Getenv("PIPER_oAuthTokenProviderUrl"),
Aliases: []config.Alias{},
},
{
@ -226,7 +215,6 @@ func integrationArtifactUploadMetadata() config.StepData {
Scope: []string{"PARAMETERS", "STAGES", "STEPS"},
Type: "string",
Mandatory: true,
Default: os.Getenv("PIPER_filePath"),
Aliases: []config.Alias{},
},
},

View File

@ -120,7 +120,6 @@ func jsonApplyPatchMetadata() config.StepData {
Scope: []string{"PARAMETERS"},
Type: "string",
Mandatory: true,
Default: os.Getenv("PIPER_input"),
Aliases: []config.Alias{},
},
{
@ -129,7 +128,6 @@ func jsonApplyPatchMetadata() config.StepData {
Scope: []string{"PARAMETERS"},
Type: "string",
Mandatory: true,
Default: os.Getenv("PIPER_patch"),
Aliases: []config.Alias{},
},
{
@ -138,7 +136,6 @@ func jsonApplyPatchMetadata() config.StepData {
Scope: []string{"PARAMETERS"},
Type: "string",
Mandatory: true,
Default: os.Getenv("PIPER_output"),
Aliases: []config.Alias{},
},
},

View File

@ -158,9 +158,6 @@ func kanikoExecuteMetadata() config.StepData {
},
Spec: config.StepSpec{
Inputs: config.StepInputs{
Secrets: []config.StepSecrets{
{Name: "dockerConfigJsonCredentialsId", Description: "Jenkins 'Secret file' credentials ID containing Docker config.json (with registry credential(s)). You can create it like explained in the Docker Success Center in the article about [how to generate a new auth in the config.json file](https://success.docker.com/article/generate-new-auth-in-config-json-file).", Type: "jenkins"},
},
Parameters: []config.StepParameters{
{
Name: "buildOptions",
@ -168,7 +165,6 @@ func kanikoExecuteMetadata() config.StepData {
Scope: []string{"PARAMETERS", "STAGES", "STEPS"},
Type: "[]string",
Mandatory: false,
Default: []string{`--skip-tls-verify-pull`},
Aliases: []config.Alias{},
},
{
@ -177,7 +173,6 @@ func kanikoExecuteMetadata() config.StepData {
Scope: []string{"PARAMETERS", "STAGES", "STEPS"},
Type: "string",
Mandatory: false,
Default: os.Getenv("PIPER_containerBuildOptions"),
Aliases: []config.Alias{},
},
{
@ -186,7 +181,6 @@ func kanikoExecuteMetadata() config.StepData {
Scope: []string{"PARAMETERS", "STAGES", "STEPS"},
Type: "string",
Mandatory: false,
Default: os.Getenv("PIPER_containerImage"),
Aliases: []config.Alias{{Name: "containerImageNameAndTag"}},
},
{
@ -195,7 +189,6 @@ func kanikoExecuteMetadata() config.StepData {
Scope: []string{"GENERAL", "PARAMETERS", "STAGES", "STEPS"},
Type: "string",
Mandatory: false,
Default: os.Getenv("PIPER_containerImageName"),
Aliases: []config.Alias{{Name: "dockerImageName"}},
},
{
@ -209,7 +202,6 @@ func kanikoExecuteMetadata() config.StepData {
Scope: []string{"GENERAL", "PARAMETERS", "STAGES", "STEPS"},
Type: "string",
Mandatory: false,
Default: os.Getenv("PIPER_containerImageTag"),
Aliases: []config.Alias{{Name: "artifactVersion"}},
},
{
@ -218,7 +210,6 @@ func kanikoExecuteMetadata() config.StepData {
Scope: []string{"PARAMETERS", "STAGES", "STEPS"},
Type: "string",
Mandatory: false,
Default: `rm -f /kaniko/.docker/config.json`,
Aliases: []config.Alias{},
},
{
@ -232,7 +223,6 @@ func kanikoExecuteMetadata() config.StepData {
Scope: []string{"GENERAL", "PARAMETERS", "STAGES", "STEPS"},
Type: "string",
Mandatory: false,
Default: os.Getenv("PIPER_containerRegistryUrl"),
Aliases: []config.Alias{{Name: "dockerRegistryUrl"}},
},
{
@ -241,7 +231,6 @@ func kanikoExecuteMetadata() config.StepData {
Scope: []string{"PARAMETERS", "STAGES", "STEPS"},
Type: "[]string",
Mandatory: false,
Default: []string{},
Aliases: []config.Alias{},
},
{
@ -266,7 +255,6 @@ func kanikoExecuteMetadata() config.StepData {
Scope: []string{"PARAMETERS", "STAGES", "STEPS"},
Type: "string",
Mandatory: false,
Default: os.Getenv("PIPER_dockerConfigJSON"),
Aliases: []config.Alias{},
},
{
@ -275,7 +263,6 @@ func kanikoExecuteMetadata() config.StepData {
Scope: []string{"PARAMETERS", "STAGES", "STEPS"},
Type: "string",
Mandatory: false,
Default: `Dockerfile`,
Aliases: []config.Alias{{Name: "dockerfile"}},
},
},

View File

@ -122,9 +122,6 @@ func karmaExecuteTestsMetadata() config.StepData {
},
Spec: config.StepSpec{
Inputs: config.StepInputs{
Secrets: []config.StepSecrets{
{Name: "seleniumHubCredentialsId", Description: "Defines the id of the user/password credentials to be used to connect to a Selenium Hub. The credentials are provided in the environment variables `PIPER_SELENIUM_HUB_USER` and `PIPER_SELENIUM_HUB_PASSWORD`.", Type: "jenkins"},
},
Resources: []config.StepResources{
{Name: "buildDescriptor", Type: "stash"},
{Name: "tests", Type: "stash"},
@ -136,7 +133,6 @@ func karmaExecuteTestsMetadata() config.StepData {
Scope: []string{"GENERAL", "PARAMETERS", "STAGES", "STEPS"},
Type: "string",
Mandatory: true,
Default: `npm install --quiet`,
Aliases: []config.Alias{},
},
{
@ -145,7 +141,6 @@ func karmaExecuteTestsMetadata() config.StepData {
Scope: []string{"PARAMETERS", "STAGES", "STEPS"},
Type: "[]string",
Mandatory: true,
Default: []string{`.`},
Aliases: []config.Alias{},
},
{
@ -154,7 +149,6 @@ func karmaExecuteTestsMetadata() config.StepData {
Scope: []string{"GENERAL", "PARAMETERS", "STAGES", "STEPS"},
Type: "string",
Mandatory: true,
Default: `npm run karma`,
Aliases: []config.Alias{},
},
},

View File

@ -174,12 +174,6 @@ func kubernetesDeployMetadata() config.StepData {
},
Spec: config.StepSpec{
Inputs: config.StepInputs{
Secrets: []config.StepSecrets{
{Name: "kubeConfigFileCredentialsId", Description: "Jenkins 'Secret file' credentials ID containing kubeconfig file. Details can be found in the [Kubernetes documentation](https://kubernetes.io/docs/concepts/configuration/organize-cluster-access-kubeconfig/).", Type: "jenkins", Aliases: []config.Alias{{Name: "kubeCredentialsId", Deprecated: true}}},
{Name: "kubeTokenCredentialsId", Description: "Jenkins 'Secret text' credentials ID containing token to authenticate to Kubernetes. This is an alternative way to using a kubeconfig file. Details can be found in the [Kubernetes documentation](https://kubernetes.io/docs/reference/access-authn-authz/authentication/).", Type: "jenkins", Aliases: []config.Alias{{Name: "k8sTokenCredentialsId", Deprecated: true}}},
{Name: "dockerCredentialsId", Type: "jenkins"},
{Name: "dockerConfigJsonCredentialsId", Description: "Jenkins 'Secret file' credentials ID containing Docker config.json (with registry credential(s)).", Type: "jenkins"},
},
Resources: []config.StepResources{
{Name: "deployDescriptor", Type: "stash"},
},
@ -190,7 +184,6 @@ func kubernetesDeployMetadata() config.StepData {
Scope: []string{"PARAMETERS", "STAGES", "STEPS"},
Type: "[]string",
Mandatory: false,
Default: []string{},
Aliases: []config.Alias{{Name: "helmDeploymentParameters"}},
},
{
@ -199,7 +192,6 @@ func kubernetesDeployMetadata() config.StepData {
Scope: []string{"GENERAL", "PARAMETERS", "STAGES", "STEPS"},
Type: "string",
Mandatory: false,
Default: os.Getenv("PIPER_apiServer"),
Aliases: []config.Alias{{Name: "k8sAPIServer"}},
},
{
@ -208,7 +200,6 @@ func kubernetesDeployMetadata() config.StepData {
Scope: []string{"PARAMETERS", "STAGES", "STEPS"},
Type: "string",
Mandatory: false,
Default: os.Getenv("PIPER_appTemplate"),
Aliases: []config.Alias{{Name: "k8sAppTemplate"}},
},
{
@ -217,7 +208,6 @@ func kubernetesDeployMetadata() config.StepData {
Scope: []string{"PARAMETERS", "STAGES", "STEPS"},
Type: "string",
Mandatory: false,
Default: os.Getenv("PIPER_chartPath"),
Aliases: []config.Alias{{Name: "helmChartPath"}},
},
{
@ -232,7 +222,6 @@ func kubernetesDeployMetadata() config.StepData {
Scope: []string{"PARAMETERS", "STAGES", "STEPS"},
Type: "string",
Mandatory: false,
Default: os.Getenv("PIPER_containerRegistryPassword"),
Aliases: []config.Alias{},
},
{
@ -246,7 +235,6 @@ func kubernetesDeployMetadata() config.StepData {
Scope: []string{"GENERAL", "PARAMETERS", "STAGES", "STEPS"},
Type: "string",
Mandatory: true,
Default: os.Getenv("PIPER_containerRegistryUrl"),
Aliases: []config.Alias{{Name: "dockerRegistryUrl"}},
},
{
@ -261,7 +249,6 @@ func kubernetesDeployMetadata() config.StepData {
Scope: []string{"PARAMETERS", "STAGES", "STEPS"},
Type: "string",
Mandatory: false,
Default: os.Getenv("PIPER_containerRegistryUser"),
Aliases: []config.Alias{},
},
{
@ -270,7 +257,6 @@ func kubernetesDeployMetadata() config.StepData {
Scope: []string{"PARAMETERS", "STAGES", "STEPS"},
Type: "string",
Mandatory: false,
Default: `regsecret`,
Aliases: []config.Alias{},
},
{
@ -279,7 +265,6 @@ func kubernetesDeployMetadata() config.StepData {
Scope: []string{"PARAMETERS", "STAGES", "STEPS"},
Type: "bool",
Mandatory: false,
Default: false,
Aliases: []config.Alias{},
},
{
@ -288,7 +273,6 @@ func kubernetesDeployMetadata() config.StepData {
Scope: []string{"PARAMETERS", "STAGES", "STEPS"},
Type: "string",
Mandatory: false,
Default: os.Getenv("PIPER_deploymentName"),
Aliases: []config.Alias{{Name: "helmDeploymentName"}},
},
{
@ -297,7 +281,6 @@ func kubernetesDeployMetadata() config.StepData {
Scope: []string{"PARAMETERS", "STAGES", "STEPS"},
Type: "string",
Mandatory: true,
Default: `kubectl`,
Aliases: []config.Alias{},
},
{
@ -306,7 +289,6 @@ func kubernetesDeployMetadata() config.StepData {
Scope: []string{"PARAMETERS", "STAGES", "STEPS"},
Type: "bool",
Mandatory: false,
Default: true,
Aliases: []config.Alias{},
},
{
@ -315,7 +297,6 @@ func kubernetesDeployMetadata() config.StepData {
Scope: []string{"PARAMETERS", "STAGES", "STEPS"},
Type: "int",
Mandatory: false,
Default: 300,
Aliases: []config.Alias{},
},
{
@ -324,7 +305,6 @@ func kubernetesDeployMetadata() config.StepData {
Scope: []string{"PARAMETERS", "STAGES", "STEPS"},
Type: "[]string",
Mandatory: false,
Default: []string{},
Aliases: []config.Alias{},
},
{
@ -338,7 +318,6 @@ func kubernetesDeployMetadata() config.StepData {
Scope: []string{"PARAMETERS", "STAGES", "STEPS"},
Type: "string",
Mandatory: true,
Default: os.Getenv("PIPER_image"),
Aliases: []config.Alias{{Name: "deployImage"}},
},
{
@ -347,7 +326,6 @@ func kubernetesDeployMetadata() config.StepData {
Scope: []string{"PARAMETERS", "STAGES", "STEPS"},
Type: "[]string",
Mandatory: false,
Default: []string{},
Aliases: []config.Alias{},
},
{
@ -356,7 +334,6 @@ func kubernetesDeployMetadata() config.StepData {
Scope: []string{"GENERAL", "PARAMETERS", "STAGES", "STEPS"},
Type: "bool",
Mandatory: false,
Default: false,
Aliases: []config.Alias{},
},
{
@ -376,7 +353,6 @@ func kubernetesDeployMetadata() config.StepData {
Scope: []string{"GENERAL", "PARAMETERS", "STAGES", "STEPS"},
Type: "string",
Mandatory: false,
Default: os.Getenv("PIPER_kubeConfig"),
Aliases: []config.Alias{},
},
{
@ -385,7 +361,6 @@ func kubernetesDeployMetadata() config.StepData {
Scope: []string{"PARAMETERS", "STAGES", "STEPS"},
Type: "string",
Mandatory: false,
Default: os.Getenv("PIPER_kubeContext"),
Aliases: []config.Alias{},
},
{
@ -399,7 +374,6 @@ func kubernetesDeployMetadata() config.StepData {
Scope: []string{"GENERAL", "PARAMETERS", "STAGES", "STEPS"},
Type: "string",
Mandatory: false,
Default: os.Getenv("PIPER_kubeToken"),
Aliases: []config.Alias{},
},
{
@ -408,7 +382,6 @@ func kubernetesDeployMetadata() config.StepData {
Scope: []string{"PARAMETERS", "STAGES", "STEPS"},
Type: "string",
Mandatory: false,
Default: `default`,
Aliases: []config.Alias{{Name: "helmDeploymentNamespace"}, {Name: "k8sDeploymentNamespace"}},
},
{
@ -417,7 +390,6 @@ func kubernetesDeployMetadata() config.StepData {
Scope: []string{"PARAMETERS", "STAGES", "STEPS"},
Type: "string",
Mandatory: false,
Default: os.Getenv("PIPER_tillerNamespace"),
Aliases: []config.Alias{{Name: "helmTillerNamespace"}},
},
{
@ -442,7 +414,6 @@ func kubernetesDeployMetadata() config.StepData {
Scope: []string{"PARAMETERS"},
Type: "string",
Mandatory: false,
Default: os.Getenv("PIPER_dockerConfigJSON"),
Aliases: []config.Alias{},
},
},

View File

@ -119,9 +119,6 @@ func malwareExecuteScanMetadata() config.StepData {
},
Spec: config.StepSpec{
Inputs: config.StepInputs{
Secrets: []config.StepSecrets{
{Name: "malwareScanCredentialsId", Description: "Jenkins 'Username with password' credentials ID containing the technical user/password credential used to communicate with the malwarescanning service.", Type: "jenkins"},
},
Parameters: []config.StepParameters{
{
Name: "host",
@ -129,7 +126,6 @@ func malwareExecuteScanMetadata() config.StepData {
Scope: []string{"PARAMETERS", "STAGES", "STEPS"},
Type: "string",
Mandatory: true,
Default: os.Getenv("PIPER_host"),
Aliases: []config.Alias{},
},
{
@ -144,7 +140,6 @@ func malwareExecuteScanMetadata() config.StepData {
Scope: []string{"PARAMETERS", "STAGES", "STEPS"},
Type: "string",
Mandatory: true,
Default: os.Getenv("PIPER_username"),
Aliases: []config.Alias{},
},
{
@ -159,7 +154,6 @@ func malwareExecuteScanMetadata() config.StepData {
Scope: []string{"PARAMETERS", "STAGES", "STEPS"},
Type: "string",
Mandatory: true,
Default: os.Getenv("PIPER_password"),
Aliases: []config.Alias{},
},
{
@ -168,7 +162,6 @@ func malwareExecuteScanMetadata() config.StepData {
Scope: []string{"PARAMETERS", "STAGES", "STEPS"},
Type: "string",
Mandatory: true,
Default: os.Getenv("PIPER_file"),
Aliases: []config.Alias{},
},
{
@ -177,7 +170,6 @@ func malwareExecuteScanMetadata() config.StepData {
Scope: []string{"PARAMETERS", "STAGES", "STEPS"},
Type: "string",
Mandatory: false,
Default: `600`,
Aliases: []config.Alias{},
},
},

View File

@ -134,9 +134,6 @@ func mavenBuildMetadata() config.StepData {
},
Spec: config.StepSpec{
Inputs: config.StepInputs{
Secrets: []config.StepSecrets{
{Name: "altDeploymentRepositoryPasswordId", Description: "Jenkins credentials ID containing the artifact deployment repository password.", Type: "jenkins"},
},
Parameters: []config.StepParameters{
{
Name: "pomPath",
@ -144,7 +141,6 @@ func mavenBuildMetadata() config.StepData {
Scope: []string{"PARAMETERS", "STEPS"},
Type: "string",
Mandatory: false,
Default: `pom.xml`,
Aliases: []config.Alias{},
},
{
@ -153,7 +149,6 @@ func mavenBuildMetadata() config.StepData {
Scope: []string{"PARAMETERS"},
Type: "bool",
Mandatory: false,
Default: true,
Aliases: []config.Alias{},
},
{
@ -162,7 +157,6 @@ func mavenBuildMetadata() config.StepData {
Scope: []string{"PARAMETERS"},
Type: "bool",
Mandatory: false,
Default: false,
Aliases: []config.Alias{},
},
{
@ -171,7 +165,6 @@ func mavenBuildMetadata() config.StepData {
Scope: []string{"GENERAL", "STEPS", "STAGES", "PARAMETERS"},
Type: "string",
Mandatory: false,
Default: os.Getenv("PIPER_projectSettingsFile"),
Aliases: []config.Alias{{Name: "maven/projectSettingsFile"}},
},
{
@ -185,7 +178,6 @@ func mavenBuildMetadata() config.StepData {
Scope: []string{"GENERAL", "STEPS", "STAGES", "PARAMETERS"},
Type: "string",
Mandatory: false,
Default: os.Getenv("PIPER_globalSettingsFile"),
Aliases: []config.Alias{{Name: "maven/globalSettingsFile"}},
},
{
@ -194,7 +186,6 @@ func mavenBuildMetadata() config.StepData {
Scope: []string{"GENERAL", "STEPS", "STAGES", "PARAMETERS"},
Type: "string",
Mandatory: false,
Default: os.Getenv("PIPER_m2Path"),
Aliases: []config.Alias{{Name: "maven/m2Path"}},
},
{
@ -203,7 +194,6 @@ func mavenBuildMetadata() config.StepData {
Scope: []string{"GENERAL", "STEPS", "STAGES", "PARAMETERS"},
Type: "bool",
Mandatory: false,
Default: false,
Aliases: []config.Alias{{Name: "maven/logSuccessfulMavenTransfers"}},
},
{
@ -212,7 +202,6 @@ func mavenBuildMetadata() config.StepData {
Scope: []string{"GENERAL", "STEPS", "STAGES", "PARAMETERS"},
Type: "bool",
Mandatory: false,
Default: false,
Aliases: []config.Alias{{Name: "maven/createBOM"}},
},
{
@ -237,7 +226,6 @@ func mavenBuildMetadata() config.StepData {
Scope: []string{"GENERAL", "PARAMETERS", "STAGES", "STEPS"},
Type: "string",
Mandatory: false,
Default: os.Getenv("PIPER_altDeploymentRepositoryPassword"),
Aliases: []config.Alias{},
},
{
@ -251,7 +239,6 @@ func mavenBuildMetadata() config.StepData {
Scope: []string{"GENERAL", "PARAMETERS", "STAGES", "STEPS"},
Type: "string",
Mandatory: false,
Default: os.Getenv("PIPER_altDeploymentRepositoryUser"),
Aliases: []config.Alias{},
},
{
@ -265,7 +252,6 @@ func mavenBuildMetadata() config.StepData {
Scope: []string{"GENERAL", "PARAMETERS", "STAGES", "STEPS"},
Type: "string",
Mandatory: false,
Default: os.Getenv("PIPER_altDeploymentRepositoryUrl"),
Aliases: []config.Alias{},
},
{
@ -279,7 +265,6 @@ func mavenBuildMetadata() config.StepData {
Scope: []string{"GENERAL", "PARAMETERS", "STAGES", "STEPS"},
Type: "string",
Mandatory: false,
Default: os.Getenv("PIPER_altDeploymentRepositoryID"),
Aliases: []config.Alias{},
},
{
@ -288,7 +273,6 @@ func mavenBuildMetadata() config.StepData {
Scope: []string{"PARAMETERS", "STAGES", "STEPS"},
Type: "[]string",
Mandatory: false,
Default: []string{},
Aliases: []config.Alias{},
},
{
@ -297,7 +281,6 @@ func mavenBuildMetadata() config.StepData {
Scope: []string{"STEPS", "STAGES", "PARAMETERS"},
Type: "bool",
Mandatory: false,
Default: false,
Aliases: []config.Alias{{Name: "maven/publish"}},
},
},

View File

@ -125,7 +125,6 @@ func mavenExecuteIntegrationMetadata() config.StepData {
Scope: []string{"PARAMETERS", "STEPS", "STAGES"},
Type: "int",
Mandatory: false,
Default: 1,
Aliases: []config.Alias{},
},
{
@ -134,7 +133,6 @@ func mavenExecuteIntegrationMetadata() config.StepData {
Scope: []string{"PARAMETERS", "STEPS", "STAGES"},
Type: "string",
Mandatory: false,
Default: `1C`,
Aliases: []config.Alias{},
},
{
@ -143,7 +141,6 @@ func mavenExecuteIntegrationMetadata() config.StepData {
Scope: []string{"GENERAL", "STEPS", "STAGES", "PARAMETERS"},
Type: "bool",
Mandatory: false,
Default: true,
Aliases: []config.Alias{},
},
{
@ -152,7 +149,6 @@ func mavenExecuteIntegrationMetadata() config.StepData {
Scope: []string{"GENERAL", "STEPS", "STAGES", "PARAMETERS"},
Type: "string",
Mandatory: false,
Default: os.Getenv("PIPER_projectSettingsFile"),
Aliases: []config.Alias{{Name: "maven/projectSettingsFile"}},
},
{
@ -161,7 +157,6 @@ func mavenExecuteIntegrationMetadata() config.StepData {
Scope: []string{"GENERAL", "STEPS", "STAGES", "PARAMETERS"},
Type: "string",
Mandatory: false,
Default: os.Getenv("PIPER_globalSettingsFile"),
Aliases: []config.Alias{{Name: "maven/globalSettingsFile"}},
},
{
@ -170,7 +165,6 @@ func mavenExecuteIntegrationMetadata() config.StepData {
Scope: []string{"GENERAL", "STEPS", "STAGES", "PARAMETERS"},
Type: "string",
Mandatory: false,
Default: os.Getenv("PIPER_m2Path"),
Aliases: []config.Alias{{Name: "maven/m2Path"}},
},
{
@ -179,7 +173,6 @@ func mavenExecuteIntegrationMetadata() config.StepData {
Scope: []string{"GENERAL", "STEPS", "STAGES", "PARAMETERS"},
Type: "bool",
Mandatory: false,
Default: false,
Aliases: []config.Alias{{Name: "maven/logSuccessfulMavenTransfers"}},
},
},

View File

@ -143,7 +143,6 @@ func mavenExecuteStaticCodeChecksMetadata() config.StepData {
Scope: []string{"PARAMETERS", "STAGES", "STEPS"},
Type: "bool",
Mandatory: false,
Default: true,
Aliases: []config.Alias{},
},
{
@ -152,7 +151,6 @@ func mavenExecuteStaticCodeChecksMetadata() config.StepData {
Scope: []string{"PARAMETERS", "STAGES", "STEPS"},
Type: "bool",
Mandatory: false,
Default: true,
Aliases: []config.Alias{},
},
{
@ -161,7 +159,6 @@ func mavenExecuteStaticCodeChecksMetadata() config.StepData {
Scope: []string{"PARAMETERS", "STAGES", "STEPS"},
Type: "[]string",
Mandatory: false,
Default: []string{},
Aliases: []config.Alias{},
},
{
@ -170,7 +167,6 @@ func mavenExecuteStaticCodeChecksMetadata() config.StepData {
Scope: []string{"PARAMETERS", "STAGES", "STEPS"},
Type: "string",
Mandatory: false,
Default: os.Getenv("PIPER_spotBugsExcludeFilterFile"),
Aliases: []config.Alias{{Name: "spotBugs/excludeFilterFile"}},
},
{
@ -179,7 +175,6 @@ func mavenExecuteStaticCodeChecksMetadata() config.StepData {
Scope: []string{"PARAMETERS", "STAGES", "STEPS"},
Type: "string",
Mandatory: false,
Default: os.Getenv("PIPER_spotBugsIncludeFilterFile"),
Aliases: []config.Alias{{Name: "spotBugs/includeFilterFile"}},
},
{
@ -188,7 +183,6 @@ func mavenExecuteStaticCodeChecksMetadata() config.StepData {
Scope: []string{"PARAMETERS", "STAGES", "STEPS"},
Type: "int",
Mandatory: false,
Default: 0,
Aliases: []config.Alias{{Name: "spotBugs/maxAllowedViolations"}},
},
{
@ -197,7 +191,6 @@ func mavenExecuteStaticCodeChecksMetadata() config.StepData {
Scope: []string{"PARAMETERS", "STAGES", "STEPS"},
Type: "int",
Mandatory: false,
Default: 0,
Aliases: []config.Alias{{Name: "pmd/failurePriority"}},
},
{
@ -206,7 +199,6 @@ func mavenExecuteStaticCodeChecksMetadata() config.StepData {
Scope: []string{"PARAMETERS", "STAGES", "STEPS"},
Type: "int",
Mandatory: false,
Default: 0,
Aliases: []config.Alias{{Name: "pmd/maxAllowedViolations"}},
},
{
@ -215,7 +207,6 @@ func mavenExecuteStaticCodeChecksMetadata() config.StepData {
Scope: []string{"GENERAL", "STEPS", "STAGES", "PARAMETERS"},
Type: "string",
Mandatory: false,
Default: os.Getenv("PIPER_projectSettingsFile"),
Aliases: []config.Alias{{Name: "maven/projectSettingsFile"}},
},
{
@ -224,7 +215,6 @@ func mavenExecuteStaticCodeChecksMetadata() config.StepData {
Scope: []string{"GENERAL", "STEPS", "STAGES", "PARAMETERS"},
Type: "string",
Mandatory: false,
Default: os.Getenv("PIPER_globalSettingsFile"),
Aliases: []config.Alias{{Name: "maven/globalSettingsFile"}},
},
{
@ -233,7 +223,6 @@ func mavenExecuteStaticCodeChecksMetadata() config.StepData {
Scope: []string{"GENERAL", "STEPS", "STAGES", "PARAMETERS"},
Type: "string",
Mandatory: false,
Default: os.Getenv("PIPER_m2Path"),
Aliases: []config.Alias{{Name: "maven/m2Path"}},
},
{
@ -242,7 +231,6 @@ func mavenExecuteStaticCodeChecksMetadata() config.StepData {
Scope: []string{"GENERAL", "STEPS", "STAGES", "PARAMETERS"},
Type: "bool",
Mandatory: false,
Default: false,
Aliases: []config.Alias{{Name: "maven/logSuccessfulMavenTransfers"}},
},
{
@ -251,7 +239,6 @@ func mavenExecuteStaticCodeChecksMetadata() config.StepData {
Scope: []string{"GENERAL", "STEPS", "STAGES", "PARAMETERS"},
Type: "bool",
Mandatory: false,
Default: false,
Aliases: []config.Alias{},
},
},

View File

@ -129,7 +129,6 @@ func mavenExecuteMetadata() config.StepData {
Scope: []string{"PARAMETERS", "STEPS"},
Type: "string",
Mandatory: false,
Default: os.Getenv("PIPER_pomPath"),
Aliases: []config.Alias{},
},
{
@ -138,7 +137,6 @@ func mavenExecuteMetadata() config.StepData {
Scope: []string{"PARAMETERS"},
Type: "[]string",
Mandatory: true,
Default: []string{},
Aliases: []config.Alias{},
},
{
@ -147,7 +145,6 @@ func mavenExecuteMetadata() config.StepData {
Scope: []string{"PARAMETERS"},
Type: "[]string",
Mandatory: false,
Default: []string{},
Aliases: []config.Alias{},
},
{
@ -156,7 +153,6 @@ func mavenExecuteMetadata() config.StepData {
Scope: []string{"PARAMETERS", "STEPS"},
Type: "[]string",
Mandatory: false,
Default: []string{},
Aliases: []config.Alias{},
},
{
@ -165,7 +161,6 @@ func mavenExecuteMetadata() config.StepData {
Scope: []string{"PARAMETERS"},
Type: "bool",
Mandatory: false,
Default: false,
Aliases: []config.Alias{},
},
{
@ -174,7 +169,6 @@ func mavenExecuteMetadata() config.StepData {
Scope: []string{"GENERAL", "STEPS", "STAGES", "PARAMETERS"},
Type: "string",
Mandatory: false,
Default: os.Getenv("PIPER_projectSettingsFile"),
Aliases: []config.Alias{{Name: "maven/projectSettingsFile"}},
},
{
@ -183,7 +177,6 @@ func mavenExecuteMetadata() config.StepData {
Scope: []string{"GENERAL", "STEPS", "STAGES", "PARAMETERS"},
Type: "string",
Mandatory: false,
Default: os.Getenv("PIPER_globalSettingsFile"),
Aliases: []config.Alias{{Name: "maven/globalSettingsFile"}},
},
{
@ -192,7 +185,6 @@ func mavenExecuteMetadata() config.StepData {
Scope: []string{"GENERAL", "STEPS", "STAGES", "PARAMETERS"},
Type: "string",
Mandatory: false,
Default: os.Getenv("PIPER_m2Path"),
Aliases: []config.Alias{{Name: "maven/m2Path"}},
},
{
@ -201,7 +193,6 @@ func mavenExecuteMetadata() config.StepData {
Scope: []string{"GENERAL", "STEPS", "STAGES", "PARAMETERS"},
Type: "bool",
Mandatory: false,
Default: false,
Aliases: []config.Alias{{Name: "maven/logSuccessfulMavenTransfers"}},
},
},

View File

@ -158,7 +158,6 @@ func mtaBuildMetadata() config.StepData {
Scope: []string{"PARAMETERS", "STAGES", "STEPS"},
Type: "string",
Mandatory: false,
Default: os.Getenv("PIPER_mtarName"),
Aliases: []config.Alias{},
},
{
@ -167,7 +166,6 @@ func mtaBuildMetadata() config.StepData {
Scope: []string{"PARAMETERS", "STAGES", "STEPS"},
Type: "string",
Mandatory: false,
Default: os.Getenv("PIPER_extensions"),
Aliases: []config.Alias{{Name: "extension"}},
},
{
@ -176,7 +174,6 @@ func mtaBuildMetadata() config.StepData {
Scope: []string{"PARAMETERS", "STAGES", "STEPS"},
Type: "string",
Mandatory: false,
Default: `CF`,
Aliases: []config.Alias{},
},
{
@ -185,7 +182,6 @@ func mtaBuildMetadata() config.StepData {
Scope: []string{"PARAMETERS", "STAGES", "STEPS"},
Type: "string",
Mandatory: false,
Default: os.Getenv("PIPER_applicationName"),
Aliases: []config.Alias{},
},
{
@ -194,7 +190,6 @@ func mtaBuildMetadata() config.StepData {
Scope: []string{"GENERAL", "PARAMETERS", "STAGES", "STEPS"},
Type: "string",
Mandatory: false,
Default: os.Getenv("PIPER_defaultNpmRegistry"),
Aliases: []config.Alias{{Name: "npm/defaultNpmRegistry"}},
},
{
@ -203,7 +198,6 @@ func mtaBuildMetadata() config.StepData {
Scope: []string{"GENERAL", "PARAMETERS", "STAGES", "STEPS"},
Type: "string",
Mandatory: false,
Default: os.Getenv("PIPER_projectSettingsFile"),
Aliases: []config.Alias{{Name: "maven/projectSettingsFile"}},
},
{
@ -212,7 +206,6 @@ func mtaBuildMetadata() config.StepData {
Scope: []string{"GENERAL", "PARAMETERS", "STAGES", "STEPS"},
Type: "string",
Mandatory: false,
Default: os.Getenv("PIPER_globalSettingsFile"),
Aliases: []config.Alias{{Name: "maven/globalSettingsFile"}},
},
{
@ -221,7 +214,6 @@ func mtaBuildMetadata() config.StepData {
Scope: []string{"GENERAL", "STEPS", "STAGES", "PARAMETERS"},
Type: "string",
Mandatory: false,
Default: os.Getenv("PIPER_m2Path"),
Aliases: []config.Alias{{Name: "maven/m2Path"}},
},
{
@ -230,7 +222,6 @@ func mtaBuildMetadata() config.StepData {
Scope: []string{"GENERAL", "STEPS", "STAGES", "PARAMETERS"},
Type: "bool",
Mandatory: false,
Default: false,
Aliases: []config.Alias{},
},
},

View File

@ -166,7 +166,6 @@ func newmanExecuteMetadata() config.StepData {
Scope: []string{"PARAMETERS", "STAGES", "STEPS"},
Type: "string",
Mandatory: false,
Default: `**/*.postman_collection.json`,
Aliases: []config.Alias{},
},
{
@ -175,7 +174,6 @@ func newmanExecuteMetadata() config.StepData {
Scope: []string{"PARAMETERS", "STAGES", "STEPS"},
Type: "string",
Mandatory: false,
Default: os.Getenv("PIPER_newmanRunCommand"),
Aliases: []config.Alias{},
},
{
@ -184,7 +182,6 @@ func newmanExecuteMetadata() config.StepData {
Scope: []string{"PARAMETERS", "STAGES", "STEPS"},
Type: "[]string",
Mandatory: false,
Default: []string{`run`, `{{.NewmanCollection}}`, `--reporters`, `cli,junit,html`, `--reporter-junit-export`, `target/newman/TEST-{{.CollectionDisplayName}}.xml`, `--reporter-html-export`, `target/newman/TEST-{{.CollectionDisplayName}}.html`},
Aliases: []config.Alias{},
},
{
@ -193,7 +190,6 @@ func newmanExecuteMetadata() config.StepData {
Scope: []string{"PARAMETERS", "STAGES", "STEPS"},
Type: "string",
Mandatory: false,
Default: `npm install newman newman-reporter-html --global --quiet`,
Aliases: []config.Alias{},
},
{
@ -202,7 +198,6 @@ func newmanExecuteMetadata() config.StepData {
Scope: []string{"PARAMETERS", "STAGES", "STEPS"},
Type: "string",
Mandatory: false,
Default: os.Getenv("PIPER_newmanEnvironment"),
Aliases: []config.Alias{},
},
{
@ -211,7 +206,6 @@ func newmanExecuteMetadata() config.StepData {
Scope: []string{"PARAMETERS", "STAGES", "STEPS"},
Type: "string",
Mandatory: false,
Default: os.Getenv("PIPER_newmanGlobals"),
Aliases: []config.Alias{},
},
{
@ -220,7 +214,6 @@ func newmanExecuteMetadata() config.StepData {
Scope: []string{"PARAMETERS", "STAGES", "STEPS"},
Type: "bool",
Mandatory: false,
Default: true,
Aliases: []config.Alias{},
},
{
@ -229,7 +222,6 @@ func newmanExecuteMetadata() config.StepData {
Scope: []string{"PARAMETERS", "STAGES", "STEPS"},
Type: "[]string",
Mandatory: false,
Default: []string{},
Aliases: []config.Alias{},
},
},

View File

@ -147,9 +147,6 @@ func nexusUploadMetadata() config.StepData {
},
Spec: config.StepSpec{
Inputs: config.StepInputs{
Secrets: []config.StepSecrets{
{Name: "nexusCredentialsId", Description: "Jenkins 'Username with password' credentials ID containing the technical username/password credential for accessing the nexus endpoint.", Type: "jenkins", Aliases: []config.Alias{{Name: "nexus/credentialsId", Deprecated: false}}},
},
Resources: []config.StepResources{
{Name: "buildDescriptor", Type: "stash"},
{Name: "buildResult", Type: "stash"},
@ -161,7 +158,6 @@ func nexusUploadMetadata() config.StepData {
Scope: []string{"PARAMETERS", "STAGES", "STEPS"},
Type: "string",
Mandatory: false,
Default: `nexus3`,
Aliases: []config.Alias{{Name: "nexus/version"}},
},
{
@ -175,7 +171,6 @@ func nexusUploadMetadata() config.StepData {
Scope: []string{"PARAMETERS", "STAGES", "STEPS"},
Type: "string",
Mandatory: false,
Default: os.Getenv("PIPER_format"),
Aliases: []config.Alias{},
},
{
@ -189,7 +184,6 @@ func nexusUploadMetadata() config.StepData {
Scope: []string{"PARAMETERS", "STAGES", "STEPS"},
Type: "string",
Mandatory: true,
Default: os.Getenv("PIPER_url"),
Aliases: []config.Alias{{Name: "nexus/url"}},
},
{
@ -198,7 +192,6 @@ func nexusUploadMetadata() config.StepData {
Scope: []string{"PARAMETERS", "STAGES", "STEPS"},
Type: "string",
Mandatory: false,
Default: os.Getenv("PIPER_mavenRepository"),
Aliases: []config.Alias{{Name: "nexus/mavenRepository"}, {Name: "nexus/repository"}},
},
{
@ -207,7 +200,6 @@ func nexusUploadMetadata() config.StepData {
Scope: []string{"PARAMETERS", "STAGES", "STEPS"},
Type: "string",
Mandatory: false,
Default: os.Getenv("PIPER_npmRepository"),
Aliases: []config.Alias{{Name: "nexus/npmRepository"}},
},
{
@ -216,7 +208,6 @@ func nexusUploadMetadata() config.StepData {
Scope: []string{"PARAMETERS", "STAGES", "STEPS"},
Type: "string",
Mandatory: false,
Default: os.Getenv("PIPER_groupId"),
Aliases: []config.Alias{{Name: "nexus/groupId"}},
},
{
@ -225,7 +216,6 @@ func nexusUploadMetadata() config.StepData {
Scope: []string{"PARAMETERS"},
Type: "string",
Mandatory: false,
Default: os.Getenv("PIPER_artifactId"),
Aliases: []config.Alias{},
},
{
@ -234,7 +224,6 @@ func nexusUploadMetadata() config.StepData {
Scope: []string{"GENERAL", "PARAMETERS", "STAGES", "STEPS"},
Type: "string",
Mandatory: false,
Default: os.Getenv("PIPER_globalSettingsFile"),
Aliases: []config.Alias{{Name: "maven/globalSettingsFile"}},
},
{
@ -243,7 +232,6 @@ func nexusUploadMetadata() config.StepData {
Scope: []string{"GENERAL", "PARAMETERS", "STAGES", "STEPS"},
Type: "string",
Mandatory: false,
Default: os.Getenv("PIPER_m2Path"),
Aliases: []config.Alias{{Name: "maven/m2Path"}},
},
{
@ -263,7 +251,6 @@ func nexusUploadMetadata() config.StepData {
Scope: []string{"PARAMETERS"},
Type: "string",
Mandatory: false,
Default: os.Getenv("PIPER_username"),
Aliases: []config.Alias{},
},
{
@ -283,7 +270,6 @@ func nexusUploadMetadata() config.StepData {
Scope: []string{"PARAMETERS"},
Type: "string",
Mandatory: false,
Default: os.Getenv("PIPER_password"),
Aliases: []config.Alias{},
},
},

View File

@ -115,7 +115,6 @@ func npmExecuteLintMetadata() config.StepData {
Scope: []string{"PARAMETERS", "STAGES", "STEPS"},
Type: "bool",
Mandatory: false,
Default: false,
Aliases: []config.Alias{},
},
{
@ -124,7 +123,6 @@ func npmExecuteLintMetadata() config.StepData {
Scope: []string{"PARAMETERS", "GENERAL", "STAGES", "STEPS"},
Type: "string",
Mandatory: false,
Default: os.Getenv("PIPER_defaultNpmRegistry"),
Aliases: []config.Alias{{Name: "npm/defaultNpmRegistry"}},
},
},

View File

@ -129,7 +129,6 @@ func npmExecuteScriptsMetadata() config.StepData {
Scope: []string{"PARAMETERS", "STAGES", "STEPS"},
Type: "bool",
Mandatory: false,
Default: true,
Aliases: []config.Alias{},
},
{
@ -138,7 +137,6 @@ func npmExecuteScriptsMetadata() config.StepData {
Scope: []string{"PARAMETERS", "STAGES", "STEPS"},
Type: "[]string",
Mandatory: false,
Default: []string{},
Aliases: []config.Alias{},
},
{
@ -147,7 +145,6 @@ func npmExecuteScriptsMetadata() config.StepData {
Scope: []string{"PARAMETERS", "GENERAL", "STAGES", "STEPS"},
Type: "string",
Mandatory: false,
Default: os.Getenv("PIPER_defaultNpmRegistry"),
Aliases: []config.Alias{{Name: "npm/defaultNpmRegistry"}},
},
{
@ -156,7 +153,6 @@ func npmExecuteScriptsMetadata() config.StepData {
Scope: []string{"PARAMETERS", "STAGES", "STEPS"},
Type: "bool",
Mandatory: false,
Default: false,
Aliases: []config.Alias{},
},
{
@ -165,7 +161,6 @@ func npmExecuteScriptsMetadata() config.StepData {
Scope: []string{"PARAMETERS", "STAGES", "STEPS"},
Type: "[]string",
Mandatory: false,
Default: []string{},
Aliases: []config.Alias{},
},
{
@ -174,7 +169,6 @@ func npmExecuteScriptsMetadata() config.StepData {
Scope: []string{"PARAMETERS", "STAGES", "STEPS"},
Type: "[]string",
Mandatory: false,
Default: []string{`deployment/**`},
Aliases: []config.Alias{},
},
{
@ -183,7 +177,6 @@ func npmExecuteScriptsMetadata() config.StepData {
Scope: []string{"PARAMETERS", "STAGES", "STEPS"},
Type: "[]string",
Mandatory: false,
Default: []string{},
Aliases: []config.Alias{},
},
{
@ -192,7 +185,6 @@ func npmExecuteScriptsMetadata() config.StepData {
Scope: []string{"GENERAL", "STEPS", "STAGES", "PARAMETERS"},
Type: "bool",
Mandatory: false,
Default: false,
Aliases: []config.Alias{},
},
},

View File

@ -118,7 +118,6 @@ func pipelineCreateScanSummaryMetadata() config.StepData {
Scope: []string{"PARAMETERS", "STAGES", "STEPS"},
Type: "bool",
Mandatory: false,
Default: false,
Aliases: []config.Alias{},
},
{
@ -127,7 +126,6 @@ func pipelineCreateScanSummaryMetadata() config.StepData {
Scope: []string{"PARAMETERS", "STAGES", "STEPS"},
Type: "string",
Mandatory: false,
Default: `scanSummary.md`,
Aliases: []config.Alias{},
},
{
@ -136,7 +134,6 @@ func pipelineCreateScanSummaryMetadata() config.StepData {
Scope: []string{"PARAMETERS", "STAGES", "STEPS"},
Type: "string",
Mandatory: false,
Default: os.Getenv("PIPER_pipelineLink"),
Aliases: []config.Alias{},
},
},

View File

@ -204,10 +204,6 @@ func protecodeExecuteScanMetadata() config.StepData {
},
Spec: config.StepSpec{
Inputs: config.StepInputs{
Secrets: []config.StepSecrets{
{Name: "protecodeCredentialsId", Description: "Jenkins 'Username with password' credentials ID containing username and password to authenticate to the Protecode system.", Type: "jenkins"},
{Name: "dockerConfigJsonCredentialsId", Description: "Jenkins 'Secret file' credentials ID containing Docker config.json (with registry credential(s)). You can create it like explained in the Docker Success Center in the article about [how to generate a new auth in the config.json file](https://success.docker.com/article/generate-new-auth-in-config-json-file).", Type: "jenkins", Aliases: []config.Alias{{Name: "dockerCredentialsId", Deprecated: true}}},
},
Parameters: []config.StepParameters{
{
Name: "excludeCVEs",
@ -215,7 +211,6 @@ func protecodeExecuteScanMetadata() config.StepData {
Scope: []string{"PARAMETERS", "STAGES", "STEPS"},
Type: "string",
Mandatory: false,
Default: ``,
Aliases: []config.Alias{{Name: "protecodeExcludeCVEs"}},
},
{
@ -224,7 +219,6 @@ func protecodeExecuteScanMetadata() config.StepData {
Scope: []string{"PARAMETERS", "STAGES", "STEPS"},
Type: "bool",
Mandatory: false,
Default: true,
Aliases: []config.Alias{{Name: "protecodeFailOnSevereVulnerabilities"}},
},
{
@ -238,7 +232,6 @@ func protecodeExecuteScanMetadata() config.StepData {
Scope: []string{"GENERAL", "PARAMETERS", "STAGES", "STEPS"},
Type: "string",
Mandatory: false,
Default: os.Getenv("PIPER_scanImage"),
Aliases: []config.Alias{{Name: "dockerImage"}},
},
{
@ -252,7 +245,6 @@ func protecodeExecuteScanMetadata() config.StepData {
Scope: []string{"GENERAL", "PARAMETERS", "STAGES", "STEPS"},
Type: "string",
Mandatory: false,
Default: os.Getenv("PIPER_dockerRegistryUrl"),
Aliases: []config.Alias{},
},
{
@ -272,7 +264,6 @@ func protecodeExecuteScanMetadata() config.StepData {
Scope: []string{"PARAMETERS", "STAGES", "STEPS"},
Type: "string",
Mandatory: false,
Default: os.Getenv("PIPER_dockerConfigJSON"),
Aliases: []config.Alias{},
},
{
@ -281,7 +272,6 @@ func protecodeExecuteScanMetadata() config.StepData {
Scope: []string{"PARAMETERS", "STAGES", "STEPS"},
Type: "string",
Mandatory: false,
Default: `binary`,
Aliases: []config.Alias{},
},
{
@ -290,7 +280,6 @@ func protecodeExecuteScanMetadata() config.StepData {
Scope: []string{"PARAMETERS", "STAGES", "STEPS"},
Type: "string",
Mandatory: false,
Default: os.Getenv("PIPER_filePath"),
Aliases: []config.Alias{},
},
{
@ -299,7 +288,6 @@ func protecodeExecuteScanMetadata() config.StepData {
Scope: []string{"PARAMETERS", "STAGES", "STEPS"},
Type: "bool",
Mandatory: false,
Default: false,
Aliases: []config.Alias{},
},
{
@ -308,7 +296,6 @@ func protecodeExecuteScanMetadata() config.StepData {
Scope: []string{"PARAMETERS", "STAGES", "STEPS"},
Type: "string",
Mandatory: false,
Default: `60`,
Aliases: []config.Alias{{Name: "protecodeTimeoutMinutes"}},
},
{
@ -317,7 +304,6 @@ func protecodeExecuteScanMetadata() config.StepData {
Scope: []string{"GENERAL", "PARAMETERS", "STAGES", "STEPS"},
Type: "string",
Mandatory: true,
Default: os.Getenv("PIPER_serverUrl"),
Aliases: []config.Alias{{Name: "protecodeServerUrl"}},
},
{
@ -326,7 +312,6 @@ func protecodeExecuteScanMetadata() config.StepData {
Scope: []string{"PARAMETERS", "STAGES", "STEPS"},
Type: "string",
Mandatory: false,
Default: `protecode_report.pdf`,
Aliases: []config.Alias{},
},
{
@ -335,7 +320,6 @@ func protecodeExecuteScanMetadata() config.StepData {
Scope: []string{"PARAMETERS", "STAGES", "STEPS"},
Type: "string",
Mandatory: false,
Default: os.Getenv("PIPER_fetchUrl"),
Aliases: []config.Alias{},
},
{
@ -344,7 +328,6 @@ func protecodeExecuteScanMetadata() config.StepData {
Scope: []string{"PARAMETERS", "STAGES", "STEPS"},
Type: "string",
Mandatory: true,
Default: os.Getenv("PIPER_group"),
Aliases: []config.Alias{{Name: "protecodeGroup"}},
},
{
@ -353,7 +336,6 @@ func protecodeExecuteScanMetadata() config.StepData {
Scope: []string{"PARAMETERS", "STAGES", "STEPS"},
Type: "bool",
Mandatory: false,
Default: false,
Aliases: []config.Alias{{Name: "reuseExisting"}},
},
{
@ -374,7 +356,6 @@ func protecodeExecuteScanMetadata() config.StepData {
Scope: []string{"PARAMETERS", "STAGES", "STEPS"},
Type: "string",
Mandatory: true,
Default: os.Getenv("PIPER_username"),
Aliases: []config.Alias{{Name: "user"}},
},
{
@ -395,7 +376,6 @@ func protecodeExecuteScanMetadata() config.StepData {
Scope: []string{"PARAMETERS", "STAGES", "STEPS"},
Type: "string",
Mandatory: true,
Default: os.Getenv("PIPER_password"),
Aliases: []config.Alias{},
},
{
@ -409,7 +389,6 @@ func protecodeExecuteScanMetadata() config.StepData {
Scope: []string{"PARAMETERS", "STAGES", "STEPS"},
Type: "string",
Mandatory: false,
Default: os.Getenv("PIPER_version"),
Aliases: []config.Alias{{Name: "artifactVersion"}},
},
{
@ -418,7 +397,6 @@ func protecodeExecuteScanMetadata() config.StepData {
Scope: []string{"PARAMETERS", "STAGES", "STEPS"},
Type: "string",
Mandatory: false,
Default: os.Getenv("PIPER_pullRequestName"),
Aliases: []config.Alias{},
},
},

View File

@ -212,10 +212,6 @@ func sonarExecuteScanMetadata() config.StepData {
},
Spec: config.StepSpec{
Inputs: config.StepInputs{
Secrets: []config.StepSecrets{
{Name: "sonarTokenCredentialsId", Description: "Jenkins 'Secret text' credentials ID containing the token used to authenticate with the Sonar Server.", Type: "jenkins"},
{Name: "githubTokenCredentialsId", Description: "Jenkins 'Secret text' credentials ID containing the token used to authenticate with the Github Server.", Type: "jenkins"},
},
Parameters: []config.StepParameters{
{
Name: "instance",
@ -223,7 +219,6 @@ func sonarExecuteScanMetadata() config.StepData {
Scope: []string{"PARAMETERS", "STAGES", "STEPS"},
Type: "string",
Mandatory: false,
Default: `SonarCloud`,
Aliases: []config.Alias{},
},
{
@ -232,7 +227,6 @@ func sonarExecuteScanMetadata() config.StepData {
Scope: []string{"PARAMETERS", "STAGES", "STEPS"},
Type: "string",
Mandatory: false,
Default: os.Getenv("PIPER_serverUrl"),
Aliases: []config.Alias{{Name: "host"}, {Name: "sonarServerUrl"}},
},
{
@ -252,7 +246,6 @@ func sonarExecuteScanMetadata() config.StepData {
Scope: []string{"PARAMETERS"},
Type: "string",
Mandatory: false,
Default: os.Getenv("PIPER_token"),
Aliases: []config.Alias{{Name: "sonarToken"}},
},
{
@ -261,7 +254,6 @@ func sonarExecuteScanMetadata() config.StepData {
Scope: []string{"PARAMETERS", "STAGES", "STEPS"},
Type: "string",
Mandatory: false,
Default: os.Getenv("PIPER_organization"),
Aliases: []config.Alias{},
},
{
@ -270,7 +262,6 @@ func sonarExecuteScanMetadata() config.StepData {
Scope: []string{"PARAMETERS", "STAGES", "STEPS"},
Type: "[]string",
Mandatory: false,
Default: []string{},
Aliases: []config.Alias{},
},
{
@ -279,7 +270,6 @@ func sonarExecuteScanMetadata() config.StepData {
Scope: []string{"PARAMETERS", "STAGES", "STEPS"},
Type: "string",
Mandatory: false,
Default: `https://binaries.sonarsource.com/Distribution/sonar-scanner-cli/sonar-scanner-cli-4.5.0.2216-linux.zip`,
Aliases: []config.Alias{},
},
{
@ -288,7 +278,6 @@ func sonarExecuteScanMetadata() config.StepData {
Scope: []string{"GENERAL", "STAGES", "STEPS", "PARAMETERS"},
Type: "string",
Mandatory: false,
Default: `major`,
Aliases: []config.Alias{},
},
{
@ -302,7 +291,6 @@ func sonarExecuteScanMetadata() config.StepData {
Scope: []string{"PARAMETERS", "STAGES", "STEPS"},
Type: "string",
Mandatory: false,
Default: os.Getenv("PIPER_version"),
Aliases: []config.Alias{{Name: "projectVersion"}},
},
{
@ -311,7 +299,6 @@ func sonarExecuteScanMetadata() config.StepData {
Scope: []string{"GENERAL", "STAGES", "STEPS", "PARAMETERS"},
Type: "string",
Mandatory: false,
Default: os.Getenv("PIPER_customScanVersion"),
Aliases: []config.Alias{},
},
{
@ -320,7 +307,6 @@ func sonarExecuteScanMetadata() config.StepData {
Scope: []string{"PARAMETERS", "STAGES", "STEPS"},
Type: "string",
Mandatory: false,
Default: os.Getenv("PIPER_projectKey"),
Aliases: []config.Alias{},
},
{
@ -329,7 +315,6 @@ func sonarExecuteScanMetadata() config.StepData {
Scope: []string{"PARAMETERS", "STAGES", "STEPS"},
Type: "[]string",
Mandatory: false,
Default: []string{},
Aliases: []config.Alias{},
},
{
@ -338,7 +323,6 @@ func sonarExecuteScanMetadata() config.StepData {
Scope: []string{"PARAMETERS", "STAGES", "STEPS"},
Type: "bool",
Mandatory: false,
Default: false,
Aliases: []config.Alias{},
},
{
@ -347,7 +331,6 @@ func sonarExecuteScanMetadata() config.StepData {
Scope: []string{"PARAMETERS", "STAGES", "STEPS"},
Type: "bool",
Mandatory: false,
Default: false,
Aliases: []config.Alias{},
},
{
@ -356,7 +339,6 @@ func sonarExecuteScanMetadata() config.StepData {
Scope: []string{"PARAMETERS", "STAGES", "STEPS"},
Type: "[]string",
Mandatory: false,
Default: []string{},
Aliases: []config.Alias{{Name: "sonarProperties"}},
},
{
@ -365,7 +347,6 @@ func sonarExecuteScanMetadata() config.StepData {
Scope: []string{"PARAMETERS", "STAGES", "STEPS"},
Type: "string",
Mandatory: false,
Default: os.Getenv("PIPER_branchName"),
Aliases: []config.Alias{},
},
{
@ -374,7 +355,6 @@ func sonarExecuteScanMetadata() config.StepData {
Scope: []string{"PARAMETERS", "STAGES", "STEPS"},
Type: "bool",
Mandatory: false,
Default: false,
Aliases: []config.Alias{},
},
{
@ -383,7 +363,6 @@ func sonarExecuteScanMetadata() config.StepData {
Scope: []string{"PARAMETERS"},
Type: "string",
Mandatory: false,
Default: os.Getenv("PIPER_changeId"),
Aliases: []config.Alias{},
},
{
@ -392,7 +371,6 @@ func sonarExecuteScanMetadata() config.StepData {
Scope: []string{"PARAMETERS"},
Type: "string",
Mandatory: false,
Default: os.Getenv("PIPER_changeBranch"),
Aliases: []config.Alias{},
},
{
@ -401,7 +379,6 @@ func sonarExecuteScanMetadata() config.StepData {
Scope: []string{"PARAMETERS"},
Type: "string",
Mandatory: false,
Default: os.Getenv("PIPER_changeTarget"),
Aliases: []config.Alias{},
},
{
@ -410,7 +387,6 @@ func sonarExecuteScanMetadata() config.StepData {
Scope: []string{"PARAMETERS", "STAGES", "STEPS"},
Type: "string",
Mandatory: false,
Default: `GitHub`,
Aliases: []config.Alias{},
},
{
@ -424,7 +400,6 @@ func sonarExecuteScanMetadata() config.StepData {
Scope: []string{"GENERAL", "PARAMETERS", "STAGES", "STEPS"},
Type: "string",
Mandatory: false,
Default: os.Getenv("PIPER_owner"),
Aliases: []config.Alias{{Name: "githubOrg"}},
},
{
@ -438,7 +413,6 @@ func sonarExecuteScanMetadata() config.StepData {
Scope: []string{"GENERAL", "PARAMETERS", "STAGES", "STEPS"},
Type: "string",
Mandatory: false,
Default: os.Getenv("PIPER_repository"),
Aliases: []config.Alias{{Name: "githubRepo"}},
},
{
@ -458,7 +432,6 @@ func sonarExecuteScanMetadata() config.StepData {
Scope: []string{"PARAMETERS"},
Type: "string",
Mandatory: false,
Default: os.Getenv("PIPER_githubToken"),
Aliases: []config.Alias{{Name: "access_token"}},
},
{
@ -467,7 +440,6 @@ func sonarExecuteScanMetadata() config.StepData {
Scope: []string{"PARAMETERS", "STAGES", "STEPS"},
Type: "bool",
Mandatory: false,
Default: false,
Aliases: []config.Alias{},
},
{
@ -476,7 +448,6 @@ func sonarExecuteScanMetadata() config.StepData {
Scope: []string{"PARAMETERS", "STAGES", "STEPS"},
Type: "bool",
Mandatory: false,
Default: false,
Aliases: []config.Alias{},
},
{
@ -485,7 +456,6 @@ func sonarExecuteScanMetadata() config.StepData {
Scope: []string{"GENERAL", "PARAMETERS", "STAGES", "STEPS"},
Type: "string",
Mandatory: false,
Default: `https://api.github.com`,
Aliases: []config.Alias{},
},
{
@ -494,7 +464,6 @@ func sonarExecuteScanMetadata() config.StepData {
Scope: []string{"GENERAL", "STEPS", "STAGES", "PARAMETERS"},
Type: "string",
Mandatory: false,
Default: os.Getenv("PIPER_m2Path"),
Aliases: []config.Alias{{Name: "maven/m2Path"}},
},
},

View File

@ -116,7 +116,6 @@ func terraformExecuteMetadata() config.StepData {
Scope: []string{"PARAMETERS", "STAGES", "STEPS"},
Type: "string",
Mandatory: false,
Default: `plan`,
Aliases: []config.Alias{},
},
{
@ -131,7 +130,6 @@ func terraformExecuteMetadata() config.StepData {
Scope: []string{"PARAMETERS", "STAGES", "STEPS"},
Type: "string",
Mandatory: false,
Default: os.Getenv("PIPER_terraformSecrets"),
Aliases: []config.Alias{},
},
{
@ -140,7 +138,6 @@ func terraformExecuteMetadata() config.StepData {
Scope: []string{"PARAMETERS", "STAGES", "STEPS"},
Type: "[]string",
Mandatory: false,
Default: []string{},
Aliases: []config.Alias{},
},
},

View File

@ -149,7 +149,6 @@ func transportRequestDocIDFromGitMetadata() config.StepData {
Scope: []string{"PARAMETERS", "STAGES", "STEPS", "GENERAL"},
Type: "string",
Mandatory: false,
Default: `origin/master`,
Aliases: []config.Alias{{Name: "changeManagement/git/from"}},
},
{
@ -158,7 +157,6 @@ func transportRequestDocIDFromGitMetadata() config.StepData {
Scope: []string{"PARAMETERS", "STAGES", "STEPS", "GENERAL"},
Type: "string",
Mandatory: false,
Default: `HEAD`,
Aliases: []config.Alias{{Name: "changeManagement/git/to"}},
},
{
@ -167,7 +165,6 @@ func transportRequestDocIDFromGitMetadata() config.StepData {
Scope: []string{"PARAMETERS", "STAGES", "STEPS", "GENERAL"},
Type: "string",
Mandatory: false,
Default: `ChangeDocument`,
Aliases: []config.Alias{{Name: "changeManagement/changeDocumentLabel"}},
},
},

View File

@ -149,7 +149,6 @@ func transportRequestReqIDFromGitMetadata() config.StepData {
Scope: []string{"PARAMETERS", "STAGES", "STEPS", "GENERAL"},
Type: "string",
Mandatory: false,
Default: `origin/master`,
Aliases: []config.Alias{{Name: "changeManagement/git/from"}},
},
{
@ -158,7 +157,6 @@ func transportRequestReqIDFromGitMetadata() config.StepData {
Scope: []string{"PARAMETERS", "STAGES", "STEPS", "GENERAL"},
Type: "string",
Mandatory: false,
Default: `HEAD`,
Aliases: []config.Alias{{Name: "changeManagement/git/to"}},
},
{
@ -167,7 +165,6 @@ func transportRequestReqIDFromGitMetadata() config.StepData {
Scope: []string{"PARAMETERS", "STAGES", "STEPS", "GENERAL"},
Type: "string",
Mandatory: false,
Default: `TransportRequest`,
Aliases: []config.Alias{{Name: "changeManagement/transportRequestLabel"}},
},
},

View File

@ -134,9 +134,6 @@ func transportRequestUploadCTSMetadata() config.StepData {
},
Spec: config.StepSpec{
Inputs: config.StepInputs{
Secrets: []config.StepSecrets{
{Name: "uploadCredentialsId", Description: "Jenkins 'Username with password' credentials ID containing user and password to authenticate against the ABAP backend.", Type: "jenkins", Aliases: []config.Alias{{Name: "changeManagement/credentialsId", Deprecated: false}}},
},
Parameters: []config.StepParameters{
{
Name: "description",
@ -144,7 +141,6 @@ func transportRequestUploadCTSMetadata() config.StepData {
Scope: []string{"PARAMETERS", "STAGES", "STEPS", "GENERAL"},
Type: "string",
Mandatory: false,
Default: `Deployed with Piper based on SAP Fiori tools`,
Aliases: []config.Alias{},
},
{
@ -153,7 +149,6 @@ func transportRequestUploadCTSMetadata() config.StepData {
Scope: []string{"PARAMETERS", "STAGES", "STEPS", "GENERAL"},
Type: "string",
Mandatory: false,
Default: os.Getenv("PIPER_endpoint"),
Aliases: []config.Alias{{Name: "changeManagement/endpoint"}},
},
{
@ -162,7 +157,6 @@ func transportRequestUploadCTSMetadata() config.StepData {
Scope: []string{"PARAMETERS", "STAGES", "STEPS", "GENERAL"},
Type: "string",
Mandatory: false,
Default: os.Getenv("PIPER_client"),
Aliases: []config.Alias{{Name: "changeManagement/client"}},
},
{
@ -171,7 +165,6 @@ func transportRequestUploadCTSMetadata() config.StepData {
Scope: []string{"PARAMETERS", "STAGES", "STEPS", "GENERAL"},
Type: "string",
Mandatory: true,
Default: os.Getenv("PIPER_username"),
Aliases: []config.Alias{},
},
{
@ -180,7 +173,6 @@ func transportRequestUploadCTSMetadata() config.StepData {
Scope: []string{"PARAMETERS"},
Type: "string",
Mandatory: true,
Default: os.Getenv("PIPER_password"),
Aliases: []config.Alias{},
},
{
@ -189,7 +181,6 @@ func transportRequestUploadCTSMetadata() config.StepData {
Scope: []string{"PARAMETERS", "STAGES", "STEPS", "GENERAL"},
Type: "string",
Mandatory: true,
Default: os.Getenv("PIPER_applicationName"),
Aliases: []config.Alias{},
},
{
@ -198,7 +189,6 @@ func transportRequestUploadCTSMetadata() config.StepData {
Scope: []string{"PARAMETERS", "STAGES", "STEPS", "GENERAL"},
Type: "string",
Mandatory: true,
Default: os.Getenv("PIPER_abapPackage"),
Aliases: []config.Alias{},
},
{
@ -207,7 +197,6 @@ func transportRequestUploadCTSMetadata() config.StepData {
Scope: []string{"PARAMETERS", "STAGES", "STEPS", "GENERAL"},
Type: "string",
Mandatory: false,
Default: `node`,
Aliases: []config.Alias{{Name: "changeManagement/cts/osDeployUser"}},
},
{
@ -216,7 +205,6 @@ func transportRequestUploadCTSMetadata() config.StepData {
Scope: []string{"PARAMETERS", "STAGES", "STEPS", "GENERAL"},
Type: "string",
Mandatory: false,
Default: `ui5-deploy.yaml`,
Aliases: []config.Alias{{Name: "changeManagement/cts/deployConfigFile"}, {Name: "cts/deployConfigFile"}},
},
{
@ -225,7 +213,6 @@ func transportRequestUploadCTSMetadata() config.StepData {
Scope: []string{"PARAMETERS"},
Type: "string",
Mandatory: true,
Default: os.Getenv("PIPER_transportRequestId"),
Aliases: []config.Alias{},
},
{
@ -234,7 +221,6 @@ func transportRequestUploadCTSMetadata() config.StepData {
Scope: []string{"PARAMETERS", "STAGES", "STEPS", "GENERAL"},
Type: "[]string",
Mandatory: false,
Default: []string{},
Aliases: []config.Alias{{Name: "changeManagement/cts/deployToolDependencies"}},
},
{
@ -243,7 +229,6 @@ func transportRequestUploadCTSMetadata() config.StepData {
Scope: []string{"PARAMETERS", "STAGES", "STEPS", "GENERAL"},
Type: "[]string",
Mandatory: false,
Default: []string{},
Aliases: []config.Alias{{Name: "changeManagement/cts/deployToolDependencies"}},
},
},

View File

@ -165,9 +165,6 @@ func transportRequestUploadSOLMANMetadata() config.StepData {
},
Spec: config.StepSpec{
Inputs: config.StepInputs{
Secrets: []config.StepSecrets{
{Name: "uploadCredentialsId", Description: "Jenkins 'Username with password' credentials ID containing user and password to authenticate against the ABAP backend", Type: "jenkins", Aliases: []config.Alias{{Name: "changeManagement/credentialsId", Deprecated: false}}},
},
Parameters: []config.StepParameters{
{
Name: "endpoint",
@ -175,7 +172,6 @@ func transportRequestUploadSOLMANMetadata() config.StepData {
Scope: []string{"PARAMETERS", "STAGES", "STEPS", "GENERAL"},
Type: "string",
Mandatory: true,
Default: os.Getenv("PIPER_endpoint"),
Aliases: []config.Alias{{Name: "changeManagement/endpoint"}},
},
{
@ -190,7 +186,6 @@ func transportRequestUploadSOLMANMetadata() config.StepData {
Scope: []string{"PARAMETERS", "STAGES", "STEPS", "GENERAL"},
Type: "string",
Mandatory: true,
Default: os.Getenv("PIPER_username"),
Aliases: []config.Alias{},
},
{
@ -205,7 +200,6 @@ func transportRequestUploadSOLMANMetadata() config.StepData {
Scope: []string{"PARAMETERS"},
Type: "string",
Mandatory: true,
Default: os.Getenv("PIPER_password"),
Aliases: []config.Alias{},
},
{
@ -214,7 +208,6 @@ func transportRequestUploadSOLMANMetadata() config.StepData {
Scope: []string{"PARAMETERS", "STAGES", "STEPS", "GENERAL"},
Type: "string",
Mandatory: true,
Default: os.Getenv("PIPER_applicationId"),
Aliases: []config.Alias{},
},
{
@ -228,7 +221,6 @@ func transportRequestUploadSOLMANMetadata() config.StepData {
Scope: []string{"PARAMETERS"},
Type: "string",
Mandatory: true,
Default: os.Getenv("PIPER_changeDocumentId"),
Aliases: []config.Alias{},
},
{
@ -242,7 +234,6 @@ func transportRequestUploadSOLMANMetadata() config.StepData {
Scope: []string{"PARAMETERS"},
Type: "string",
Mandatory: true,
Default: os.Getenv("PIPER_transportRequestId"),
Aliases: []config.Alias{},
},
{
@ -256,7 +247,6 @@ func transportRequestUploadSOLMANMetadata() config.StepData {
Scope: []string{"PARAMETERS", "STAGES", "STEPS", "GENERAL"},
Type: "string",
Mandatory: true,
Default: os.Getenv("PIPER_filePath"),
Aliases: []config.Alias{},
},
{
@ -265,7 +255,6 @@ func transportRequestUploadSOLMANMetadata() config.StepData {
Scope: []string{"PARAMETERS", "STAGES", "STEPS", "GENERAL"},
Type: "[]string",
Mandatory: true,
Default: []string{},
Aliases: []config.Alias{{Name: "clientOpts"}, {Name: "changeManagement/clientOpts"}},
},
},

View File

@ -127,7 +127,6 @@ func uiVeri5ExecuteTestsMetadata() config.StepData {
Scope: []string{"GENERAL", "PARAMETERS", "STAGES", "STEPS"},
Type: "string",
Mandatory: true,
Default: `npm install @ui5/uiveri5 --global --quiet`,
Aliases: []config.Alias{},
},
{
@ -136,7 +135,6 @@ func uiVeri5ExecuteTestsMetadata() config.StepData {
Scope: []string{"GENERAL", "PARAMETERS", "STAGES", "STEPS"},
Type: "string",
Mandatory: true,
Default: `/home/node/.npm-global/bin/uiveri5`,
Aliases: []config.Alias{},
},
{
@ -145,7 +143,6 @@ func uiVeri5ExecuteTestsMetadata() config.StepData {
Scope: []string{"PARAMETERS", "STAGES", "STEPS"},
Type: "[]string",
Mandatory: true,
Default: []string{`--seleniumAddress=http://localhost:4444/wd/hub`},
Aliases: []config.Alias{},
},
{
@ -154,7 +151,6 @@ func uiVeri5ExecuteTestsMetadata() config.StepData {
Scope: []string{"PARAMETERS", "STAGES", "STEPS"},
Type: "string",
Mandatory: false,
Default: os.Getenv("PIPER_testOptions"),
Aliases: []config.Alias{},
},
{
@ -163,7 +159,6 @@ func uiVeri5ExecuteTestsMetadata() config.StepData {
Scope: []string{"PARAMETERS", "STAGES", "STEPS"},
Type: "string",
Mandatory: false,
Default: os.Getenv("PIPER_testServerUrl"),
Aliases: []config.Alias{},
},
},

View File

@ -133,7 +133,6 @@ func vaultRotateSecretIdMetadata() config.StepData {
Scope: []string{"PARAMETERS", "STAGES", "STEPS"},
Type: "string",
Mandatory: false,
Default: `jenkins`,
Aliases: []config.Alias{},
},
{
@ -148,7 +147,6 @@ func vaultRotateSecretIdMetadata() config.StepData {
Scope: []string{"PARAMETERS", "STAGES", "STEPS"},
Type: "string",
Mandatory: false,
Default: os.Getenv("PIPER_jenkinsUrl"),
Aliases: []config.Alias{{Name: "url"}},
},
{
@ -157,7 +155,6 @@ func vaultRotateSecretIdMetadata() config.StepData {
Scope: []string{"PARAMETERS", "STAGES", "STEPS"},
Type: "string",
Mandatory: false,
Default: `_`,
Aliases: []config.Alias{},
},
{
@ -172,7 +169,6 @@ func vaultRotateSecretIdMetadata() config.StepData {
Scope: []string{"PARAMETERS", "STAGES", "STEPS"},
Type: "string",
Mandatory: false,
Default: os.Getenv("PIPER_jenkinsUsername"),
Aliases: []config.Alias{{Name: "userId"}},
},
{
@ -187,7 +183,6 @@ func vaultRotateSecretIdMetadata() config.StepData {
Scope: []string{"PARAMETERS", "STAGES", "STEPS"},
Type: "string",
Mandatory: false,
Default: os.Getenv("PIPER_jenkinsToken"),
Aliases: []config.Alias{{Name: "token"}},
},
{
@ -196,7 +191,6 @@ func vaultRotateSecretIdMetadata() config.StepData {
Scope: []string{"GENERAL", "PARAMETERS", "STAGES", "STEPS"},
Type: "string",
Mandatory: true,
Default: os.Getenv("PIPER_vaultAppRoleSecretTokenCredentialsId"),
Aliases: []config.Alias{},
},
{
@ -205,7 +199,6 @@ func vaultRotateSecretIdMetadata() config.StepData {
Scope: []string{"GENERAL", "PARAMETERS", "STAGES", "STEPS"},
Type: "string",
Mandatory: true,
Default: os.Getenv("PIPER_vaultServerUrl"),
Aliases: []config.Alias{},
},
{
@ -214,7 +207,6 @@ func vaultRotateSecretIdMetadata() config.StepData {
Scope: []string{"GENERAL", "PARAMETERS", "STAGES", "STEPS"},
Type: "string",
Mandatory: false,
Default: os.Getenv("PIPER_vaultNamespace"),
Aliases: []config.Alias{},
},
{
@ -223,7 +215,6 @@ func vaultRotateSecretIdMetadata() config.StepData {
Scope: []string{"PARAMETERS", "STAGES", "STEPS"},
Type: "int",
Mandatory: false,
Default: 15,
Aliases: []config.Alias{},
},
},

View File

@ -280,10 +280,6 @@ func whitesourceExecuteScanMetadata() config.StepData {
},
Spec: config.StepSpec{
Inputs: config.StepInputs{
Secrets: []config.StepSecrets{
{Name: "userTokenCredentialsId", Description: "Jenkins 'Secret text' credentials ID containing Whitesource user token.", Type: "jenkins", Aliases: []config.Alias{{Name: "whitesourceUserTokenCredentialsId", Deprecated: false}, {Name: "whitesource/userTokenCredentialsId", Deprecated: true}}},
{Name: "orgAdminUserTokenCredentialsId", Description: "Jenkins 'Secret text' credentials ID containing Whitesource org admin token.", Type: "jenkins", Aliases: []config.Alias{{Name: "whitesourceOrgAdminUserTokenCredentialsId", Deprecated: false}, {Name: "whitesource/orgAdminUserTokenCredentialsId", Deprecated: true}}},
},
Resources: []config.StepResources{
{Name: "buildDescriptor", Type: "stash"},
{Name: "opensourceConfiguration", Type: "stash"},
@ -296,7 +292,6 @@ func whitesourceExecuteScanMetadata() config.StepData {
Scope: []string{"PARAMETERS", "STAGES", "STEPS"},
Type: "string",
Mandatory: false,
Default: `https://github.com/whitesource/unified-agent-distribution/releases/latest/download/wss-unified-agent.jar`,
Aliases: []config.Alias{},
},
{
@ -305,7 +300,6 @@ func whitesourceExecuteScanMetadata() config.StepData {
Scope: []string{"PARAMETERS", "STAGES", "STEPS"},
Type: "string",
Mandatory: false,
Default: `wss-unified-agent.jar`,
Aliases: []config.Alias{},
},
{
@ -314,7 +308,6 @@ func whitesourceExecuteScanMetadata() config.StepData {
Scope: []string{"PARAMETERS", "STAGES", "STEPS"},
Type: "[]string",
Mandatory: false,
Default: []string{},
Aliases: []config.Alias{},
},
{
@ -323,7 +316,6 @@ func whitesourceExecuteScanMetadata() config.StepData {
Scope: []string{"GENERAL", "PARAMETERS", "STAGES", "STEPS"},
Type: "string",
Mandatory: false,
Default: `https://saas.whitesourcesoftware.com/agent`,
Aliases: []config.Alias{},
},
{
@ -332,7 +324,6 @@ func whitesourceExecuteScanMetadata() config.StepData {
Scope: []string{"PARAMETERS", "STAGES", "STEPS"},
Type: "bool",
Mandatory: false,
Default: false,
Aliases: []config.Alias{},
},
{
@ -341,7 +332,6 @@ func whitesourceExecuteScanMetadata() config.StepData {
Scope: []string{"PARAMETERS", "STAGES", "STEPS"},
Type: "[]string",
Mandatory: false,
Default: []string{`unit-tests/pom.xml`, `integration-tests/pom.xml`},
Aliases: []config.Alias{},
},
{
@ -350,7 +340,6 @@ func whitesourceExecuteScanMetadata() config.StepData {
Scope: []string{"PARAMETERS", "STAGES", "STEPS"},
Type: "string",
Mandatory: false,
Default: os.Getenv("PIPER_buildDescriptorFile"),
Aliases: []config.Alias{},
},
{
@ -364,7 +353,6 @@ func whitesourceExecuteScanMetadata() config.StepData {
Scope: []string{"GENERAL", "PARAMETERS", "STAGES", "STEPS"},
Type: "string",
Mandatory: true,
Default: os.Getenv("PIPER_buildTool"),
Aliases: []config.Alias{},
},
{
@ -373,7 +361,6 @@ func whitesourceExecuteScanMetadata() config.StepData {
Scope: []string{"PARAMETERS", "STAGES", "STEPS"},
Type: "string",
Mandatory: false,
Default: `./wss-unified-agent.config`,
Aliases: []config.Alias{},
},
{
@ -382,7 +369,6 @@ func whitesourceExecuteScanMetadata() config.StepData {
Scope: []string{"PARAMETERS", "STAGES", "STEPS"},
Type: "bool",
Mandatory: false,
Default: true,
Aliases: []config.Alias{},
},
{
@ -391,7 +377,6 @@ func whitesourceExecuteScanMetadata() config.StepData {
Scope: []string{"GENERAL", "PARAMETERS", "STAGES", "STEPS"},
Type: "string",
Mandatory: false,
Default: os.Getenv("PIPER_customScanVersion"),
Aliases: []config.Alias{},
},
{
@ -400,7 +385,6 @@ func whitesourceExecuteScanMetadata() config.StepData {
Scope: []string{"PARAMETERS", "STAGES", "STEPS"},
Type: "string",
Mandatory: false,
Default: `-1`,
Aliases: []config.Alias{},
},
{
@ -409,7 +393,6 @@ func whitesourceExecuteScanMetadata() config.StepData {
Scope: []string{"PARAMETERS", "STAGES", "STEPS"},
Type: "string",
Mandatory: false,
Default: `.`,
Aliases: []config.Alias{},
},
{
@ -418,7 +401,6 @@ func whitesourceExecuteScanMetadata() config.StepData {
Scope: []string{"PARAMETERS", "STAGES", "STEPS"},
Type: "[]string",
Mandatory: false,
Default: []string{},
Aliases: []config.Alias{},
},
{
@ -427,7 +409,6 @@ func whitesourceExecuteScanMetadata() config.StepData {
Scope: []string{"PARAMETERS", "STAGES", "STEPS"},
Type: "[]string",
Mandatory: false,
Default: []string{},
Aliases: []config.Alias{},
},
{
@ -436,7 +417,6 @@ func whitesourceExecuteScanMetadata() config.StepData {
Scope: []string{"PARAMETERS", "STAGES", "STEPS"},
Type: "[]string",
Mandatory: false,
Default: []string{},
Aliases: []config.Alias{},
},
{
@ -445,7 +425,6 @@ func whitesourceExecuteScanMetadata() config.StepData {
Scope: []string{"PARAMETERS", "STAGES", "STEPS"},
Type: "string",
Mandatory: false,
Default: os.Getenv("PIPER_installCommand"),
Aliases: []config.Alias{},
},
{
@ -454,7 +433,6 @@ func whitesourceExecuteScanMetadata() config.StepData {
Scope: []string{"GENERAL", "PARAMETERS", "STAGES", "STEPS"},
Type: "string",
Mandatory: false,
Default: `https://github.com/SAP/SapMachine/releases/download/sapmachine-11.0.2/sapmachine-jre-11.0.2_linux-x64_bin.tar.gz`,
Aliases: []config.Alias{{Name: "whitesource/jreDownloadUrl"}},
},
{
@ -463,7 +441,6 @@ func whitesourceExecuteScanMetadata() config.StepData {
Scope: []string{"PARAMETERS", "STAGES", "STEPS"},
Type: "bool",
Mandatory: false,
Default: true,
Aliases: []config.Alias{},
},
{
@ -477,7 +454,6 @@ func whitesourceExecuteScanMetadata() config.StepData {
Scope: []string{"GENERAL", "PARAMETERS", "STAGES", "STEPS"},
Type: "string",
Mandatory: true,
Default: os.Getenv("PIPER_orgToken"),
Aliases: []config.Alias{{Name: "whitesourceOrgToken"}, {Name: "whitesource/orgToken"}},
},
{
@ -486,7 +462,6 @@ func whitesourceExecuteScanMetadata() config.StepData {
Scope: []string{"GENERAL", "PARAMETERS", "STAGES", "STEPS"},
Type: "string",
Mandatory: false,
Default: os.Getenv("PIPER_productName"),
Aliases: []config.Alias{{Name: "whitesourceProductName"}, {Name: "whitesource/productName"}},
},
{
@ -495,7 +470,6 @@ func whitesourceExecuteScanMetadata() config.StepData {
Scope: []string{"GENERAL", "PARAMETERS", "STAGES", "STEPS"},
Type: "string",
Mandatory: false,
Default: os.Getenv("PIPER_productToken"),
Aliases: []config.Alias{{Name: "whitesourceProductToken"}, {Name: "whitesource/productToken"}},
},
{
@ -509,7 +483,6 @@ func whitesourceExecuteScanMetadata() config.StepData {
Scope: []string{"GENERAL", "PARAMETERS", "STAGES", "STEPS"},
Type: "string",
Mandatory: false,
Default: os.Getenv("PIPER_version"),
Aliases: []config.Alias{{Name: "productVersion"}, {Name: "whitesourceProductVersion"}, {Name: "whitesource/productVersion"}},
},
{
@ -518,7 +491,6 @@ func whitesourceExecuteScanMetadata() config.StepData {
Scope: []string{"PARAMETERS", "STAGES", "STEPS"},
Type: "string",
Mandatory: false,
Default: os.Getenv("PIPER_projectName"),
Aliases: []config.Alias{{Name: "whitesourceProjectName"}},
},
{
@ -527,7 +499,6 @@ func whitesourceExecuteScanMetadata() config.StepData {
Scope: []string{"GENERAL", "PARAMETERS", "STAGES", "STEPS"},
Type: "string",
Mandatory: false,
Default: os.Getenv("PIPER_projectToken"),
Aliases: []config.Alias{},
},
{
@ -536,7 +507,6 @@ func whitesourceExecuteScanMetadata() config.StepData {
Scope: []string{"PARAMETERS", "STAGES", "STEPS"},
Type: "bool",
Mandatory: false,
Default: true,
Aliases: []config.Alias{},
},
{
@ -545,7 +515,6 @@ func whitesourceExecuteScanMetadata() config.StepData {
Scope: []string{"PARAMETERS", "STAGES", "STEPS"},
Type: "string",
Mandatory: false,
Default: os.Getenv("PIPER_scanImage"),
Aliases: []config.Alias{},
},
{
@ -554,7 +523,6 @@ func whitesourceExecuteScanMetadata() config.StepData {
Scope: []string{"PARAMETERS", "STAGES", "STEPS"},
Type: "bool",
Mandatory: false,
Default: true,
Aliases: []config.Alias{},
},
{
@ -563,7 +531,6 @@ func whitesourceExecuteScanMetadata() config.StepData {
Scope: []string{"PARAMETERS", "STAGES", "STEPS"},
Type: "string",
Mandatory: false,
Default: os.Getenv("PIPER_scanImageRegistryUrl"),
Aliases: []config.Alias{},
},
{
@ -572,7 +539,6 @@ func whitesourceExecuteScanMetadata() config.StepData {
Scope: []string{"PARAMETERS", "STAGES", "STEPS"},
Type: "bool",
Mandatory: false,
Default: true,
Aliases: []config.Alias{},
},
{
@ -581,7 +547,6 @@ func whitesourceExecuteScanMetadata() config.StepData {
Scope: []string{"GENERAL", "PARAMETERS", "STAGES", "STEPS"},
Type: "string",
Mandatory: false,
Default: `https://saas.whitesourcesoftware.com/api`,
Aliases: []config.Alias{{Name: "whitesourceServiceUrl"}, {Name: "whitesource/serviceUrl"}},
},
{
@ -590,7 +555,6 @@ func whitesourceExecuteScanMetadata() config.StepData {
Scope: []string{"PARAMETERS", "STAGES", "STEPS"},
Type: "int",
Mandatory: false,
Default: 900,
Aliases: []config.Alias{},
},
{
@ -610,7 +574,6 @@ func whitesourceExecuteScanMetadata() config.StepData {
Scope: []string{"GENERAL", "PARAMETERS", "STAGES", "STEPS"},
Type: "string",
Mandatory: true,
Default: os.Getenv("PIPER_userToken"),
Aliases: []config.Alias{},
},
{
@ -619,7 +582,6 @@ func whitesourceExecuteScanMetadata() config.StepData {
Scope: []string{"PARAMETERS", "STAGES", "STEPS", "GENERAL"},
Type: "string",
Mandatory: false,
Default: `major`,
Aliases: []config.Alias{{Name: "defaultVersioningModel"}},
},
{
@ -628,7 +590,6 @@ func whitesourceExecuteScanMetadata() config.StepData {
Scope: []string{"PARAMETERS", "STAGES", "STEPS"},
Type: "string",
Mandatory: false,
Default: `xlsx`,
Aliases: []config.Alias{},
},
{
@ -637,7 +598,6 @@ func whitesourceExecuteScanMetadata() config.StepData {
Scope: []string{"PARAMETERS", "STAGES", "STEPS"},
Type: "string",
Mandatory: false,
Default: `WhiteSource Security Vulnerability Report`,
Aliases: []config.Alias{},
},
{
@ -646,7 +606,6 @@ func whitesourceExecuteScanMetadata() config.StepData {
Scope: []string{"GENERAL", "STEPS", "STAGES", "PARAMETERS"},
Type: "string",
Mandatory: false,
Default: os.Getenv("PIPER_projectSettingsFile"),
Aliases: []config.Alias{{Name: "maven/projectSettingsFile"}},
},
{
@ -655,7 +614,6 @@ func whitesourceExecuteScanMetadata() config.StepData {
Scope: []string{"GENERAL", "STEPS", "STAGES", "PARAMETERS"},
Type: "string",
Mandatory: false,
Default: os.Getenv("PIPER_globalSettingsFile"),
Aliases: []config.Alias{{Name: "maven/globalSettingsFile"}},
},
{
@ -664,7 +622,6 @@ func whitesourceExecuteScanMetadata() config.StepData {
Scope: []string{"GENERAL", "STEPS", "STAGES", "PARAMETERS"},
Type: "string",
Mandatory: false,
Default: os.Getenv("PIPER_m2Path"),
Aliases: []config.Alias{{Name: "maven/m2Path"}},
},
{
@ -673,7 +630,6 @@ func whitesourceExecuteScanMetadata() config.StepData {
Scope: []string{"GENERAL", "STEPS", "STAGES", "PARAMETERS"},
Type: "bool",
Mandatory: false,
Default: false,
Aliases: []config.Alias{},
},
{
@ -682,7 +638,6 @@ func whitesourceExecuteScanMetadata() config.StepData {
Scope: []string{"PARAMETERS", "GENERAL", "STAGES", "STEPS"},
Type: "string",
Mandatory: false,
Default: os.Getenv("PIPER_defaultNpmRegistry"),
Aliases: []config.Alias{{Name: "npm/defaultNpmRegistry"}},
},
},

View File

@ -169,9 +169,6 @@ func xsDeployMetadata() config.StepData {
},
Spec: config.StepSpec{
Inputs: config.StepInputs{
Secrets: []config.StepSecrets{
{Name: "credentialsId", Description: "Jenkins 'Username with password' credentials ID containing username/password for accessing xs endpoint.", Type: "jenkins"},
},
Parameters: []config.StepParameters{
{
Name: "deployOpts",
@ -179,7 +176,6 @@ func xsDeployMetadata() config.StepData {
Scope: []string{"PARAMETERS", "STAGES", "STEPS"},
Type: "string",
Mandatory: false,
Default: os.Getenv("PIPER_deployOpts"),
Aliases: []config.Alias{},
},
{
@ -188,7 +184,6 @@ func xsDeployMetadata() config.StepData {
Scope: []string{"PARAMETERS", "STAGES", "STEPS"},
Type: "string",
Mandatory: false,
Default: `^.*xs bg-deploy -i (.*) -a.*$`,
Aliases: []config.Alias{{Name: "deployIdLogPattern"}},
},
{
@ -202,7 +197,6 @@ func xsDeployMetadata() config.StepData {
Scope: []string{"PARAMETERS", "STAGES", "STEPS"},
Type: "string",
Mandatory: true,
Default: os.Getenv("PIPER_mtaPath"),
Aliases: []config.Alias{},
},
{
@ -211,7 +205,6 @@ func xsDeployMetadata() config.StepData {
Scope: []string{"PARAMETERS", "STAGES", "STEPS"},
Type: "string",
Mandatory: false,
Default: `NONE`,
Aliases: []config.Alias{},
},
{
@ -220,7 +213,6 @@ func xsDeployMetadata() config.StepData {
Scope: []string{"PARAMETERS", "STAGES", "STEPS"},
Type: "string",
Mandatory: true,
Default: `DEPLOY`,
Aliases: []config.Alias{},
},
{
@ -234,7 +226,6 @@ func xsDeployMetadata() config.StepData {
Scope: []string{"PARAMETERS", "STAGES", "STEPS"},
Type: "string",
Mandatory: false,
Default: os.Getenv("PIPER_operationId"),
Aliases: []config.Alias{},
},
{
@ -243,7 +234,6 @@ func xsDeployMetadata() config.StepData {
Scope: []string{"PARAMETERS", "STAGES", "STEPS"},
Type: "string",
Mandatory: true,
Default: os.Getenv("PIPER_apiUrl"),
Aliases: []config.Alias{},
},
{
@ -258,7 +248,6 @@ func xsDeployMetadata() config.StepData {
Scope: []string{"PARAMETERS", "STAGES", "STEPS"},
Type: "string",
Mandatory: true,
Default: os.Getenv("PIPER_username"),
Aliases: []config.Alias{{Name: "user"}},
},
{
@ -273,7 +262,6 @@ func xsDeployMetadata() config.StepData {
Scope: []string{"PARAMETERS", "STAGES", "STEPS"},
Type: "string",
Mandatory: true,
Default: os.Getenv("PIPER_password"),
Aliases: []config.Alias{},
},
{
@ -282,7 +270,6 @@ func xsDeployMetadata() config.StepData {
Scope: []string{"PARAMETERS", "STAGES", "STEPS"},
Type: "string",
Mandatory: true,
Default: os.Getenv("PIPER_org"),
Aliases: []config.Alias{},
},
{
@ -291,7 +278,6 @@ func xsDeployMetadata() config.StepData {
Scope: []string{"PARAMETERS", "STAGES", "STEPS"},
Type: "string",
Mandatory: true,
Default: os.Getenv("PIPER_space"),
Aliases: []config.Alias{},
},
{
@ -300,7 +286,6 @@ func xsDeployMetadata() config.StepData {
Scope: []string{"PARAMETERS", "STAGES", "STEPS"},
Type: "string",
Mandatory: true,
Default: os.Getenv("PIPER_loginOpts"),
Aliases: []config.Alias{},
},
{
@ -309,7 +294,6 @@ func xsDeployMetadata() config.StepData {
Scope: []string{"PARAMETERS", "STAGES", "STEPS"},
Type: "string",
Mandatory: false,
Default: os.Getenv("PIPER_xsSessionFile"),
Aliases: []config.Alias{},
},
},

View File

@ -35,7 +35,6 @@ type stepInfo struct {
Sidecars []config.Container
Outputs config.StepOutputs
Resources []config.StepResources
Secrets []config.StepSecrets
}
//StepGoTemplate ...
@ -190,17 +189,6 @@ func {{ .StepName }}Metadata() config.StepData {
},
Spec: config.StepSpec{
Inputs: config.StepInputs{
{{ if .Secrets -}}
Secrets: []config.StepSecrets{
{{- range $secrets := .Secrets }}
{
{{- if $secrets.Name -}} Name: "{{$secrets.Name}}",{{- end }}
{{- if $secrets.Description -}} Description: "{{$secrets.Description}}",{{- end }}
{{- if $secrets.Type -}} Type: "{{$secrets.Type}}",{{- end }}
{{- if $secrets.Aliases -}} Aliases: []config.Alias{ {{- range $i, $a := $secrets.Aliases }} {Name: "{{$a.Name}}", Deprecated: {{$a.Deprecated}}}, {{ end -}} },{{- end }}
}, {{ end }}
},
{{ end -}}
{{ if .Resources -}}
Resources: []config.StepResources{
{{- range $resource := .Resources }}
@ -220,7 +208,6 @@ func {{ .StepName }}Metadata() config.StepData {
Scope: []string{{ "{" }}{{ range $notused, $scope := $value.Scope }}"{{ $scope }}",{{ end }}{{ "}" }},
Type: "{{ $value.Type }}",
Mandatory: {{ $value.Mandatory }},
{{if $value.Default -}} Default: {{ $value.Default }}, {{- end}}
Aliases: []config.Alias{{ "{" }}{{ range $notused, $alias := $value.Aliases }}{{ "{" }}Name: "{{ $alias.Name }}"{{ "}" }},{{ end }}{{ "}" }},
},{{ end }}
},
@ -586,7 +573,6 @@ func getStepInfo(stepData *config.StepData, osImport bool, exportPrefix string)
Sidecars: stepData.Spec.Sidecars,
Outputs: stepData.Spec.Outputs,
Resources: stepData.Spec.Inputs.Resources,
Secrets: stepData.Spec.Inputs.Secrets,
},
err
}

View File

@ -204,7 +204,6 @@ func testStepMetadata() config.StepData {
Scope: []string{"GENERAL","PARAMETERS",},
Type: "string",
Mandatory: true,
Default: `val0`,
Aliases: []config.Alias{},
},
{
@ -213,7 +212,6 @@ func testStepMetadata() config.StepData {
Scope: []string{"PARAMETERS",},
Type: "string",
Mandatory: false,
Default: os.Getenv("PIPER_param1"),
Aliases: []config.Alias{},
},
{
@ -222,7 +220,6 @@ func testStepMetadata() config.StepData {
Scope: []string{"PARAMETERS",},
Type: "string",
Mandatory: true,
Default: os.Getenv("PIPER_param2"),
Aliases: []config.Alias{},
},
},

View File

@ -203,7 +203,6 @@ func testStepMetadata() config.StepData {
Scope: []string{"GENERAL","PARAMETERS",},
Type: "string",
Mandatory: true,
Default: `val0`,
Aliases: []config.Alias{},
},
{
@ -212,7 +211,6 @@ func testStepMetadata() config.StepData {
Scope: []string{"PARAMETERS",},
Type: "string",
Mandatory: false,
Default: os.Getenv("PIPER_param1"),
Aliases: []config.Alias{},
},
{
@ -221,7 +219,6 @@ func testStepMetadata() config.StepData {
Scope: []string{"PARAMETERS",},
Type: "string",
Mandatory: true,
Default: os.Getenv("PIPER_param2"),
Aliases: []config.Alias{},
},
},