In Continuous Integration with Jenkins and Sonar (in post build) and Maven3, i have my own repository in C:\desenvolvimento\repositorio-maven\maven3.2.1

      When i use Jenkins+Maven, jenkins use a repository in jenkins_home\jobs\proj\workspace\.repository

      When i use jenkins+maven+sonar, jenkins use a repository in jenkins_home\maven-repositories\0

      In jenkins configuration i had configure settings and global settings to use maven configurations using my repo C:\desenvolvimento\repositorio-maven\maven3.2.1 !!!

      But jenkins discard my configurations and force his repo configurations!
      I need jenkins accept my repo configuration and discard his configuration

          [JENKINS-23559] Configure repository in Jenkins

          victor caixa added a comment -

          OBS:
          i noted that jenkins use diferents repositories by the config in Maven Project Configuration - Local Maven Repository and Local to the executor and workspace....

          i sugest create a fourth option, where i set an absolut path of repository i whant to use.

          sorry for my bad english, i dont speak english very well rsrs

          victor caixa added a comment - OBS: i noted that jenkins use diferents repositories by the config in Maven Project Configuration - Local Maven Repository and Local to the executor and workspace .... i sugest create a fourth option, where i set an absolut path of repository i whant to use. sorry for my bad english, i dont speak english very well rsrs

          Francesco Pagetti added a comment - - edited

          it would be nice if the option allows to use the system property M2_REPO

          Francesco Pagetti added a comment - - edited it would be nice if the option allows to use the system property M2_REPO

          I'd change the issue type in "Improvement"....

          Francesco Pagetti added a comment - I'd change the issue type in "Improvement"....

            victor_caixa victor caixa
            victor_caixa victor caixa
            Votes:
            1 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated: