[JIRA] (JENKINS-59418) withMaven overwrites local ~/.mavenrc's MAVEN_CONFIG

5 views
Skip to first unread message

dantran@gmail.com (JIRA)

unread,
Dec 27, 2019, 2:24:02 PM12/27/19
to jenkinsc...@googlegroups.com
dan tran updated an issue
 
Jenkins / New Feature JENKINS-59418
withMaven overwrites local ~/.mavenrc's MAVEN_CONFIG
Change By: dan tran
Summary: withMaven overwrites local ~/.mavenrc's MAVEN_CONFIG overwrites withMaven MAVEN_CONFIG
Add Comment Add Comment
 
This message was sent by Atlassian Jira (v7.13.6#713006-sha1:cc4451f)
Atlassian logo

dantran@gmail.com (JIRA)

unread,
Dec 27, 2019, 2:25:02 PM12/27/19
to jenkinsc...@googlegroups.com
dan tran updated an issue
My ~/.mavenrc has this line

   MAVEN_CONFIG=-ntp

This works locally

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

    MAVEN_CONFIG=-ntp $MAVEN_CONFIG

does not help

dantran@gmail.com (JIRA)

unread,
Dec 27, 2019, 9:58:03 PM12/27/19
to jenkinsc...@googlegroups.com
dan tran closed an issue as Fixed
 

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

Change By: dan tran
Status: Open Closed
Resolution: Fixed
Reply all
Reply to author
Forward
0 new messages