Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Permit the setting of Build Schedule Delay to "0".
Delay not needed with Replication Events. Also fixed dependent projects feature to no longer rely on this default 3 seconds delay. [FIXED JENKINS-22812] Change-Id: Ic11f0fb7b9e43e95ae7dec71c30fe1e6fab1e8ac
- Loading branch information
Showing
11 changed files
with
167 additions
and
13 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
43 changes: 43 additions & 0 deletions
43
...n/hudson/plugins/gerrit/trigger/dependency/BecauseWaitingToEnsureOtherJobsAreInQueue.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,43 @@ | ||
/* | ||
* The MIT License | ||
* | ||
* Copyright 2014 Ericsson. | ||
* | ||
* Permission is hereby granted, free of charge, to any person obtaining a copy | ||
* of this software and associated documentation files (the "Software"), to deal | ||
* in the Software without restriction, including without limitation the rights | ||
* to use, copy, modify, merge, publish, distribute, sublicense, and/or sell | ||
* copies of the Software, and to permit persons to whom the Software is | ||
* furnished to do so, subject to the following conditions: | ||
* | ||
* The above copyright notice and this permission notice shall be included in | ||
* all copies or substantial portions of the Software. | ||
* | ||
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR | ||
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, | ||
* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE | ||
* AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER | ||
* LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, | ||
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN | ||
* THE SOFTWARE. | ||
*/ | ||
|
||
package com.sonyericsson.hudson.plugins.gerrit.trigger.dependency; | ||
|
||
import com.sonyericsson.hudson.plugins.gerrit.trigger.Messages; | ||
|
||
import hudson.model.queue.CauseOfBlockage; | ||
|
||
/** | ||
* Build is blocked because it is waiting to ensure other jobs are in queue. | ||
* | ||
* @author Scott Hebert <scott.hebert@ericsson.com> | ||
*/ | ||
public class BecauseWaitingToEnsureOtherJobsAreInQueue extends CauseOfBlockage { | ||
|
||
@Override | ||
public String getShortDescription() { | ||
return Messages.WaitingToEnsureOtherJobsAreInQueue(); | ||
} | ||
|
||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1,2 @@ | ||
<p><strong>Build Schedule Delay</strong> delays the scheduling of the build by the specified number of seconds. The default and minimum <strong>Build Schedule Delay</strong> is 3 seconds. A longer delay can be needed if the changes are to be built from Gerrit mirrors, since the replication takes time.</p> | ||
<p><strong>Build Schedule Delay</strong> delays the scheduling of the build by the specified number of seconds. The default <strong>Build Schedule Delay</strong> is 3 seconds. | ||
A longer delay can be needed if the changes are to be built from Gerrit mirrors, since the replication takes time. However, if you are using replication events to trigger your jobs, you may set this value to 0 to disable the <strong>Build Schedule Delay</strong></p> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters