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

jenkins-cli command get-job not working

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Duplicate
    • Icon: Major Major
    • cli
    • None
    • Jenkins 2.43, OS Win 8.1 14, Oracle JDK 1.8.0_101 (1.8.0_101-b13)

      When previously logged in to the remote box with the "login" command, Iget the following output when trying to get the "sso" job's XML:

      tomas.hrdy@TOMASHRDY /m/workspace/jenkins
      $ java -jar /d/tools/jenkins/jenkins-cli-2.43.jar -s http://jenkins.mb-e.sk/ list-jobs
      [WARN] Failed to authenticate with your SSH keys. Proceeding as anonymous
      ineed-cron-master-cz-release
      ineed-cron-master-sk-release
      sso
      test-supersoused
      testproject

      tomas.hrdy@TOMASHRDY /m/workspace/jenkins
      $ java -jar /d/tools/jenkins/jenkins-cli-2.43.jar -s http://jenkins.mb-e.sk/ get-job sso
      [WARN] Failed to authenticate with your SSH keys. Proceeding as anonymous

      ERROR: No such job 'sso'

            Unassigned Unassigned
            tomashrdy Tomas Hrdy
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: