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

      It would be nice to be able to ask for a range of ports (not necessarily contiguous, but that could be a useful option I suppose) given a name, the variables would be allocated with a counter suffix.

      For instance, I'm thinking of two fields being presented: "Name" and "Count". If the user eneted, "Foo", and "10", then Foo1, Foo2, Foo3 ... Foo10 would all be allocated.

          [JENKINS-6647] Add ability to allocate range of TCP Ports

          I need a similar feature to allow me to fix JENKINS-12821. That needs consecutive ports but it would be easy to provide an option to do both. I plan to start working on this in the next day or two.

          Richard Mortimer added a comment - I need a similar feature to allow me to fix JENKINS-12821 . That needs consecutive ports but it would be easy to provide an option to do both. I plan to start working on this in the next day or two.

          Eric Smalling added a comment -

          Awesome! I am no longer needing this for current client, but I'm sure I can contrive a test case to help you validate whatever you implement. Let me janos if you need any help.

          Eric Smalling added a comment - Awesome! I am no longer needing this for current client, but I'm sure I can contrive a test case to help you validate whatever you implement. Let me janos if you need any help.

          Jeff Ekhardt added a comment -

          I also need this and do need the consecutive assignment of ports. I see that the PortAllocationManager has allocatePortRange now, but it doesn't seem to have been exposed in the plugin UI. Is someone working on that?

          Jeff Ekhardt added a comment - I also need this and do need the consecutive assignment of ports. I see that the PortAllocationManager has allocatePortRange now, but it doesn't seem to have been exposed in the plugin UI. Is someone working on that?

          Todd Lipcon added a comment -

          +1 this would be useful for my project as well.

          Todd Lipcon added a comment - +1 this would be useful for my project as well.

            oldelvet Richard Mortimer
            esmalling Eric Smalling
            Votes:
            2 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated: