Conditional Post-Build step in Jenkins (Ideally without plugins)

前端 未结 2 1236
孤独总比滥情好
孤独总比滥情好 2021-02-04 03:34

If I understand correctly I can make a build step conditional using this plugin: https://wiki.jenkins-ci.org/display/JENKINS/Conditional+BuildStep+Plugin

First does thi

2条回答
  •  刺人心
    刺人心 (楼主)
    2021-02-04 04:03

    It is posssible but it is a bit messy and can not be done with ui only.

    Create the the conditional build step in the build block and save the konfiguration. Edit the xml file and move the whole conditional build step it to the post build block. Reload the jenkins configuration and it works like intended.

提交回复
热议问题