You've already forked sap-jenkins-library
mirror of
https://github.com/SAP/jenkins-library.git
synced 2025-11-06 09:09:19 +02:00
added the beta notification for cnbBuild step (#3316)
This commit is contained in:
@@ -61,7 +61,7 @@ func (p *cnbBuildCommonPipelineEnvironment) persist(path, resourceName string) {
|
||||
}
|
||||
}
|
||||
|
||||
// CnbBuildCommand Executes a Cloud Native Buildpacks build for creating a Docker container.
|
||||
// CnbBuildCommand Executes Cloud Native Buildpacks.
|
||||
func CnbBuildCommand() *cobra.Command {
|
||||
const STEP_NAME = "cnbBuild"
|
||||
|
||||
@@ -75,8 +75,9 @@ func CnbBuildCommand() *cobra.Command {
|
||||
|
||||
var createCnbBuildCmd = &cobra.Command{
|
||||
Use: STEP_NAME,
|
||||
Short: "Executes a Cloud Native Buildpacks build for creating a Docker container.",
|
||||
Long: `Executes a Cloud Native Buildpacks build for creating a Docker container.`,
|
||||
Short: "Executes Cloud Native Buildpacks.",
|
||||
Long: `Executes a Cloud Native Buildpacks build for creating Docker image(s).
|
||||
**Important:** Please note, that the cnbBuild step is in **beta** state, and there could be breaking changes before we remove the beta notice.`,
|
||||
PreRunE: func(cmd *cobra.Command, _ []string) error {
|
||||
startTime = time.Now()
|
||||
log.SetStepName(STEP_NAME)
|
||||
@@ -175,7 +176,7 @@ func cnbBuildMetadata() config.StepData {
|
||||
Metadata: config.StepMetadata{
|
||||
Name: "cnbBuild",
|
||||
Aliases: []config.Alias{},
|
||||
Description: "Executes a Cloud Native Buildpacks build for creating a Docker container.",
|
||||
Description: "Executes Cloud Native Buildpacks.",
|
||||
},
|
||||
Spec: config.StepSpec{
|
||||
Inputs: config.StepInputs{
|
||||
|
||||
Reference in New Issue
Block a user