Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

What's meaning of CPS in jenkins. what's the full name of CPS?

What's meaning of CPS in jenkins. what's the full name of CPS ?

like image 863
陈振阳 Avatar asked Feb 07 '18 01:02

陈振阳


People also ask

Why Jenkins uses Groovy?

Groovy is a very powerful language which offers the ability to do practically anything Java can do including: Create sub-processes and execute arbitrary commands on the Jenkins controller and agents. It can even read files in which the Jenkins controller has access to on the host (like /etc/passwd )

What is Jenkins sandbox?

The purpose of the Jenkins sandbox is to allow projects to test their JJB setups before merging. It is configured similarly to production, although it cannot publish artifacts or vote in Gerrit. Jenkins Sandbox URL https://jenkins.fd.io/sandbox/

How does Jenkins define pipeline?

Jenkins Pipeline (or simply "Pipeline") is a suite of plugins which supports implementing and integrating continuous delivery pipelines into Jenkins. A continuous delivery pipeline is an automated expression of your process for getting software from version control right through to your users and customers.

Which pipeline approach is used in Jenkins?

A Jenkinsfile can be written using two types of syntax - Declarative and Scripted. Declarative and Scripted Pipelines are constructed fundamentally differently. Declarative Pipeline is a more recent feature of Jenkins Pipeline which: provides richer syntactical features over Scripted Pipeline syntax, and.


1 Answers

Continuation Passing Style

Continuation Passing Style (CPS) is a style of programming in which the remainder of the program is passed explicitly as a parameter, as opposed to that being handled implicitly represented as call stack.

https://github.com/cloudbees/groovy-cps/blob/master/doc/cps-basics.md

like image 127
Kanyon Avatar answered Oct 11 '22 19:10

Kanyon