Skip to content

Instantly share code, notes, and snippets.

View Reizinixc's full-sized avatar
🗨️
In the place where the internet is limited

Ichi (Reizinixc) Reizinixc

🗨️
In the place where the internet is limited
  • Japan
  • 00:45 (UTC +09:00)
View GitHub Profile
@Reizinixc
Reizinixc / pipeline.gdsl
Created May 24, 2020 05:25 — forked from Mazorius/pipeline.gdsl
A GDSL for Jenkins pipelines.
//////////////////////////////////
////// SCRIPT & CLASS SCOPE //////
//////////////////////////////////
final def classContext = context scope: classScope()
final def scriptContext = context scope: scriptScope()
contributor([scriptContext, classContext]) {
property(name: "env", type: 'org.jenkinsci.plugins.workflow.cps.EnvActionImpl')
property(name: "params", type: 'org.jenkinsci.plugins.workflow.cps.EnvActionImpl')