Uploaded image for project: 'Jenkins'
  1. Jenkins
  2. JENKINS-37850

CLONE - Maven job config page loses 'use private repository' setting for 'invoke top-level maven targets'

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Duplicate
    • Icon: Major Major
    • maven-plugin
    • None

      Using Jenkins 2.16, I am seeing an issue in a Maven project, when I use the 'Invoke top-level Maven targets' pre-build step.

      When I add this pre-build step, it comes with the 'Use private Maven repository' option unchecked. If I check this option, then save the job, when I re-open the job, I see it is unchecked again. So it appears that the config page is losing my persisted setting, and always setting it back to the unchecked mode.

      The net result is that if you are using the 'Invoke top-level Maven targets' pre-build step, and don't check the 'use private maven repository' option, then each time you change your maven job, you need to go and check that option before you click save.

      Seems that the binding of the page to the <usePrivateRepository> setting in the model is missing on loading the page.

            Unassigned Unassigned
            enrice Erich Mauerböck
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: