/pipeline-templates

A collection of useful Pipeline Templates

Apache License 2.0Apache-2.0

This file was generated by README.tpl via yaml-readme, please don't edit it directly!

实用的流水线模板

这里包含一些比较实用的流水线模板。在 KubeSphere Console 编辑一个新的流水线时,我们可以选择合适的模板来填充流水线脚本。

These are offical Pipeline templates: Template Type: ClusterStepTemplate

Name Description
Archive artifacts Archive artifacts of the build records
CD Update image information using continuous deployment.
Container switch Specify a container to add nested tasks to execute inside the container
Docker build & push Build and push an image from a Dockerfile
Docker login Docker login
Echo Print a message
Stop the Pipeline Stop the Pipeline and mark it as be error
Git Clone Git Clone
Fast linters Runner for Go Fast linters Runner for Go
Groovy Script Groovy Script
input When the pipeline runs here, this task will be suspended, and you can choose to continue or terminate after the review.
JUnit Report Prase JUnit report
Mail Send email
Pipeline trigger Pipeline trigger step
Retry Repeatedly run given steps
Shell You can execute shell commands or windows batch commands in the build.
Check license with skywalking-eyes Check license with skywalking-eyes
Sleep Pause the process for specific time
Code Scan with Snyk Code Scan with Snyk
SVN Clone SVN Clone
Timeout Executes the code inside the block with a determined time out limit.
waitForQualityGate Executed after performing code analysis
Load credential Loading credential into the environment variables
withSonarQubeEnv Quickly locate potential or obvious errors in your code

Template Type: ClusterTemplate

Name Description
Golang Designed for the continuous integration of most Golang projects, including dependency downloading, testing, building, and artifact archiving.
Maven Designed for the continuous integration of most Maven projects, including dependency downloading, testing, building, and artifact archiving.
Node.js Designed for the continuous integration of most Node.js projects, including dependency downloading, testing, building, and artifact archiving.

Template Type: PodTemplate

Name Description
go 1.17 This is a PodTemplate for the Jenkins agent with go 1.17
go 1.18 This is a PodTemplate for the Jenkins agent with go 1.18
go 1.19 This is a PodTemplate for the Jenkins agent with go 1.19
Golang builder Golang builder
Fast linters Runner for Go Fast linters Runner for Go
A full-featured license tool A full-featured license tool
Snyk Go 1.17 Snyk Go 1.17

Contribution

想要了解更多关于流水线模板如何工作,请参考: