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

"You should set up distributed builds. Building on the controller node can be a security issue. " with agents and cloud configured

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Minor Minor
    • core
    • Jenkins 2.286 freshly upgraded from Jenkins 2.285
    • 2.288

      Test 2.285 instance has been upgraded to 2.286 (switching jenkins/jenkins:2.285-centos to jenkins/jenkins:2.286-centos container)

      There is one permanent agent (apart from "master") and Kubernetes cloud configured. We never build on master node and we use declarative pipelines exclusively.

      After 2.285 -> 2.286 upgrade I was greeted with the following admin warning:

       

      You should set up distributed builds. Building on the controller node can be a security issue. See the documentation.

      "Manage" button takes be to the master node configuration but it is not clear what to do there.

      Test Result
      !Main.isDevelopmentMode true​
      Jenkins.get().getNumExecutors() 1
      Jenkins.get().clouds.isEmpty() false
      Jenkins.get().getNodes().isEmpty() false

            danielbeck Daniel Beck
            saper Marcin Cieślak
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: