Uploaded image for project: 'Jenkins'
  1. Jenkins
  2. JENKINS-33672

File Setting Failure in Extended Choice Parameter Plugin on Slave

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Major Major
    • None

      I have two Jenkins instances, a QA system with a single machine, and a Production system with slaves.

      I developed a simulation on the QA system that would read a configuration file in the workspace.
      I used the full path to the location in the machine's internal file system.

      The plugin recognizes the file and configures the UI (a 3 level deep multi-level single select) correctly.
      The location is: /var/lib/jenkins/workspace/simulate-chef-push/jenkins-chef/config/extended-choice-config.txt

      I then went to try to set up the same configuration a new job, with additional features such as the Chef identity, on a designated slave on the Production machine.
      The location is set to /home/babylon/jenkins-slave/jenkins-slave/workspace/chef-push-job/config/extended-choice-config.txt.

      I get the error
      /home/babylon/jenkins-slave/jenkins-slave/workspace/chef-push-job/config/extended-choice-config.txt doesnt seem to exist..

      I can, of course verify that the path on the QA Jenkins is correct. (The plugin can find the path, after all!)

      I can ALSO verify that the path was created on the slave machine by logging into it:

      -sh-4.2$ sudo su babylon
      sh-4.2$ ls /home/babylon/jenkins-slave/jenkins-slave/workspace/chef-push-job/config/extended-choice-config.txt
      /home/babylon/jenkins-slave/jenkins-slave/workspace/chef-push-job/config/extended-choice-config.txt
      

      I can also verify that the file is present and readable in another way by actually outputting the contents of the file in a Shell in the job itself.

      + cat /home/babylon/jenkins-slave/jenkins-slave/workspace/chef-push-job/config/extended-choice-config.txt
      Organization	Job	Quorum
      orgA	jobA1	orgA:jobA1:90%
      orgA	jobA1	orgA:jobA1:85%
      orgA	jobA1	orgA:jobA1:100%
      orgA	jobA2	orgA:jobA2:90%
      orgA	jobA3	orgA:jobA3:90%
      orgB	jobB1	orgB:jobB1:90%
      orgB	jobB1	orgB:jobB1:80%
      orgB	jobB2	orgB:jobB2:70%
      orgB	jobB3	orgB:jobB3:85%
      orgB	jobB3	orgB:jobB3:75%
      

        1. config.xml
          9 kB
          Ed Smiley
        2. Screen Shot 2016-03-18 at 7.26.02 PM.png
          24 kB
          Ed Smiley
        3. Screen Shot 2016-03-18 at 7.28.12 PM.png
          43 kB
          Ed Smiley
        4. Screen Shot 2016-03-18 at 7.28.45 PM.png
          76 kB
          Ed Smiley
        5. Screen Shot 2016-03-18 at 7.29.26 PM.png
          77 kB
          Ed Smiley

            vimil vimil
            edsmiley Ed Smiley
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated: