- Give the multiple steps another try
Project: http://git-wip-us.apache.org/repos/asf/incubator-edgent/repo Commit: http://git-wip-us.apache.org/repos/asf/incubator-edgent/commit/f9a12800 Tree: http://git-wip-us.apache.org/repos/asf/incubator-edgent/tree/f9a12800 Diff: http://git-wip-us.apache.org/repos/asf/incubator-edgent/diff/f9a12800 Branch: refs/heads/develop Commit: f9a12800eaa63f85fd8c99bd1d385064c7dc529f Parents: f1adc51 Author: Christofer Dutz <christofer.d...@c-ware.de> Authored: Tue Oct 31 15:50:18 2017 +0100 Committer: Christofer Dutz <christofer.d...@c-ware.de> Committed: Tue Oct 31 15:50:18 2017 +0100 ---------------------------------------------------------------------- Jenkinsfile | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/incubator-edgent/blob/f9a12800/Jenkinsfile ---------------------------------------------------------------------- diff --git a/Jenkinsfile b/Jenkinsfile index f9b081c..c8c49a5 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -29,15 +29,13 @@ node('ubuntu') { env.JAVA_HOME="${tool 'JDK 1.8 (latest)'}" env.PATH="${env.JAVA_HOME}/bin:${env.PATH}" - def workspace = pwd() - // Make sure the feature branches don't change the SNAPSHOTS in Nexus. def mavenGoal = "install" def mavenLocalRepo = "" if(env.BRANCH_NAME == 'develop') { mavenGoal = "deploy" } else { - mavenLocalRepo = "-Dmaven.repo.local=${workspace)@script/.repository" + mavenLocalRepo = "-Dmaven.repo.local=${env.WORKSPACE)/.repository" } def mavenFailureMode = "" // consider "--fail-at-end"? Odd ordering side effects?