-
Bug
-
Resolution: Duplicate
-
Minor
-
Jenkins 2.318
workflow-job-plugin 2.6
mixing-security-realm-plugin 1.3
When I'm saving pipeline job configuration with pipeline script filled or pipeline script from SCM selected and next I'm trying to edit job configuration again it always load with empty pipeline script (as in attachment).
Job's config.xml file has proper data. The job can be run and will successfully perform all the steps.
If I reconfigure and save it with empty pipeline script, the script will be lost.
After uninstallation of mixing-security-realm-plugin everything back to normal.
- duplicates
-
JENKINS-70366 Jenkins Pipeline Job Sourcecode Disappears
-
- Open
-
- is related to
-
JENKINS-70366 Jenkins Pipeline Job Sourcecode Disappears
-
- Open
-
Same problem.
If plugin installed and enabled, the pipeline script code empty, even if it was there before. If doesn't save job then it will works like usual.
Its seams that web interface cant load full pipeline config from file, but can save to it. And after save, it clear pipeline script part.
How to reproduce.
Install Jenkins
Install Mixing Security Realm 1.3 plugin
Create pipeline
In new opened page:
go to Pipeline -> Definition -> choose Pipeline script -> select Try sample pipeline Hello world -> save job
Run this job -> Confirm success result
Edit job -> confirm that Pipeline script empty.
Don't do any changes and don't press save, go back, run job once again to see that script still there.
And after that do some changes in job, save, run, see that job result has no code to execute.
Jenkins 2.303.2
Run on bare metal from rpm repo
CentOS 7
Java 8