将管道从JenkinsPlugin迁移到JenkinsClientPlugin

时间:2018-09-26 04:18:23

标签: openshift

此示例JenkinsPlugin管道将如何转换为JenkinsClientPipeline

任何对博客,文档,视频教程的引用都将受到高度赞赏。

node('') {
  stage 'buildInDevelopment'
    openshiftBuild(namespace: 'development', buildConfig: 'myapp', showBuildLogs: 'true')

  stage 'deployInDevelopment'
    openshiftDeploy(namespace: 'development', deploymentConfig: 'myapp')
    openshiftScale(namespace: 'development', deploymentConfig: 'myapp', replicaCount: '2')
}

0 个答案:

没有答案