Skip to content

Commit

Permalink
Fix JENKINS-18889
Browse files Browse the repository at this point in the history
  • Loading branch information
gboissinot committed Aug 2, 2013
1 parent bbc37bc commit e3e29b9
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 3 deletions.
4 changes: 2 additions & 2 deletions pom.xml
Expand Up @@ -4,7 +4,7 @@
<parent>
<groupId>org.jenkins-ci.plugins</groupId>
<artifactId>plugin</artifactId>
<version>1.509</version>
<version>1.522</version>
</parent>

<artifactId>buildresult-trigger</artifactId>
Expand Down Expand Up @@ -32,7 +32,7 @@
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
<maven.compiler.source>1.6</maven.compiler.source>
<maven.compiler.target>1.6</maven.compiler.target>
<xtrigger.lib.version>0.24</xtrigger.lib.version>
<xtrigger.lib.version>0.26</xtrigger.lib.version>
</properties>

<scm>
Expand Down
Expand Up @@ -136,7 +136,12 @@ public boolean isContextOnStartupFetched() {
}

@Override
protected BuildResultTriggerContext getContext(Node node, XTriggerLog log) throws XTriggerException {
protected boolean requirePollingNode() {
return false;
}

@Override
protected BuildResultTriggerContext getContext(XTriggerLog log) throws XTriggerException {
Map<String, Integer> contextResults = new HashMap<String, Integer>();
SecurityContext securityContext = ACL.impersonate(ACL.SYSTEM);
try {
Expand Down

0 comments on commit e3e29b9

Please sign in to comment.