-
Bug
-
Resolution: Unresolved
-
Major
-
None
-
Ubuntu Linux 12.04 en_US.UTF-8
Propiedades del sistema
Nombre ↓
Valor
executable-war /usr/share/jenkins/jenkins.war
file.encoding UTF-8
file.encoding.pkg sun.io
file.separator /
guice.disable.misplaced.annotation.check true
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.45/jre/lib/endorsed
java.ext.dirs /usr/lib/jvm/java-6-sun-1.6.0.45/jre/lib/ext:/usr/java/packages/lib/ext
java.home /usr/lib/jvm/java-6-sun-1.6.0.45/jre
java.io.tmpdir /tmp
java.library.path /usr/lib/jvm/java-6-sun-1.6.0.45/jre/lib/i386/server:/usr/lib/jvm/java-6-sun-1.6.0.45/jre/lib/i386:/usr/lib/jvm/java-6-sun-1.6.0.45/jre/../lib/i386:/usr/java/packages/lib/i386:/lib:/usr/lib
java.runtime.name Java(TM) SE Runtime Environment
java.runtime.version 1.6.0_45-b06
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_45
java.vm.info mixed mode
java.vm.name Java HotSpot(TM) 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.45-b01
jna.platform.library.path /usr/lib/i386-linux-gnu:/lib/i386-linux-gnu:/usr/lib:/lib
line.separator
mail.smtp.sendpartial true
mail.smtps.sendpartial true
os.arch i386
os.name Linux
os.version 3.2.0-48-generic-pae
path.separator :
securerandom.source file:/dev/./urandom
sun.arch.data.model 32
sun.boot.class.path /usr/lib/jvm/java-6-sun-1.6.0.45/jre/lib/resources.jar:/usr/lib/jvm/java-6-sun-1.6.0.45/jre/lib/rt.jar:/usr/lib/jvm/java-6-sun-1.6.0.45/jre/lib/sunrsasign.jar:/usr/lib/jvm/java-6-sun-1.6.0.45/jre/lib/jsse.jar:/usr/lib/jvm/java-6-sun-1.6.0.45/jre/lib/jce.jar:/usr/lib/jvm/java-6-sun-1.6.0.45/jre/lib/charsets.jar:/usr/lib/jvm/java-6-sun-1.6.0.45/jre/lib/modules/jdk.boot.jar:/usr/lib/jvm/java-6-sun-1.6.0.45/jre/classes
sun.boot.library.path /usr/lib/jvm/java-6-sun-1.6.0.45/jre/lib/i386
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=7070 --prefix=/jenkins --ajp13Port=-1 --preferredClassLoader=java.net.URLClassLoader --logfile=/var/log/jenkins/jenkins.log
sun.java.launcher SUN_STANDARD
sun.jnu.encoding UTF-8
sun.management.compiler HotSpot 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 Europe/Madrid
Variables de entorno
Nombre ↓
Valor
HOME /var/lib/jenkins
JENKINS_HOME /var/lib/jenkins
LD_LIBRARY_PATH /usr/lib/jvm/java-6-sun-1.6.0.45/jre/lib/i386/server:/usr/lib/jvm/java-6-sun-1.6.0.45/jre/lib/i386:/usr/lib/jvm/java-6-sun-1.6.0.45/jre/../lib/i386
NLSPATH /usr/dt/lib/nls/msg/%L/%N.cat
PATH /usr/local/sbin:/usr/local/bin:/usr/bin:/usr/sbin:/sbin:/bin
PWD /
TERM linux
UPSTART_INSTANCE
UPSTART_JOB jenkins
XFILESEARCHPATH /usr/dt/app-defaults/%L/Dt
plugins
Nombre ↓
Versión
Activo
Fijado
active-directory 1.33 true false
ant 1.2 true true
credentials 1.4 true false
cvs 2.9 true true
external-monitor-job 1.1 true false
javadoc 1.1 true true
ldap 1.5 true true
mailer 1.5 true false
maven-plugin 1.519 true false
pam-auth 1.1 true true
ssh-credentials 0.3 true false
ssh-slaves 0.25 true false
subversion 1.50 true true
translationUbuntu Linux 12.04 en_US.UTF-8 Propiedades del sistema Nombre ↓ Valor executable-war /usr/share/jenkins/jenkins.war file.encoding UTF-8 file.encoding.pkg sun.io file.separator / guice.disable.misplaced.annotation.check true 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.45/jre/lib/endorsed java.ext.dirs /usr/lib/jvm/java-6-sun-1.6.0.45/jre/lib/ext:/usr/java/packages/lib/ext java.home /usr/lib/jvm/java-6-sun-1.6.0.45/jre java.io.tmpdir /tmp java.library.path /usr/lib/jvm/java-6-sun-1.6.0.45/jre/lib/i386/server:/usr/lib/jvm/java-6-sun-1.6.0.45/jre/lib/i386:/usr/lib/jvm/java-6-sun-1.6.0.45/jre/../lib/i386:/usr/java/packages/lib/i386:/lib:/usr/lib java.runtime.name Java(TM) SE Runtime Environment java.runtime.version 1.6.0_45-b06 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_45 java.vm.info mixed mode java.vm.name Java HotSpot(TM) 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.45-b01 jna.platform.library.path /usr/lib/i386-linux-gnu:/lib/i386-linux-gnu:/usr/lib:/lib line.separator mail.smtp.sendpartial true mail.smtps.sendpartial true os.arch i386 os.name Linux os.version 3.2.0-48-generic-pae path.separator : securerandom.source file:/dev/./urandom sun.arch.data.model 32 sun.boot.class.path /usr/lib/jvm/java-6-sun-1.6.0.45/jre/lib/resources.jar:/usr/lib/jvm/java-6-sun-1.6.0.45/jre/lib/rt.jar:/usr/lib/jvm/java-6-sun-1.6.0.45/jre/lib/sunrsasign.jar:/usr/lib/jvm/java-6-sun-1.6.0.45/jre/lib/jsse.jar:/usr/lib/jvm/java-6-sun-1.6.0.45/jre/lib/jce.jar:/usr/lib/jvm/java-6-sun-1.6.0.45/jre/lib/charsets.jar:/usr/lib/jvm/java-6-sun-1.6.0.45/jre/lib/modules/jdk.boot.jar:/usr/lib/jvm/java-6-sun-1.6.0.45/jre/classes sun.boot.library.path /usr/lib/jvm/java-6-sun-1.6.0.45/jre/lib/i386 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=7070 --prefix=/jenkins --ajp13Port=-1 --preferredClassLoader=java.net.URLClassLoader --logfile=/var/log/jenkins/jenkins.log sun.java.launcher SUN_STANDARD sun.jnu.encoding UTF-8 sun.management.compiler HotSpot 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 Europe/Madrid Variables de entorno Nombre ↓ Valor HOME /var/lib/jenkins JENKINS_HOME /var/lib/jenkins LD_LIBRARY_PATH /usr/lib/jvm/java-6-sun-1.6.0.45/jre/lib/i386/server:/usr/lib/jvm/java-6-sun-1.6.0.45/jre/lib/i386:/usr/lib/jvm/java-6-sun-1.6.0.45/jre/../lib/i386 NLSPATH /usr/dt/lib/nls/msg/%L/%N.cat PATH /usr/local/sbin:/usr/local/bin:/usr/bin:/usr/sbin:/sbin:/bin PWD / TERM linux UPSTART_INSTANCE UPSTART_JOB jenkins XFILESEARCHPATH /usr/dt/app-defaults/%L/Dt plugins Nombre ↓ Versión Activo Fijado active-directory 1.33 true false ant 1.2 true true credentials 1.4 true false cvs 2.9 true true external-monitor-job 1.1 true false javadoc 1.1 true true ldap 1.5 true true mailer 1.5 true false maven-plugin 1.519 true false pam-auth 1.1 true true ssh-credentials 0.3 true false ssh-slaves 0.25 true false subversion 1.50 true true translation
Subversion checkouts of a name with some UTF-8 chars are done incorrectly from the jenkins console ONLY.
For instance "Descripción.txt" gets downloaded as "Descripci?n.txt"
If you do them with svn on the command line everything is fine, you get the proper filename.
If you do them with jsvn (svnkit cli ofrom Ubunut) everything is fine, you get the proper filename.
Workaround:
1) You have to write a bash script to be executed just after the subversion checkout BUT before the maven build.
2) This script must remove all badly checked out files like "Descripci?n.txt"
3) Finally you do an "svn update" within the checked out project directory, so the files are checked out correctly now "Descripción.txt".
4) Everything else from here works as expected.
I had the same problem and the issue was with environment variables
the slave was running on a linux machine, started via ssh from master but the jvm process on the slave didn't get the environment parameter set up for the slave
you can check by doing
sudo cat /proc/[slave_pid]/environ
so I added 'Prefix Start Slave Command' of
export LANG=en_US.UTF-8;
restarted slave, and checked to see if it was set in /proc/?/environ
after that it did do the svn co correctly