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

jenkins CLI create job throwing unable to read .xml file error

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved (View Workflow)
    • Priority: Critical
    • Resolution: Fixed
    • Component/s: cli
    • Labels:
      None
    • Similar Issues:

      Description

      Hi Team,

      I exported a few Jenkins job from 1 server and trying to import them using create-job command.

      It is throwing me below error:

      java.io.IOException: Unable to read /var/jenkins_home/jobs/tk-cbs-automation/config.xml

      Attaching full error output to the ticket.

      Can you please check ang suggest resolution or possible workaround.

       

      Machine I am using CLI command is : Windows 10

      Jenkins is on Ubuntu 20.04

      Jenkins Version: 2.164.2

        Attachments

          Activity

          Hide
          abhajadh Abhay added a comment -

          Update:

          • The issue resolved after I updated the Jenkins version.
          Show
          abhajadh Abhay added a comment - Update: The issue resolved after I updated the Jenkins version.

            People

            Assignee:
            abhajadh Abhay
            Reporter:
            abhajadh Abhay
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: