I have just got a bug issue https://issues.jenkins-ci.org/browse/JENKINS-47348 Is there a correct way to make the build status not be in progress when used from post actions? I see the token macro plugin does
// In the case of pipeline jobs, if the status hasn't been set to a non-null value, then it is considered "success" if (!(run instanceof AbstractBuild) && null == run.getResult()) { // TODO this makes little sense. Why not just use Building as below? return Result.SUCCESS.toString(); } I feel like there should be a isInPostActions() or similar method, and possibly where isBuilding returns false? -- You received this message because you are subscribed to the Google Groups "Jenkins Developers" group. To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-dev+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-dev/b8ba4851-db1e-407d-bbd4-d1753ec72b4d%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.