Skip to content

Commit

Permalink
Set up PauseAction to be a PersistentAction for better performance
Browse files Browse the repository at this point in the history
  • Loading branch information
svanoort committed Oct 13, 2016
1 parent 39210f5 commit bdc5400
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
4 changes: 2 additions & 2 deletions pom.xml
Expand Up @@ -33,7 +33,7 @@
</parent>
<groupId>org.jenkins-ci.plugins.workflow</groupId>
<artifactId>workflow-support</artifactId>
<version>2.9-SNAPSHOT</version>
<version>2.9-optimized2-SNAPSHOT</version>
<packaging>hpi</packaging>
<name>Pipeline: Supporting APIs</name>
<url>https://wiki.jenkins-ci.org/display/JENKINS/Pipeline+Supporting+APIs+Plugin</url>
Expand Down Expand Up @@ -74,7 +74,7 @@
<dependency>
<groupId>${project.groupId}</groupId>
<artifactId>workflow-api</artifactId>
<version>2.4</version>
<version>2.5-optimized2-SNAPSHOT</version>
</dependency>
<dependency>
<groupId>org.jenkins-ci.plugins</groupId>
Expand Down
Expand Up @@ -25,6 +25,7 @@

import hudson.model.Action;
import hudson.model.InvisibleAction;
import org.jenkinsci.plugins.workflow.actions.PersistentAction;
import org.jenkinsci.plugins.workflow.graph.FlowNode;

import java.io.IOException;
Expand All @@ -41,7 +42,7 @@
*
* @author <a href="mailto:tom.fennelly@gmail.com">tom.fennelly@gmail.com</a>
*/
public class PauseAction extends InvisibleAction {
public class PauseAction extends InvisibleAction implements PersistentAction {

private static final Logger LOGGER = Logger.getLogger(PauseAction.class.getName());

Expand Down

0 comments on commit bdc5400

Please sign in to comment.