这是我的工作DSL,它创建了管道作业,其中脚本来自scm本身。
pipelineJob ("${jobName}_deploy") {
description("built by seed")
definition {
cpsScm {
scm {
git {
remote {
url('gitUrl')
credentials('user_creds')
}
branch('master')
}
}
scriptPath "scripts/pipeline/jenkinsfile_deploy"
}
}
}
Run Code Online (Sandbox Code Playgroud)
任何帮助将不胜感激。我有很多工作,我需要打开每个工作,然后单击该复选框很痛苦。