Skip to content

Commit

Permalink
JENKINS-22293
Browse files Browse the repository at this point in the history
java.lang.NoSuchMethodError: hudson.plugins.rake.Rake.<init>

Problem fixed based on gist from @felixbuenemann: https://gist.github.com/felixbuenemann/10261743
  • Loading branch information
Piotr Kuczynski committed Aug 28, 2014
1 parent ae41983 commit 0c11010
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions pom.xml
Expand Up @@ -49,9 +49,9 @@
</dependency>

<dependency>
<groupId>org.jvnet.hudson.plugins</groupId>
<groupId>org.jenkins-ci.plugins</groupId>
<artifactId>rake</artifactId>
<version>[1.7.1,)</version>
<version>[1.8.0,)</version>
</dependency>

<dependency>
Expand Down
Expand Up @@ -22,7 +22,7 @@ protected AbstractRailsTaskPublisher(String rakeInstallation, String rakeWorking
this.rakeInstallation = rakeInstallation;
this.rakeWorkingDir = rakeWorkingDir;
this.task = task;
this.rake = new Rake(this.rakeInstallation, null, task, null, this.rakeWorkingDir, true);
this.rake = new Rake(this.rakeInstallation, null, task, null, this.rakeWorkingDir, true, true);
}

public String getRakeInstallation() {
Expand Down

0 comments on commit 0c11010

Please sign in to comment.