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

    • Icon: Bug Bug
    • Resolution: Duplicate
    • Icon: Major Major
    • core
    • Jenkins 2.60.1, Ubuntu 16.04

      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.

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

              Created:
              Updated:
              Resolved: