[JIRA] (JENKINS-60497) Filesystem list parameter reset to default when rebuilding previous job

5 views
Skip to first unread message

korthaus@cordney.com (JIRA)

unread,
Dec 16, 2019, 5:29:04 AM12/16/19
to jenkinsc...@googlegroups.com
René Korthaus created an issue
 
Jenkins / Bug JENKINS-60497
Filesystem list parameter reset to default when rebuilding previous job
Issue Type: Bug Bug
Assignee: Unassigned
Components: filesystem-list-parameter-plugin
Created: 2019-12-16 10:28
Environment: Jenkins 2.190.3
Java OpenJDK Runtime Environment 1.8.0_222-8u222-b10-1ubuntu1~18.04.1-b10
filesystem-list-parameter-plugin 0.0.5
rebuild 1.31
Priority: Minor Minor
Reporter: René Korthaus

When trying to rebuild a previous job using the rebuild plugin, any filesystem list parameter value of job run to rebuild is discarded and the parameter values are set to the default value.

 

Steps to reproduce:

  1. Create a test directory on the master node with two empty subdirectories "A" and "B"
  2. Create a new freestyle job
  3. Open job configuration
  4. Check "This project is parameterized"
  5. Click "Add Parameter"
  6. Choose "File system objects list parameter"
  7. Configure name "test123", NodeName "master", Path "/path/to/test/dir" (created in step 1), Filesystem object type "ALL"
  8. Save configuration
  9. Build job with parameters: parameter directory list shows "A" by default, select "B" and click "Build"
  10. If job succeeded, "Parameters" should show the value select in step 9
  11. Click "Rebuild Last"

Expected result: file system parameter shows value configured in step 9 ("B")

Actual result: file system parameter shows value "A", so job will be rebuilt with wrong parameters

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

aendter83@gmail.com (JIRA)

unread,
Feb 16, 2020, 10:15:02 AM2/16/20
to jenkinsc...@googlegroups.com
Alexander Endter started work on Bug JENKINS-60497
 
Change By: Alexander Endter
Status: Open In Progress

aendter83@gmail.com (JIRA)

unread,
Feb 16, 2020, 10:16:02 AM2/16/20
to jenkinsc...@googlegroups.com

korthaus@cordney.com (JIRA)

unread,
Apr 3, 2020, 1:29:02 PM4/3/20
to jenkinsc...@googlegroups.com

Fix tested and confirmed in 0.0.6. Thanks!

This message was sent by Atlassian Jira (v7.13.12#713012-sha1:6e07c38)
Atlassian logo
Reply all
Reply to author
Forward
0 new messages