We have some job-dsl scripts which are generating maven jobs.
I have run the scripts with a seed job with a setup of something like this:
This generates a jenkins job where in the rootPom section the correct setting "myproject/pom.xml" is generated.
Now I needed, because of project refactoring, to remove this setting in my job-dsl script.
After removing the statement and running the seed job again, the root pom entry "myproject/pom.xml" is still there. So it seems, the update does not affect this statement.
After remove the jenkins job per hand and running the seed job again, the root pom statement was correct removed. So in general the generation of the job seems to be correct.
It seems that only a job-update for the root-pom section is defect.