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

allow using the help command without access rights to the server

    XMLWordPrintable

    Details

    • Type: Improvement
    • Status: Resolved (View Workflow)
    • Priority: Major
    • Resolution: Duplicate
    • Component/s: cli
    • Labels:
      None
    • Similar Issues:

      Description

      if you are new with the jenkins-cli you would like to know, how to pass credentials/authenticate, but currently, if you configured the security for your jenkins installation, you can't issue
      java -jar jenkins-cli.jar -s http://localhost:8080/ help
      from the command line, because even the help command is depends on the tries to connect to the server (needs Overall read permission).
      I would propose to:
      either allow the help to be executed offline or print some usefull information for the
      Exception in thread "main" java.io.IOException: Server returned HTTP response code: 403
      error, like: it seems that you need to log in to access your jenkins installation, please provide your credentials with --username and --password or --pasword-file

        Attachments

          Issue Links

            Activity

            tyrael Ferenc Kovacs created issue -
            kohsuke Kohsuke Kawaguchi made changes -
            Field Original Value New Value
            Link This issue duplicates JENKINS-8815 [ JENKINS-8815 ]
            kohsuke Kohsuke Kawaguchi made changes -
            Resolution Duplicate [ 3 ]
            Status Open [ 1 ] Resolved [ 5 ]
            rtyler R. Tyler Croy made changes -
            Workflow JNJira [ 138958 ] JNJira + In-Review [ 188250 ]

              People

              Assignee:
              Unassigned Unassigned
              Reporter:
              tyrael Ferenc Kovacs
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: