Skip to content

Commit

Permalink
1. Changed checkout directory to full path
Browse files Browse the repository at this point in the history
2. Bumped up version
  • Loading branch information
adedayo committed May 6, 2015
1 parent 53af62a commit 2bff74e
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
</parent>

<artifactId>zapper</artifactId>
<version>1.0.5-SNAPSHOT</version>
<version>1.0.6-SNAPSHOT</version>
<packaging>hpi</packaging>
<name>Jenkins OWASP ZAP Plugin</name>
<description>Runs, after optionally building, OWASP ZAP for your automated security assessment</description>
Expand Down
4 changes: 2 additions & 2 deletions src/main/java/org/jenkinsci/plugins/zapper/ZapRunner.java
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@ public boolean perform(AbstractBuild build, Launcher launcher, BuildListener lis
}

//Checkout ZAP
new File(zapInstallDescription.getSourcePath()).mkdir();
boolean created = new File(zapInstallDescription.getSourcePath()).mkdir();
File source = new File(zapInstallDescription.getSourcePath());
checkout(zapInstallDescription.getRepositoryURL(), source, logger);

Expand Down Expand Up @@ -233,7 +233,7 @@ public String getDefaultPath() {
}

public String getDefaultSourcePath() {
return "zapSource";
return System.getProperty("user.dir") + File.separator + "zapSource";
}

}
Expand Down

0 comments on commit 2bff74e

Please sign in to comment.