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

Allow ALLOWED_JNLPJARS_FILES to be configurable by plugins

XMLWordPrintable

    • Icon: Improvement Improvement
    • Resolution: Fixed
    • Icon: Minor Minor
    • core, swarm-plugin
    • None

      We currently use the [Swarm](https://wiki.jenkins-ci.org/display/JENKINS/Swarm+Plugin) plugin to configure our agents to connect to the master and one of the things we have to do is presetup the agent with the proper version of the swarm-client jar.

      One thing I wanted to do was update the swarm plugin to allow you to retrieve the swarm-client.jar in the same manner as we can the slave.jar. When I looked at the code though I don't think this is possible due to the code in the core.

      The current process looks like this:

      • Download swarm-client.jar from internet
      • Download slave.jar from master
      • Run java process with -cp slave.jar:swarm-client.jar

      I would like it to look like:

      • Download swarm-client.jar from master
      • Download slave.jar from master
      • Run java process with -cp slave.jar:swarm-client.jar

      End goal is to allow me to configure my agents by retrieving any necessary components from the master, including plugin client dependencies such as the swarm-client.jar.

      References:
      [Slave.java](https://github.com/jenkinsci/jenkins/blob/57fc2185da383e904a2a714f2d945426a92bfc3e/core/src/main/java/hudson/model/Slave.java#L619)
      [Swarm Plugin](https://wiki.jenkins-ci.org/display/JENKINS/Swarm+Plugin)

            Unassigned Unassigned
            antoniobeyah Antonio Beyah
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: