I found it in the end. If "Escalate script execution status to job status" is checked, a task added below doesn't save, and is silently deleted.
On Monday, 12 September 2016 12:55:03 UTC+3, Antony Gelberg wrote: > > Hi all, > > This is still an issue after upgrading to 2.21. Still no clues on how to > debug this? > > On Wednesday, 7 September 2016 16:32:11 UTC+3, Antony Gelberg wrote: >> >> Hi all, >> >> This should be the easy stuff but for some reason it's not happening. :) >> >> I'm trying to add a Post build task to a project that already has one. I >> click Add another task and fill in the relevant fields. When I click on >> Save, fill in the git comment for the commit (we use SCM Sync), then Save, >> I am returned to the project page, but the task is not added. There's >> nothing in the logs. >> >> How can I find out what's happening? NB Adding the exact same post-build >> task to other projects succeeded with no issues. >> >> Running 1.647, SCM Sync status is sunny. >> >> Antony >> > -- You received this message because you are subscribed to the Google Groups "Jenkins Users" group. To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-users+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-users/89787340-01f0-438e-a0fa-4f6471c713c3%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.