• Icon: Improvement Improvement
    • Resolution: Fixed
    • Icon: Minor Minor
    • cli
    • None

      It'd be nice to have an option how specify more agents at once like in other CLI commands related to agents e.g. disconnect-node.

          [JENKINS-34531] Extend online-node to cover more agents at once

          This improvement depends on JENKINS-31417 due to hudson.model.Messages.Computer_NoSuchSlaveExistsWithoutAdvice

          Pavel Janoušek added a comment - This improvement depends on JENKINS-31417 due to hudson.model.Messages.Computer_NoSuchSlaveExistsWithoutAdvice

          Pavel Janoušek added a comment - - edited

          JENKINS-31417 isn't necessary anymore because dependent string came from JENKINS-34328.

          Pavel Janoušek added a comment - - edited JENKINS-31417 isn't necessary anymore because dependent string came from JENKINS-34328 .

          PR sent.

          Pavel Janoušek added a comment - PR sent.

          Code changed in jenkins
          User: Pavel Janousek
          Path:
          core/src/main/java/hudson/cli/OnlineNodeCommand.java
          test/src/test/java/hudson/cli/OnlineNodeCommandTest.java
          http://jenkins-ci.org/commit/jenkins/8d5afe877bfd75f606aad43868d49a6b4311fef6
          Log:
          JENKINS-34531 Extended CLI online-node for accepting multiple agents (#2343)

          • JENKINS-34531 Extended CLI online-node for accepting multiple agents

          Polished and extended related TC as well.

          • Simplified string composition
          • Simplified initialization of HashSet

          SCM/JIRA link daemon added a comment - Code changed in jenkins User: Pavel Janousek Path: core/src/main/java/hudson/cli/OnlineNodeCommand.java test/src/test/java/hudson/cli/OnlineNodeCommandTest.java http://jenkins-ci.org/commit/jenkins/8d5afe877bfd75f606aad43868d49a6b4311fef6 Log: JENKINS-34531 Extended CLI online-node for accepting multiple agents (#2343) JENKINS-34531 Extended CLI online-node for accepting multiple agents Polished and extended related TC as well. Simplified string composition Simplified initialization of HashSet

          Merged

          Pavel Janoušek added a comment - Merged

          Oleg Nenashev added a comment -

          Released as Jenkins-2.6

          Oleg Nenashev added a comment - Released as Jenkins-2.6

            pajasoft Pavel Janoušek
            pajasoft Pavel Janoušek
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: