• Icon: Improvement Improvement
    • Resolution: Unresolved
    • Icon: Major Major
    • port-allocator-plugin
    • None

      In some cases, it is necessary for a job to aquire a port from a pool of predefined ports (eg. for using an independent memcache connection to be able to flush it on each test setup).

      Each pool should have a name and an enumerated list of port numbers.

      If a job depends on a pool, it is blocked until any of the pool's port gets released.

      If a job has finished, it releases the aquired port, just as it is implemented with the fixed port allocation strategy.

      Allocating a fixed port should lock that port from getting aquired by another job, that depends on a pool, containing the same port and vice versa.

          [JENKINS-11255] Port allocation from named dynamic pools

          Peter Wilcsinszky created issue -
          Peter Wilcsinszky made changes -
          Attachment New: port-allocator.patch [ 20922 ]
          R. Tyler Croy made changes -
          Workflow Original: JNJira [ 141474 ] New: JNJira + In-Review [ 175490 ]

            pepov Peter Wilcsinszky
            pepov Peter Wilcsinszky
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated: