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

Add delay to startup trigger

    XMLWordPrintable

Details

    Description

      I'm using the startup trigger to start slave nodes when the master node starts. The only problem I run into sometimes is that while the slave nodes at starting up, the master is not finished. So, is it possible to provide the sartup trigger with a delay?

      Attachments

        Activity

          Solution I used is an Ant task with a sleep in it.

          designentropy Joris van der Pol added a comment - Solution I used is an Ant task with a sleep in it.

          Thanks for the tip.
          However it will be better when the feature will be provided by the plugin

          gbois Gregory Boissinot added a comment - Thanks for the tip. However it will be better when the feature will be provided by the plugin

          Code changed in jenkins
          User: Gregory Boissinot
          Path:
          src/main/java/org/jvnet/hudson/plugins/triggers/startup/HudsonComputerListener.java
          src/main/java/org/jvnet/hudson/plugins/triggers/startup/HudsonStartupTrigger.java
          src/main/resources/org/jvnet/hudson/plugins/triggers/startup/HudsonStartupTrigger/config.jelly
          src/main/resources/org/jvnet/hudson/plugins/triggers/startup/HudsonStartupTrigger/help-label.html
          src/main/resources/org/jvnet/hudson/plugins/triggers/startup/HudsonStartupTrigger/help-quietPeriod.html
          http://jenkins-ci.org/commit/startup-trigger-plugin-plugin/49673bf836d6dacb429ba23e8a48f8954d3d7b29
          Log:
          Fix JENKINS-16841


          You received this message because you are subscribed to the Google Groups "Jenkins Commits" group.
          To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-commits+unsubscribe@googlegroups.com.
          For more options, visit https://groups.google.com/groups/opt_out.

          scm_issue_link SCM/JIRA link daemon added a comment - Code changed in jenkins User: Gregory Boissinot Path: src/main/java/org/jvnet/hudson/plugins/triggers/startup/HudsonComputerListener.java src/main/java/org/jvnet/hudson/plugins/triggers/startup/HudsonStartupTrigger.java src/main/resources/org/jvnet/hudson/plugins/triggers/startup/HudsonStartupTrigger/config.jelly src/main/resources/org/jvnet/hudson/plugins/triggers/startup/HudsonStartupTrigger/help-label.html src/main/resources/org/jvnet/hudson/plugins/triggers/startup/HudsonStartupTrigger/help-quietPeriod.html http://jenkins-ci.org/commit/startup-trigger-plugin-plugin/49673bf836d6dacb429ba23e8a48f8954d3d7b29 Log: Fix JENKINS-16841 – You received this message because you are subscribed to the Google Groups "Jenkins Commits" group. To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-commits+unsubscribe@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out .

          People

            ashlux ashlux
            designentropy Joris van der Pol
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: