timja / jenkins-gh-issues-poc-06-18

0 stars 0 forks source link

[JENKINS-32494] Renaming the job name doesn't convert space to '_' #7779

Closed timja closed 8 years ago

timja commented 8 years ago

Try to rename the existing job with new name say "daily sanity". While running the job it fails with space issue.


Originally reported by pavan_kumar9, imported from: Renaming the job name doesn't convert space to '_'
  • assignee: olivergondza
  • status: Resolved
  • priority: Minor
  • resolution: Incomplete
  • resolved: 2016-01-26T08:35:23+00:00
  • imported: 2022/01/10
timja commented 8 years ago

olivergondza:

Please be more specific on how you renamed the job and what was the failure exactly. I presume this have nothing to do with job-parameter-summary-plugin so setting component to core.

timja commented 8 years ago

pavan_kumar9:

Basically this is what i did. I first created a job as "Test sanity job." then later i renamed job to "Daily Sanity job". After renaming the job was failing in pre-reqs.

Then to fix this I tried renaming as "Daily_Sanity_Job". It started working fine. So I suspect renaming with text having space leads to this issue. Let me know if you need any information.

timja commented 8 years ago

integer:

pavan_kumar9 please read https://wiki.jenkins-ci.org/display/JENKINS/How+to+report+an+issue#Howtoreportanissue-WhatinformationtoprovideforEnvironmentandDescription

timja commented 8 years ago

pavan_kumar9:

awt.toolkit sun.lwawt.macosx.LWCToolkit
executable-war /Users/pooja/automationCode/jenkins.war
file.encoding UTF-8
file.encoding.pkg sun.io
file.separator /
ftp.nonProxyHosts local|.local|169.254/16|.169.254/16
gopherProxySet false
guice.disable.misplaced.annotation.check true
http.nonProxyHosts local|.local|169.254/16|.169.254/16
hudson.diyChunking true
java.awt.graphicsenv sun.awt.CGraphicsEnvironment
java.awt.headless true
java.awt.printerjob sun.lwawt.macosx.CPrinterJob
java.class.path jenkins.war
java.class.version 52.0
java.endorsed.dirs /Library/Java/JavaVirtualMachines/jdk1.8.0_31.jdk/Contents/Home/jre/lib/endorsed
java.ext.dirs /Users/pooja/Library/Java/Extensions:/Library/Java/JavaVirtualMachines/jdk1.8.0_31.jdk/Contents/Home/jre/lib/ext:/Library/Java/Extensions:/Network/Library/Java/Extensions:/System/Library/Java/Extensions:/usr/lib/java
java.home /Library/Java/JavaVirtualMachines/jdk1.8.0_31.jdk/Contents/Home/jre
java.io.tmpdir /var/folders/tg/2ks5_8h100zdscn8tcbm_yz80000gn/T/
java.library.path /Users/pooja/Library/Java/Extensions:/Library/Java/Extensions:/Network/Library/Java/Extensions:/System/Library/Java/Extensions:/usr/lib/java:.
java.runtime.name Java(TM) SE Runtime Environment
java.runtime.version 1.8.0_31-b13
java.specification.name Java Platform API Specification
java.specification.vendor Oracle Corporation
java.specification.version 1.8
java.vendor Oracle Corporation
java.vendor.url http://java.oracle.com/
java.vendor.url.bug http://bugreport.sun.com/bugreport/
java.version 1.8.0_31
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 Oracle Corporation
java.vm.specification.version 1.8
java.vm.vendor Oracle Corporation
java.vm.version 25.31-b07
jna.platform.library.path /usr/lib:/usr/lib
jnidispatch.path /var/folders/tg/2ks5_8h100zdscn8tcbm_yz80000gn/T/jna-106851207/jna5782926793574263844.tmp
line.separator
mail.smtp.sendpartial true
mail.smtp.starttls.enable true
mail.smtps.sendpartial true
os.arch x86_64
os.name Mac OS X
os.version 10.10
path.separator :
socksNonProxyHosts local|.local|169.254/16|.169.254/16
sun.arch.data.model 64
sun.awt.enableExtraMouseButtons true
sun.boot.class.path /Library/Java/JavaVirtualMachines/jdk1.8.0_31.jdk/Contents/Home/jre/lib/resources.jar:/Library/Java/JavaVirtualMachines/jdk1.8.0_31.jdk/Contents/Home/jre/lib/rt.jar:/Library/Java/JavaVirtualMachines/jdk1.8.0_31.jdk/Contents/Home/jre/lib/sunrsasign.jar:/Library/Java/JavaVirtualMachines/jdk1.8.0_31.jdk/Contents/Home/jre/lib/jsse.jar:/Library/Java/JavaVirtualMachines/jdk1.8.0_31.jdk/Contents/Home/jre/lib/jce.jar:/Library/Java/JavaVirtualMachines/jdk1.8.0_31.jdk/Contents/Home/jre/lib/charsets.jar:/Library/Java/JavaVirtualMachines/jdk1.8.0_31.jdk/Contents/Home/jre/lib/jfr.jar:/Library/Java/JavaVirtualMachines/jdk1.8.0_31.jdk/Contents/Home/jre/classes
sun.boot.library.path /Library/Java/JavaVirtualMachines/jdk1.8.0_31.jdk/Contents/Home/jre/lib
sun.cpu.endian little
sun.cpu.isalist
sun.font.fontmanager sun.font.CFontManager
sun.io.unicode.encoding UnicodeBig
sun.java.command jenkins.war
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 /Users/pooja/automationCode
user.home /Users/pooja
user.language en
user.name pooja
user.timezone Asia/Kolkata

Plugins

Name ↓
Version
Enabled
Pinned
analysis-core 1.75 true false
android-emulator 2.13.1 true false
ant 1.2 true false
antisamy-markup-formatter 1.1 true false
artifactdeployer 0.33 true false
artifactory 2.4.4 true false
aws-device-farm 1.11 true false
bootstraped-multi-test-results-report 1.4.5 true false
build-monitor-plugin 1.7+build.172 true false
build-name-setter 1.5.1 true false
buildresult-trigger 0.17 true false
claim 2.7 true false
credentials 1.24 true true
cvs 2.11 true false
email-ext 2.40.5 true false
emailext-template 0.4 true false
envfile 1.2 true false
envinject 1.92.1 true false
environment-script 1.2.2 true false
external-monitor-job 1.4 true false
extreme-feedback 1.7 true false
extreme-notification 1.1 true false
fstrigger 0.39 true false
git 2.4.1 true false
git-client 1.19.1 true false
github 1.15.0 true false
github-api 1.71 true false
github-oauth 0.22.2 true false
htmlpublisher 1.8 true false
image-gallery 1.2 true false
ivytrigger 0.34 true false
javadoc 1.1 true false
jquery 1.11.2-0 true false
junit 1.9 true true
junit-attachments 1.3 true false
ldap 1.11 true false
livescreenshot 1.4.5 true false
mailer 1.16 true true
mapdb-api 1.0.6.0 true false
matrix-auth 1.1 true false
matrix-project 1.4.1 true true
maven-plugin 2.7.1 true false
pam-auth 1.1 true false
parameterized-trigger 2.29 true false
plain-credentials 1.1 true false
port-allocator 1.8 true false
radiatorviewplugin 1.24 true false
scm-api 1.0 true false
script-security 1.13 true false
scripttrigger 0.32 true false
simple-theme-plugin 0.3 true false
ssh-credentials 1.10 true true
ssh-slaves 1.9 true false
subversion 2.5.4 true true
test-results-analyzer 0.2.3 true false
testInProgress 1.4 true false
testng-plugin 1.10 true false
throttle-concurrents 1.8.4 true false
token-macro 1.11 true false
translation 1.10 true false
urltrigger 0.41 true false
windows-slaves 1.0 true false
workflow-step-api 1.10.1 true false
ws-cleanup 0.28 true false
xfpanel 2.0.1 true false
xtrigger 0.54 true false

timja commented 8 years ago

olivergondza:

After renaming the job was failing in pre-reqs

This is where we need more details.

timja commented 8 years ago

danielbeck:

This is likely a problem with something you wrote, rather than in Jenkins. Often, scripts don't consider spaces in paths or similar unusual cases, and fail when encountering this situation.