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

Secret File missing during post build Action

XMLWordPrintable

      Hello everyone,

      I have a job with a maven goal "clean install"
      In advanced option I set up the user settings.xml as follow
      ${userSettings.xml} where this variable is a binding from a secret file I created.

      During the maven build, the same file is used but with a different uuid
      clean install s D:--------\secretFiles\e9b970a0-46b8-482e-bc1b-aca37e28ec52\settings-jenkins.xml

      When the Sonar analysis comes, I still have the good user settings.xml

      mvn.bat s D:--------\secretFiles\e1d52a19-5538-4c7d-8e0c-a57392305597\settings-jenkins.xml org.codehaus.mojo:sonar-maven-plugin:2.5:sonar

      and unfortunately I get a

      java.io.FileNotFoundException: The specified user settings file does not exist: D:---------\secretFiles\e1d52a19-5538-4c7d-8e0c-a57392305597\settings-jenkins.xml

      Do you have an idea why ?

            sonarteam Sonar Team
            simondevineau Simon Devineau
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated: