Skip to content

Instantly share code, notes, and snippets.

View Mr-LiuDC's full-sized avatar

Leo Mr-LiuDC

View GitHub Profile
@Mr-LiuDC
Mr-LiuDC / pipeline-syntax.gdsl
Last active November 19, 2024 10:15
GDSL supporting jenkins pipeline.
/**
* JENKINS_HOST/job/pipeline-job/pipeline-syntax/gdsl
* https://gist.github.com/Mr-LiuDC/8a1fbe27e8fbd42361185b06085ef4c3
*
* All pipeline steps can be found here: https://www.jenkins.io/doc/pipeline/steps/
*/
// The global script scope
def ctx = context(scope: scriptScope())