Skip to content

fuliu-zln/alibabacloud-package-deployment-pipeline

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Gitpod ready-to-code Build Status

Features

This plugins adds Jenkins pipeline steps to interact with the Aliyun OSS and OOS API.

see the changelog for release information

Primary/Agent setups

This plugin is not optimized to setups with a primary and multiple agents. Only steps that touch the workspace are executed on the agents while the rest is executed on the master.

For the best experience make sure that primary and agents have the same global configuration of AK/SK and networking capabilities.

Usage / Steps

ossUploadAndOosExec

Upload built project to OSS and execution OOS template download OSS file to smartly deploy on ECS instances.

executeId = ossUploadAndOosExec(batchNumber: 3, mode: 'FailurePause', bucket: 'testBucket', destinationDir: '/root/test.zip', invokeScript: '', localPath: '/', objectName: 'test.zip', pausePolicy: 'EveryBatchPause', region: 'cn-hangzhou', resourceId: 'asg-bp15XXXXX', resourceType: 'ESS')

oosStatusQuery

Query OOS template task status by OSS template task id.

oosStatusQuery(executeId: "exec-XXXXXXXXX", region: 'cn-hangzhou')

oosExecuteNotify

Oos template pause task execution next step,like Approve or Cancelled.

oosExecuteNotify(executeId: "exec-XXXXXXXXX", region: 'cn-hangzhou', notifyType: "Approve")

Changelog

1.0

  • first release containing multiple pipeline steps and global configuration.
  • Add golbal configuration
  • Add ossUploadAndOosExec step
  • Add oosStatusQuery step
  • Add oosExecuteNotify step

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Java 87.5%
  • HTML 12.5%