aliyun-oss-plugin icon indicating copy to clipboard operation
aliyun-oss-plugin copied to clipboard

支持了jekins2.0 的pipline 配置

Open shengxiluo20 opened this issue 7 years ago • 1 comments

原先的插件不支持pipline部署,参考了jekins插件支持pipline操作的修改流程, 使用时可以 stage('Upload') { steps { echo 'Uploading' oss bucketName: 'jar-backup', filesPath: 'web/target/*.jar', objectPrefix: '${JOB_NAME}' } } 进行部署

shengxiluo20 avatar May 24 '18 06:05 shengxiluo20

参考的开发文档 https://jenkins.io/doc/developer/plugin-development/pipeline-integration/

shengxiluo20 avatar May 24 '18 06:05 shengxiluo20