Tuesday, November 17, 2020

sample pipeline

 este es un ejemplo, breve para ver como generar un pipeline



 

kind: "BuildConfig"

apiVersion: "v1"

metadata:

  name: "sample-pipeline"

spec:

  strategy:

    jenkinsPipelineStrategy:

      jenkinsfile: |-

        node('agent') {

          stage 'build'

          openshiftBuild(buildConfig: 'ruby-sample-build', showBuildLogs: 'true')

          stage 'deploy'

          openshiftDeploy(deploymentConfig: 'frontend')

        }


No comments: