The same issue has been reported here: https://issues.jenkins-ci.org/browse/JENKINS-59145
The solution was to skip upgrading the "Prometheus metrics" plugin. If you have already updated the plugin, then downgrade it and restart JS. On Thursday, October 17, 2019 at 8:22:26 PM UTC+3, kochrist wrote: > > Hi all, > > I have upgraded Jenkins from 2.176 to 2.190.1 as well as the suggested > plugins (the ones without dependencies) and I am facing the following issue. > > I am creating a Pipeline script and I am saving the job. Afterwards I am > opening the same job and the Pipeline script is empty in the UI. > > If I don't Save/Apply the empty job I can see the 'Hello World' log in the > Console output when running the job. > If I save the empty Pipeline script then it is completely lost.. > > https://i.paste.pics/70EV5.png > > I had to revert Jenkins back to 2.176 (from a backup) as this was > affecting all my jobs. > -- 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/3dc42993-4eb8-437b-9df2-2fffce6761de%40googlegroups.com.