1
0
mirror of https://github.com/SAP/jenkins-library.git synced 2025-11-06 09:09:19 +02:00

isChangeInDevelopment documentation (#3140)

* checkChangeInDevelopment to GO
- add groovy step isChangeInDevelopment
- direct to new Groovy
- direct to GO
This commit is contained in:
Roland Stengel
2021-10-18 15:16:22 +02:00
committed by GitHub
parent 10b3598ca4
commit a0f9c3669f
6 changed files with 115 additions and 10 deletions

View File

@@ -54,7 +54,7 @@ func (p *isChangeInDevelopmentCommonPipelineEnvironment) persist(path, resourceN
}
}
// IsChangeInDevelopmentCommand Checks if a certain change is in status 'in development'
// IsChangeInDevelopmentCommand This step checks if a certain change is in status 'in development'
func IsChangeInDevelopmentCommand() *cobra.Command {
const STEP_NAME = "isChangeInDevelopment"
@@ -66,8 +66,8 @@ func IsChangeInDevelopmentCommand() *cobra.Command {
var createIsChangeInDevelopmentCmd = &cobra.Command{
Use: STEP_NAME,
Short: "Checks if a certain change is in status 'in development'",
Long: `"Checks if a certain change is in status 'in development'"`,
Short: "This step checks if a certain change is in status 'in development'",
Long: `This step checks if a certain change is in status 'in development'`,
PreRunE: func(cmd *cobra.Command, _ []string) error {
startTime = time.Now()
log.SetStepName(STEP_NAME)
@@ -161,7 +161,7 @@ func isChangeInDevelopmentMetadata() config.StepData {
Metadata: config.StepMetadata{
Name: "isChangeInDevelopment",
Aliases: []config.Alias{},
Description: "Checks if a certain change is in status 'in development'",
Description: "This step checks if a certain change is in status 'in development'",
},
Spec: config.StepSpec{
Inputs: config.StepInputs{