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

No access to workspace via URL when authorization is 'Logged-in users can do anything'

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed (View Workflow)
    • Priority: Major
    • Resolution: Duplicate
    • Component/s: core
    • Labels:
    • Environment:
      Jenkins 2.60.1, Ubuntu 16.04
    • Similar Issues:

      Description

      I need a functionality to access workspace files during the build via jenkins http frontend. From some hints on stackoverflow I see that this can be achieved by actual enabling the access to workspace in matrix security plugin.

      Actually I've set 'Logged-in users can do anything' and 'Allow anonymous read access' to 'ON'. So I expected at least logged in users can access workspace files. Unfortunately, they don't.

      Steps to reproduce:

      Pre-req: you have jenkins installed and at least one job is configured.

      1. Go to 'Manage Jenkins' -> 'Configure Global Security' -> 'Authorization'
      2. Check 'Logged-in users can do anything' radio button
      3. Click 'Apply' button
      4. Go to '<Job name>' on jenkins main screen
      5. Click 'Build now'
        => No 'Workspace' link on the left job menu
        Expected: workspace files are available via 'Workspace' link by http.

        Attachments

          Activity

          Hide
          danielbeck Daniel Beck added a comment -
          • Go to '<Job name>' on jenkins main screen

          If said job is a pipeline, there's no workspace browsing for that (JENKINS-26138). Has nothing to do with permissions.

          Show
          danielbeck Daniel Beck added a comment - Go to '<Job name>' on jenkins main screen If said job is a pipeline, there's no workspace browsing for that ( JENKINS-26138 ). Has nothing to do with permissions.
          Hide
          pkazlenka Pavel Kazlenka added a comment - - edited

          Daniel Beck, yes, you are right. Closing as duplicate.

          Show
          pkazlenka Pavel Kazlenka added a comment - - edited Daniel Beck , yes, you are right. Closing as duplicate.

            People

            Assignee:
            Unassigned Unassigned
            Reporter:
            pkazlenka Pavel Kazlenka
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: