All Projects → jenkinsci → aliyun-oss-uploader-plugin

jenkinsci / aliyun-oss-uploader-plugin

Licence: MIT license
Aliyun/AliCloud OSS uploader

Programming Languages

java
68154 projects - #9 most used programming language
HTML
75241 projects

Projects that are alternatives of or similar to aliyun-oss-uploader-plugin

pipeline-as-yaml-plugin
Jenkins Pipeline As Yaml Plugin
Stars: ✭ 111 (+326.92%)
Mutual labels:  jenkins, jenkins-plugin
Delivery Pipeline Plugin
Jenkins plugin for pipeline visualisation, perfect for Continuous Delivery
Stars: ✭ 122 (+369.23%)
Mutual labels:  jenkins, jenkins-plugin
Role Strategy Plugin
Jenkins Role-Strategy plugin
Stars: ✭ 91 (+250%)
Mutual labels:  jenkins, jenkins-plugin
artifact-promotion-plugin
A simple Jenkins plugin to promote artifacts.
Stars: ✭ 29 (+11.54%)
Mutual labels:  jenkins, jenkins-plugin
Hashicorp Vault Plugin
Jenkins plugin to populate environment variables from secrets stored in HashiCorp's Vault.
Stars: ✭ 191 (+634.62%)
Mutual labels:  jenkins, jenkins-plugin
ecutest-plugin
This plugin integrates Jenkins with ECU-TEST and generates reports on automated test execution.
Stars: ✭ 23 (-11.54%)
Mutual labels:  jenkins, jenkins-plugin
Swarm Plugin
Jenkins swarm plugin
Stars: ✭ 114 (+338.46%)
Mutual labels:  jenkins, jenkins-plugin
Jenkins Os
Groovy pipeline jobs that build and test Container Linux with Jenkins
Stars: ✭ 43 (+65.38%)
Mutual labels:  jenkins, jenkins-plugin
Performance Plugin
Performance Test Running and Reporting for Jenkins CI
Stars: ✭ 176 (+576.92%)
Mutual labels:  jenkins, jenkins-plugin
Stashnotifier Plugin
A Jenkins Plugin to notify Atlassian Stash|Bitbucket of build results
Stars: ✭ 157 (+503.85%)
Mutual labels:  jenkins, jenkins-plugin
Jira Steps Plugin
Jenkins pipeline steps for integration with JIRA.
Stars: ✭ 88 (+238.46%)
Mutual labels:  jenkins, jenkins-plugin
osf-builder-suite-for-sfcc-deploy-plugin
OSF Builder Suite For Salesforce Commerce Cloud :: Deploy
Stars: ✭ 14 (-46.15%)
Mutual labels:  jenkins, jenkins-plugin
Envinject Plugin
This plugin makes it possible to setup a custom environment for your jobs
Stars: ✭ 74 (+184.62%)
Mutual labels:  jenkins, jenkins-plugin
build-user-vars-plugin
Set of environment variables that describe the user who started the build
Stars: ✭ 40 (+53.85%)
Mutual labels:  jenkins, jenkins-plugin
Simple Theme Plugin
A simple theme plugin for Jenkins
Stars: ✭ 45 (+73.08%)
Mutual labels:  jenkins, jenkins-plugin
Butler
Export/Import Jenkins jobs & plugins 📤
Stars: ✭ 113 (+334.62%)
Mutual labels:  jenkins, jenkins-plugin
Pipeline Aws Plugin
Jenkins Pipeline Step Plugin for AWS
Stars: ✭ 389 (+1396.15%)
Mutual labels:  jenkins, jenkins-plugin
Docker Workflow Plugin
Jenkins plugin which allows building, testing, and using Docker images from Jenkins Pipeline projects.
Stars: ✭ 419 (+1511.54%)
Mutual labels:  jenkins, jenkins-plugin
Sonar Scanner Jenkins
SonarQube Scanner for Jenkins
Stars: ✭ 155 (+496.15%)
Mutual labels:  jenkins, jenkins-plugin
configuration-as-code-groovy-plugin
Extension for Jenkins Configuration-as-Code plugin that allows running Groovy scripts
Stars: ✭ 39 (+50%)
Mutual labels:  jenkins, jenkins-plugin

jenkins阿里云OSS上传插件

使用

1.下载源码&编译

git clone https://github.com/jenkinsci/aliyun-oss-uploader-plugin.git
cd aliyun-oss-uploader-plugin
mvn package -DskipTests

2.在plugins管理页面上传target下的hpi文件并安装,重启jenkins

3.修改项目,增加构建后操作,选择阿里云OSS上传

4.填写阿里云OSS配置信息

本地路径为相对于workspace的路径,例如填写为/abc,则本地路径为${WORKSPACE}/abc 本地路径可以设置为文件或目录。如果设置为文件则上传单个文件,设置为目录上传整个目录

构建

  1. 修改${USER}/.m2/settings.xml中的maven配置文件

mirrors节点中增加

<mirror>
  <id>repo.jenkins-ci.org</id>
  <url>https://repo.jenkins-ci.org/public/</url>
  <mirrorOf>m.g.o-public</mirrorOf>
</mirror>

pluginGroups节点中增加

<pluginGroup>org.jenkins-ci.tools</pluginGroup>

profiles节点中增加

<profile>
  <id>jenkins</id>
  <activation>
    <activeByDefault>true</activeByDefault>
  </activation>
  <repositories>
    <repository>
      <id>repo.jenkins-ci.org</id>
      <url>https://repo.jenkins-ci.org/public/</url>
    </repository>
  </repositories>
  <pluginRepositories>
    <pluginRepository>
      <id>repo.jenkins-ci.org</id>
      <url>https://repo.jenkins-ci.org/public/</url>
    </pluginRepository>
  </pluginRepositories>
</profile>
  1. 打包
mvn clean package -DskipTests
  1. 运行
mvn clean hpi:run
Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].