此示例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')
}