Skip to content

Commit

Permalink
[JENKINS-34846] Migrate to 2.9 parent pom. Bump baseline Fix javadoc …
Browse files Browse the repository at this point in the history
…issues.
  • Loading branch information
armfergom committed May 16, 2016
1 parent fe9dcd5 commit be43f39
Show file tree
Hide file tree
Showing 6 changed files with 14 additions and 36 deletions.
37 changes: 7 additions & 30 deletions pom.xml
Expand Up @@ -3,7 +3,7 @@
<parent>
<groupId>org.jenkins-ci.plugins</groupId>
<artifactId>plugin</artifactId>
<version>1.466</version>
<version>2.9</version>
</parent>

<licenses>
Expand All @@ -28,6 +28,12 @@
<tag>HEAD</tag>
</scm>

<properties>
<jenkins.version>1.580.1</jenkins.version>
<java.level>6</java.level>
<findbugs.failOnError>false</findbugs.failOnError>
</properties>

<dependencies>
<dependency>
<groupId>org.jenkins-ci.plugins</groupId>
Expand All @@ -46,18 +52,8 @@
</exclusion>
</exclusions>
</dependency>
<dependency>
<groupId>com.google.code.findbugs</groupId>
<artifactId>annotations</artifactId>
<version>3.0.0</version>
</dependency>
</dependencies>

<properties>
<project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
</properties>

<repositories>
<repository>
<id>repo.jenkins-ci.org</id>
Expand All @@ -71,25 +67,6 @@
<url>http://repo.jenkins-ci.org/public/</url>
</pluginRepository>
</pluginRepositories>

<build>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-release-plugin</artifactId>
<version>2.5.1</version>
</plugin>
<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>findbugs-maven-plugin</artifactId>
<version>3.0.1</version>
<configuration>
<xmlOutput>true</xmlOutput>
<failOnError>false</failOnError>
</configuration>
</plugin>
</plugins>
</build>
</project>


Expand Up @@ -73,12 +73,12 @@ public void onWrite(AbstractBuild<?,?> build, byte b[], int length) {
}

/**
* Decides whether to call {@link BuildTimeOutStrategy.onWrite}
* Decides whether to call {@link #onWrite(AbstractBuild, byte[], int)}
*
* For performance reason, {@link BuildTimeOutStrategy.onWrite} is called
* For performance reason, {@link #onWrite(AbstractBuild, byte[], int)} is called
* only when subclass overrides it.
*
* @return true to call {@link BuildTimeOutStrategy.onWrite}
* @return true to call {@link #onWrite(AbstractBuild, byte[], int)}
*/
public boolean wantsCaptureLog() {
try {
Expand Down
Expand Up @@ -20,7 +20,7 @@
/**
* If the build reaches <tt>deadlineTime</tt>, it will be terminated.
*
* @author Fernando Miguélez Palomo <fernando.miguelez@gmail.com>
* @author Fernando Miguélez Palomo (fernando.miguelez@gmail.com)
*/
public class DeadlineTimeOutStrategy extends BuildTimeOutStrategy {

Expand Down
Expand Up @@ -19,7 +19,7 @@
/**
* Get the time considered it stuck.
*
* @return 10 times as much as eta if eta is available, else 24 hours.
* Return 10 times as much as eta if eta is available, else 24 hours.
* @see Executor#isLikelyStuck()
*/
public class LikelyStuckTimeOutStrategy extends BuildTimeOutStrategy {
Expand Down
Expand Up @@ -75,7 +75,7 @@ private Object readResolve() {
}

/**
* @param timeoutSeconds
* @param timeoutSecondsString
*/
@DataBoundConstructor
public NoActivityTimeOutStrategy(String timeoutSecondsString) {
Expand Down
1 change: 1 addition & 0 deletions src/main/resources/index.jelly
@@ -1,3 +1,4 @@
<?jelly escape-by-default='true'?>
<div>
This plugin allows builds to be automatically terminated after the
specified amount of time has elapsed.
Expand Down

0 comments on commit be43f39

Please sign in to comment.