![]() |
|
|
|
|
Issue Type:
|
Bug
|
|
Affects Versions:
|
current |
|
Assignee:
|
Unassigned |
|
Components:
|
maven |
|
Created:
|
21/May/13 1:39 AM
|
|
Description:
|
Something broke with respect to specifying a maven settings.xml file in a job sometime after 1.510. I am seeing the issue in 1.515. Any attempt to fill in the maven settings file field is ignored / overwritten with "use maven default" after hitting the save button. I've confirmed it in the jobs config.xml file. Reverting to 1.510 saves the change. At first I tried just reverting the maven plugin version from 1.515 to 1.510 and restarting jenkins but that wasn't enough to fix it. I had to revert war files back to 1.510. Full disclosure I haven't tried any builds in between because at the moment I only have a production server.
The steps are fairly easy to reproduce:
1. Create a freestyle software project.
2. Make one of the build steps "Invoke Top level Maven target"
3. Set maven version to "maven"
4. Goals: I had typed "clean install"
5. Under advanced check "Use private maven repository"
6. -here's what's broken- Settings file set "Settings file in file system"
7.File Path: settings.xml
8 Global Settings file: "Use Default Maven global settings"
9. Click save. Save will appear to complete successfully but
if you look at the xml file itself or go back to the configure page the settings file setting is set back to "use default maven settings".
|
|
Environment:
|
Ubuntu 64 VM
Jenkins running behind Apache2
Jenkins version 1.515
Previously working in 1.510 - confirmed reverting to this build fixes it.
-------------------------------
System Properties
-------------------------------
xecutable-war /usr/share/jenkins/jenkins.war
file.encoding UTF-8
file.encoding.pkg sun.io
file.separator /
hudson.diyChunking true
java.awt.graphicsenv sun.awt.X11GraphicsEnvironment
java.awt.headless true
java.awt.printerjob sun.print.PSPrinterJob
java.class.path /usr/share/jenkins/jenkins.war
java.class.version 50.0
java.endorsed.dirs /usr/lib/jvm/java-6-sun-1.6.0.26/jre/lib/endorsed
java.ext.dirs /usr/lib/jvm/java-6-sun-1.6.0.26/jre/lib/ext:/usr/java/packages/lib/ext
java.home /usr/lib/jvm/java-6-sun-1.6.0.26/jre
java.io.tmpdir /tmp/jenkins
java.library.path /usr/lib/jvm/java-6-sun-1.6.0.26/jre/lib/amd64/server:/usr/lib/jvm/java-6-sun-1.6.0.26/jre/lib/amd64:/usr/lib/jvm/java-6-sun-1.6.0.26/jre/../lib/amd64:/lib:/usr/lib:/usr/local/staf/lib::/usr/java/packages/lib/amd64:/usr/lib64:/lib64:/lib:/usr/lib
java.runtime.name Java(TM) SE Runtime Environment
java.runtime.version 1.6.0_26-b03
java.specification.name Java Platform API Specification
java.specification.vendor Sun Microsystems Inc.
java.specification.version 1.6
java.vendor Sun Microsystems Inc.
java.vendor.url http://java.sun.com/
java.vendor.url.bug http://java.sun.com/cgi-bin/bugreport.cgi
java.version 1.6.0_26
java.vm.info mixed mode
java.vm.name Java HotSpot(TM) 64-Bit Server VM
java.vm.specification.name Java Virtual Machine Specification
java.vm.specification.vendor Sun Microsystems Inc.
java.vm.specification.version 1.0
java.vm.vendor Sun Microsystems Inc.
java.vm.version 20.1-b02
javamelody.analytics-id UA-1335263-7
javamelody.gzip-compression-disabled true
javamelody.http-transform-pattern /\d+/|/site/.+|avadoc/.+|/ws/.+|obertura/.+|estReport/.+|iolations/file/.+|/user/.+|/static/\w+/|/adjuncts/\w+/|/bound/[\w\-]+
javamelody.no-database true
javamelody.storage-directory //var/lib/jenkins/monitoring
javamelody.system-actions-enabled true
jna.platform.library.path /usr/lib/x86_64-linux-gnu:/lib/x86_64-linux-gnu:/usr/lib64:/lib64:/usr/lib:/lib
line.separator
mail.smtp.sendpartial true
mail.smtps.sendpartial true
os.arch amd64
os.name Linux
os.version 2.6.38-8-server
path.separator :
pid 18823
sun.arch.data.model 64
sun.boot.class.path /usr/lib/jvm/java-6-sun-1.6.0.26/jre/lib/resources.jar:/usr/lib/jvm/java-6-sun-1.6.0.26/jre/lib/rt.jar:/usr/lib/jvm/java-6-sun-1.6.0.26/jre/lib/sunrsasign.jar:/usr/lib/jvm/java-6-sun-1.6.0.26/jre/lib/jsse.jar:/usr/lib/jvm/java-6-sun-1.6.0.26/jre/lib/jce.jar:/usr/lib/jvm/java-6-sun-1.6.0.26/jre/lib/charsets.jar:/usr/lib/jvm/java-6-sun-1.6.0.26/jre/lib/modules/jdk.boot.jar:/usr/lib/jvm/java-6-sun-1.6.0.26/jre/classes
sun.boot.library.path /usr/lib/jvm/java-6-sun-1.6.0.26/jre/lib/amd64
sun.cpu.endian little
sun.cpu.isalist
sun.io.unicode.encoding UnicodeLittle
sun.java.command /usr/share/jenkins/jenkins.war --webroot=/var/run/jenkins/war --httpPort=8080 --ajp13Port=-1 -Dhudson.plugins.tmpcleaner.TmpCleanWork.days=2
sun.java.launcher SUN_STANDARD
sun.jnu.encoding UTF-8
sun.management.compiler HotSpot 64-Bit Tiered Compilers
sun.os.patch.level unknown
svnkit.http.methods Digest,Basic,NTLM,Negotiate
svnkit.ssh2.persistent false
user.country US
user.dir /
user.home /var/lib/jenkins
user.language en
user.name jenkins
user.timezone America/New_York
-------------------------------
Environment Variables
-------------------------------
Name ↓ Value
_ /usr/bin/daemon
CLASSPATH /usr/local/staf/samples/demo/STAFDemo.jar:/usr/local/staf/lib/JSTAF.jar:
HOME /var/lib/jenkins
http_proxy http://masterp.cisco.com:80/
JENKINS_HOME /var/lib/jenkins
LANG en_US.UTF-8
LD_LIBRARY_PATH /usr/lib/jvm/java-6-sun-1.6.0.26/jre/lib/amd64/server:/usr/lib/jvm/java-6-sun-1.6.0.26/jre/lib/amd64:/usr/lib/jvm/java-6-sun-1.6.0.26/jre/../lib/amd64:/lib:/usr/lib:/usr/local/staf/lib:
LOGNAME jenkins
MAIL /var/mail/jenkins
NLSPATH /usr/dt/lib/nls/msg/%L/%N.cat
PATH /usr/local/staf/bin:/usr/local/bin:/usr/bin:/bin:/usr/local/games:/usr/games
PWD /var/lib/jenkins
PYTHONPATH /usr/local/staf/lib:
SHELL /bin/bash
SHLVL 1
STAFCONVDIR /usr/local/staf/codepage
TERM xterm-256color
USER jenkins
XDG_SESSION_COOKIE c77a6e976d10bea3b4dabf310000084c-1369089889.707708-1923908228
XFILESEARCHPATH /usr/dt/app-defaults/%L/Dt
-------------------------------
Plugins
-------------------------------
Name ↓ Version Enabled Pinned
ant 1.2 true true
backup 1.6.1 true false
build-timeout 1.11 true false
chucknorris 0.5 true false
compact-columns 1.9 true false
conditional-buildstep 1.2.1 true false
credentials 1.3.1 true false
cvs 2.8 true true
dashboard-view 2.6 true false
description-column-plugin 1.3 true false
distfork 1.3 true false
distTest 1.0 true false
downstream-buildview 1.8 true false
emotional-jenkins-plugin 1.1 true false
envinject 1.85 true false
Exclusion 0.8 false false
external-monitor-job 1.1 true false
flexible-publish 0.10 true false
git 1.4.0 true false
git-client 1.0.6 true false
git-server 1.1 true false
greenballs 1.12 true false
groovy 1.13 true false
html-audio-notifier 0.4 true false
iphoneview 0.2 true false
javadoc 1.1 true true
jenkins-multijob-plugin 1.9 true false
jenkinswalldisplay 0.6.16 true false
jobConfigHistory 2.4 true false
jquery 1.7.2-1 true false
label-verifier 1.0 true false
ldap 1.4 true true
locks-and-latches 0.6 false false
mailer 1.4 true false
maven-plugin 1.510 true true
monitoring 1.44.0 true false
multiple-scms 0.2 true false
nested-view 1.10 true false
next-executions 1.0.5 true false
nodelabelparameter 1.4 true false
nodenamecolumn 1.1 true false
pam-auth 1.0 true false
parameterized-trigger 2.17 true false
rebuild 1.19 true false
repository-connector 0.8.2 true false
run-condition 0.10 true false
scriptler 2.6.1 true false
slave-prerequisites 1.0 true false
slave-setup 1.6 true false
speaks 0.1.1 true false
ssh-credentials 0.2 true false
ssh-slaves 0.25 true true
staf 0.1 true false
started-by-envvar 1.0 true false
statusmonitor 1.3 true false
subversion 1.48 true true
systemloadaverage-monitor 1.2 true false
testInProgress 1.0 true false
throttle-concurrents 1.7.2 true false
timestamper 1.5.3 true false
tmpcleaner 1.1 true false
token-macro 1.6 true false
translation 1.10 true true
versioncolumn 0.2 true false
view-job-filters 1.22 true false
vsphere-cloud
|
|
Project:
|
Jenkins
|
|
Labels:
|
maven
configuration
|
|
Priority:
|
Major
|
|
Reporter:
|
Damon G
|
|
|
|
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators.
For more information on JIRA, see: http://www.atlassian.com/software/jira
|
--
You received this message because you are subscribed to the Google Groups "Jenkins Issues" group.
To unsubscribe from this group and stop receiving emails from it, send an email to
[email protected].
For more options, visit
https://groups.google.com/groups/opt_out.