Class Slave

    • Method Detail

      • isOnline

        public boolean isOnline()
      • waitUntilOnline

        public Slave waitUntilOnline()
        Waits for a slave to come online before proceeding.
        See Also:
        isOnline()
      • getLog

        public String getLog()
      • isOffline

        public boolean isOffline()
      • getExecutorCount

        public int getExecutorCount()
      • runBuildsInOrder

        public static Matcher<Slave> runBuildsInOrder​(Job... jobs)
      • markOffline

        public void markOffline()
        If the agent is online, this method will mark it offline for testing purpose.
      • markOffline

        public void markOffline​(String message)
      • markOnline

        public void markOnline()
        If the agent has been marked offline, this method will bring it up again
      • disconnect

        public void disconnect​(String message)
        If the agent is online, this method will disconnect for testing purpose.
      • delete

        public void delete()
      • launchSlaveAgent

        @Deprecated
        public void launchSlaveAgent()
        Deprecated.
        Prefer launch().
        If the agent is offline, this method will launch it.
      • launch

        public void launch()
        If the agent is offline, this method will launch it.