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

withMaven overwrites local ~/.mavenrc's MAVEN_CONFIG

    XMLWordPrintable

    Details

    • Similar Issues:

      Description

      My ~/.mavenrc has this line

      MAVEN_CONFIG=-ntp

      This works locally

      At Jenkins, withMaven overwrites my MAVEN_CONFIG. Attempt with

      MAVEN_CONFIG=-ntp $MAVEN_CONFIG

      does not help

        Attachments

          Activity

          dantran dan tran created issue -
          dantran dan tran made changes -
          Field Original Value New Value
          Summary ~/mavenrc's MAVEN_CONFIG overwrites withMaven MAVEN_CONFIG ~/.mavenrc's MAVEN_CONFIG overwrites withMaven MAVEN_CONFIG
          dantran dan tran made changes -
          Summary ~/.mavenrc's MAVEN_CONFIG overwrites withMaven MAVEN_CONFIG withMaven overwrites local ~/.mavenrc's MAVEN_CONFIG
          dantran dan tran made changes -
          Description My ~/.mavenrc has this line

             MAVEN_CONFIG=-ntp

          This works locally

          At Jenkins likely clears out existing MAVEN_CONFIG set by withMaven. Attempt with

              MAVEN_CONFIG=-ntp $MAVEN_CONFIG

          does not help

           
          My ~/.mavenrc has this line

             MAVEN_CONFIG=-ntp

          This works locally

          At Jenkins, withMaven overwrites my MAVEN_CONFIG. Attempt with

              MAVEN_CONFIG=-ntp $MAVEN_CONFIG

          does not help

           
          Hide
          dantran dan tran added a comment -

          false alarm, i am able to use a local ~/.mavenrc to add additional maven param into MAVEN_CONFIG

          Show
          dantran dan tran added a comment - false alarm, i am able to use a local ~/.mavenrc to add additional maven param into MAVEN_CONFIG
          dantran dan tran made changes -
          Resolution Fixed [ 1 ]
          Status Open [ 1 ] Closed [ 6 ]

            People

            Assignee:
            alobato Alvaro Lobato
            Reporter:
            dantran dan tran
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: