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

Config File Provider v 2.15.1 is not working

    XMLWordPrintable

    Details

    • Similar Issues:

      Description

      Tested regular freestyle job with Maven build step (top level)
      Simple Java EE 7 war file
      Selected Settings File (MySettings)
      Executed job.
      No errors but MySettings was not used and there was a warning in the console log from MvnSettingsProvider.java (line 80)

      listener.getLogger().println("ERROR: your Apache Maven build is setup to use a config with id " + settingsConfigId + " but can not find the config");
      

      Downgraded to 2.13
      Ran the test job
      Success:
      using settings config with name MySettings
      Replacing all maven server entries not found in credentials list is true

        Attachments

          Issue Links

            Activity

            Hide
            franky4ro Dan Albu added a comment - - edited
            Show
            franky4ro Dan Albu added a comment - - edited Same behavior as: https://issues.jenkins-ci.org/browse/JENKINS-40773
            Hide
            franky4ro Dan Albu added a comment -

            Connected as behavior

            Show
            franky4ro Dan Albu added a comment - Connected as behavior
            Hide
            scm_issue_link SCM/JIRA link daemon added a comment -

            Code changed in jenkins
            User: imod
            Path:
            src/main/java/org/jenkinsci/plugins/configfiles/maven/job/MvnGlobalSettingsProvider.java
            src/main/java/org/jenkinsci/plugins/configfiles/maven/job/MvnSettingsProvider.java
            src/test/java/org/jenkinsci/plugins/configfiles/maven/job/MvnSettingsProviderTest.java
            http://jenkins-ci.org/commit/config-file-provider-plugin/999591a7da87ab66f0154f92657062f8aab9310f
            Log:
            JENKINS-40788 fail if maven settings can’t be found

            Compare: https://github.com/jenkinsci/config-file-provider-plugin/compare/b8cba8571543...999591a7da87

            Show
            scm_issue_link SCM/JIRA link daemon added a comment - Code changed in jenkins User: imod Path: src/main/java/org/jenkinsci/plugins/configfiles/maven/job/MvnGlobalSettingsProvider.java src/main/java/org/jenkinsci/plugins/configfiles/maven/job/MvnSettingsProvider.java src/test/java/org/jenkinsci/plugins/configfiles/maven/job/MvnSettingsProviderTest.java http://jenkins-ci.org/commit/config-file-provider-plugin/999591a7da87ab66f0154f92657062f8aab9310f Log: JENKINS-40788 fail if maven settings can’t be found Compare: https://github.com/jenkinsci/config-file-provider-plugin/compare/b8cba8571543...999591a7da87
            Show
            imod Dominik Bartholdi added a comment - just released with version 2.15.3 https://wiki.jenkins-ci.org/display/JENKINS/Config+File+Provider+Plugin#ConfigFileProviderPlugin-Version2.15.3%2806.Jan.2016%29
            Hide
            marc_r Marc Ruesch added a comment -

            2.15.3 is visible in the history but not available for download yet.

            Show
            marc_r Marc Ruesch added a comment - 2.15.3 is visible in the history but not available for download yet.
            Hide
            imod Dominik Bartholdi added a comment -

            yep, I don't know yet what the issue is: here is the file for direct download: https://repo.jenkins-ci.org/releases/org/jenkins-ci/plugins/config-file-provider/2.15.3/config-file-provider-2.15.3.hpi

            Show
            imod Dominik Bartholdi added a comment - yep, I don't know yet what the issue is: here is the file for direct download: https://repo.jenkins-ci.org/releases/org/jenkins-ci/plugins/config-file-provider/2.15.3/config-file-provider-2.15.3.hpi
            Hide
            marc_r Marc Ruesch added a comment -

            thank you!

            Show
            marc_r Marc Ruesch added a comment - thank you!
            Hide
            franky4ro Dan Albu added a comment -

            Dominik Bartholdi I can confirm the error doesn't reproduce anymore. Thank you for the quick fix.

            Show
            franky4ro Dan Albu added a comment - Dominik Bartholdi I can confirm the error doesn't reproduce anymore. Thank you for the quick fix.

              People

              • Assignee:
                domi Dominik Bartholdi
                Reporter:
                rfikree Reza Fikree
              • Votes:
                1 Vote for this issue
                Watchers:
                7 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: