访问 jenkins 中上次成功构建的环境变量

时间:2021-03-15 11:08:09

标签: jenkins groovy

如何在调用 getLastSuccessfulBuild 后获取环境变量

def build = Jenkins.instance.getItemByFullName("job_name").getLastSuccessfulBuild() // here i get the specific build

0 个答案:

没有答案