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

Downloading agent workspaces as zip causes logout

    XMLWordPrintable

    Details

    • Similar Issues:
    • Released As:
      jenkins 2.279

      Description

      Steps to reproduce:

      1. docker run -p 8080:8080 -p 50000:50000 jenkins/jenkins:2.275
      1. Skip the wizard
      2. Create a static agent and connect it
      3. Create a freestyle job 'fs' running on the agent and add this shell step:
      mkdir -p foo/bar
      touch f1 foo/f2 foo/bar/f3
      1. Start a build
      2. Navigate to http://localhost:8080/job/fs/ws/ and click 'all files in zip'

      Fairly reliably, reloading the page will then show the login form.

      This only happens for agent workspaces, not archived artifacts or master workspaces.
      It also seems to start in 2.275 (with both the SECURITY-1452 fix and Acegi Security), isn't in 2.263.2.

        Attachments

          Activity

          danielbeck Daniel Beck created issue -
          danielbeck Daniel Beck made changes -
          Field Original Value New Value
          Description Steps to reproduce:
           #
          {noformat}
          docker run -p 8080:8080 -p 50000:50000 jenkins/jenkins:2.275{noformat}

           # Skip the wizard
           # Create a static agent and connect it
           # Create a freestyle job 'fs' running on the agent and add this shell step:

          {code:java}
          mkdir -p foo/bar
          touch f1 foo/f2 foo/bar/f3{code}

           # Start a build
           # Navigate to http://localhost:8080/job/fs/ws/ and click 'all files in zip'

          Fairly reliably, reloading the page will then show the login form.

          This only happens for agent workspaces, not archived artifacts or master workspaces.
          It also seems to start in 2.275 (with the SECURITY-1452 fix).
          Steps to reproduce:
           #
          {noformat}
          docker run -p 8080:8080 -p 50000:50000 jenkins/jenkins:2.275{noformat}

           # Skip the wizard
           # Create a static agent and connect it
           # Create a freestyle job 'fs' running on the agent and add this shell step:

          {code:java}
          mkdir -p foo/bar
          touch f1 foo/f2 foo/bar/f3{code}
           # Start a build
           # Navigate to [http://localhost:8080/job/fs/ws/] and click 'all files in zip'

          Fairly reliably, reloading the page will then show the login form.

          This only happens for agent workspaces, not archived artifacts or master workspaces.
           It also seems to start in 2.275 (with both the SECURITY-1452 fix and Acegi Security), isn't in 2.263.2.
          Hide
          danielbeck Daniel Beck added a comment -

          Fixed in 2.279 by PR 5212

          Show
          danielbeck Daniel Beck added a comment - Fixed in 2.279 by PR 5212
          danielbeck Daniel Beck made changes -
          Released As jenkins 2.279
          Resolution Fixed [ 1 ]
          Status Open [ 1 ] Closed [ 6 ]

            People

            Assignee:
            Unassigned Unassigned
            Reporter:
            danielbeck Daniel Beck
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: