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

Jenkins JNLP agents should not connect/schedule builds if the workspace cannot be created or not writable

    XMLWordPrintable

Details

    • Improvement
    • Status: Resolved (View Workflow)
    • Major
    • Resolution: Fixed
    • core, remoting
    • None

    Description

      It's a pretty old behavior, but I think it makes sense to fix it at some point:
      1) Setup the non-existent folder as a workspace for JNLP slaves
      2) Start slave from the user who has no permissions to create folders in the path
      3) Start JNLP slave

      Expected result:
      1) Slave startup fails (like in SSH slaves)

      Actual result:
      1) Slave starts
      2) Slaves accepts the builds
      3) The builds fail

      Attachments

        Issue Links

          Activity

            oleg_nenashev Oleg Nenashev created issue -
            oleg_nenashev Oleg Nenashev made changes -
            Field Original Value New Value
            Assignee Oleg Nenashev [ oleg_nenashev ]
            oleg_nenashev Oleg Nenashev made changes -
            Status Open [ 1 ] In Progress [ 3 ]
            oleg_nenashev Oleg Nenashev made changes -
            Epic Link JENKINS-38833 [ 175240 ]
            oleg_nenashev Oleg Nenashev made changes -
            Link This issue depends on JENKINS-39370 [ JENKINS-39370 ]
            oleg_nenashev Oleg Nenashev made changes -
            Remote Link This issue links to "remoting/pull/129 (Web Link)" [ 15090 ]
            oleg_nenashev Oleg Nenashev made changes -
            Status In Progress [ 3 ] In Review [ 10005 ]
            oleg_nenashev Oleg Nenashev made changes -
            Summary Jenkins JNLP agents should not connect/schedule builds if the workspace cannot be created Jenkins JNLP agents should not connect/schedule builds if the workspace cannot be created or not writable
            oleg_nenashev Oleg Nenashev made changes -
            Resolution Fixed [ 1 ]
            Status In Review [ 10005 ] Resolved [ 5 ]
            cloudbees CloudBees Inc. made changes -
            Remote Link This issue links to "CloudBees Internal OSS-553 (Web Link)" [ 18877 ]

            People

              oleg_nenashev Oleg Nenashev
              oleg_nenashev Oleg Nenashev
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: