[JIRA] (JENKINS-59547) "build with parameters" missing after creating a "new item" and choosing a folder in "copy from"

3 views
Skip to first unread message

amitron@synamedia.com (JIRA)

unread,
Sep 26, 2019, 9:43:02 AM9/26/19
to jenkinsc...@googlegroups.com
Amit Ron created an issue
 
Jenkins / Bug JENKINS-59547
"build with parameters" missing after creating a "new item" and choosing a folder in "copy from"
Issue Type: Bug Bug
Assignee: Unassigned
Components: core
Created: 2019-09-26 13:42
Environment: Jenkins ver. 2.150.3

System Properties
Name ↓
Value
awt.toolkit sun.awt.X11.XToolkit
executable-war /usr/lib/jenkins/jenkins.war
file.encoding UTF-8
file.encoding.pkg sun.io
file.separator /
hudson.security.HudsonPrivateSecurityRealm.ID_REGEX ^[a-zA-Z0-9_.-]+$
java.awt.graphicsenv sun.awt.X11GraphicsEnvironment
java.awt.headless true
java.awt.printerjob sun.print.PSPrinterJob
java.class.path /usr/lib/jenkins/jenkins.war
java.class.version 52.0
java.endorsed.dirs /usr/java/jre1.8.0_201-amd64/lib/endorsed
java.ext.dirs /usr/java/jre1.8.0_201-amd64/lib/ext:/usr/java/packages/lib/ext
java.home /usr/java/jre1.8.0_201-amd64
java.io.tmpdir /tmp
java.library.path /usr/java/packages/lib/amd64:/usr/lib64:/lib64:/lib:/usr/lib
java.runtime.name Java(TM) SE Runtime Environment
java.runtime.version 1.8.0_201-b09
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_201
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.201-b09
JENKINS_HOME /var/lib/jenkins
jetty.git.hash 27208684755d94a92186989f695db2d7b21ebc51
jna.loaded true
jna.platform.library.path /usr/lib64:/lib64:/usr/lib:/lib:/usr/lib64/dyninst:/usr/lib64/mysql
jnidispatch.path /tmp/jna--1712433994/jna8724238926852422975.tmp
line.separator
mail.smtp.sendpartial true
mail.smtps.sendpartial true
os.arch amd64
os.name Linux
os.version 3.10.0-862.el7.x86_64
path.separator :
sun.arch.data.model 64
sun.boot.class.path /usr/java/jre1.8.0_201-amd64/lib/resources.jar:/usr/java/jre1.8.0_201-amd64/lib/rt.jar:/usr/java/jre1.8.0_201-amd64/lib/sunrsasign.jar:/usr/java/jre1.8.0_201-amd64/lib/jsse.jar:/usr/java/jre1.8.0_201-amd64/lib/jce.jar:/usr/java/jre1.8.0_201-amd64/lib/charsets.jar:/usr/java/jre1.8.0_201-amd64/lib/jfr.jar:/usr/java/jre1.8.0_201-amd64/classes
sun.boot.library.path /usr/java/jre1.8.0_201-amd64/lib/amd64
sun.cpu.endian little
sun.cpu.isalist
sun.font.fontmanager sun.awt.X11FontManager
sun.io.unicode.encoding UnicodeLittle
sun.java.command /usr/lib/jenkins/jenkins.war --logfile=/var/log/jenkins/jenkins.log --webroot=/var/cache/jenkins/war --httpPort=8080 --debug=5 --handlerCountMax=100 --handlerCountMaxIdle=20
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 Etc/UTC



Plugins
Name ↓
Version
Enabled
ace-editor 1.1 true
active-directory 2.16 true
ansible 1.0 true
ansicolor 0.6.2 true
ant 1.9 true
antisamy-markup-formatter 1.5 true
apache-httpcomponents-client-4-api 4.5.5-3.0 true
authentication-tokens 1.3 true
bouncycastle-api 2.17 true
branch-api 2.5.2 true
build-monitor-plugin 1.12+build.201809061734 true
build-pipeline-plugin 1.5.8 true
build-timeout 1.19 true
cloudbees-folder 6.8 true
command-launcher 1.3 true
conditional-buildstep 1.3.6 true
convert-to-pipeline 1.0 true
credentials 2.2.0 true
credentials-binding 1.19 true
display-url-api 2.3.1 true
docker-commons 1.15 true
docker-workflow 1.18 true
durable-task 1.29 true
email-ext 2.66 true
external-monitor-job 1.7 true
git 3.10.0 true
git-client 2.7.7 true
git-server 1.7 true
github 1.29.4 true
github-api 1.95 true
github-branch-source 2.5.3 true
gradle 1.32 true
handlebars 1.1.1 true
http_request 1.8.22 true
jackson2-api 2.9.9 true
javadoc 1.5 true
jdk-tool 1.2 true
job-import-plugin 3.2 true
jquery 1.12.4-0 true
jquery-detached 1.2.1 true
jquery-ui 1.0.2 true
jsch 0.1.55 true
junit 1.28 true
ldap 1.20 true
lockable-resources 2.5 true
mailer 1.23 true
mapdb-api 1.0.9.0 true
matrix-auth 2.4.2 true
matrix-project 1.14 true
maven-plugin 3.2 true
momentjs 1.1.1 true
pam-auth 1.5.1 true
parameterized-trigger 2.35.2 true
pipeline-build-step 2.9 true
pipeline-github-lib 1.0 true
pipeline-graph-analysis 1.10 true
pipeline-input-step 2.10 true
pipeline-milestone-step 1.3.1 true
pipeline-model-api 1.3.8 true
pipeline-model-declarative-agent 1.1.1 true
pipeline-model-definition 1.3.8 true
pipeline-model-extensions 1.3.8 true
pipeline-rest-api 2.11 true
pipeline-stage-step 2.3 true
pipeline-stage-tags-metadata 1.3.8 true
pipeline-stage-view 2.11 true
plain-credentials 1.5 true
purge-build-queue-plugin 1.0 true
purge-job-history 1.1 true
rebuild 1.31 true
resource-disposer 0.12 true
role-strategy 2.11 true
run-condition 1.2 true
scm-api 2.4.1 true
script-security 1.60 true
ssh-agent 1.17 true
ssh-credentials 1.16 true
ssh-slaves 1.29.4 true
ssh-steps 1.2.1 true
structs 1.19 true
subversion 2.12.1 true
test-results-analyzer 0.3.5 true
thinBackup 1.9 false
timestamper 1.9 true
token-macro 2.7 true
windows-slaves 1.4 true
workflow-aggregator 2.6 true
workflow-api 2.34 true
workflow-basic-steps 2.18 true
workflow-cps 2.70 true
workflow-cps-global-lib 2.13 true
workflow-durable-task-step 2.31 true
workflow-job 2.32 true
workflow-multibranch 2.21 true
workflow-scm-step 2.7 true
workflow-step-api 2.20 true
workflow-support 3.3 true
ws-cleanup 0.37 true
Priority: Minor Minor
Reporter: Amit Ron

I make a copy of a folder that has some jobs in it using "new item" --> "copy from"...

When opening the newly created folder, it is not possible to run any of the jobs because the "build" or "build with parameters" button is missing.

The workaround it to restart Jenkins and then the build hyperlink appears.

Thank you

Add Comment Add Comment
 
This message was sent by Atlassian Jira (v7.13.6#713006-sha1:cc4451f)
Atlassian logo

dbeck@cloudbees.com (JIRA)

unread,
Oct 9, 2019, 8:25:03 AM10/9/19
to jenkinsc...@googlegroups.com
Daniel Beck closed an issue as Not A Defect
 

Newly created jobs need to be explicitly saved once before they can be built. This is deliberate.

Whether the Folders Plugin does what would be expected by not doing this after a folder is copied is another question, but this is not a bug in core.

Change By: Daniel Beck
Status: Open Closed
Resolution: Not A Defect
Reply all
Reply to author
Forward
0 new messages