You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@logging.apache.org by ma...@apache.org on 2018/04/07 21:52:52 UTC

[2/2] logging-log4j2 git commit: Only delete embedmongo dir if exists

Only delete embedmongo dir if exists


Project: http://git-wip-us.apache.org/repos/asf/logging-log4j2/repo
Commit: http://git-wip-us.apache.org/repos/asf/logging-log4j2/commit/b85fd41f
Tree: http://git-wip-us.apache.org/repos/asf/logging-log4j2/tree/b85fd41f
Diff: http://git-wip-us.apache.org/repos/asf/logging-log4j2/diff/b85fd41f

Branch: refs/heads/master
Commit: b85fd41fe46de0fade3abd0d062e65efca5304a8
Parents: 078808c
Author: Matt Sicker <bo...@gmail.com>
Authored: Sat Apr 7 16:52:06 2018 -0500
Committer: Matt Sicker <bo...@gmail.com>
Committed: Sat Apr 7 16:52:46 2018 -0500

----------------------------------------------------------------------
 Jenkinsfile | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/logging-log4j2/blob/b85fd41f/Jenkinsfile
----------------------------------------------------------------------
diff --git a/Jenkinsfile b/Jenkinsfile
index 192467e..bd831f4 100644
--- a/Jenkinsfile
+++ b/Jenkinsfile
@@ -48,7 +48,7 @@ pipeline {
                         maven 'Maven 3 (latest)'
                     }
                     steps {
-                        bat 'RD /S /Q %userprofile%\\.embedmongo'
+                        bat 'if exist %userprofile%\\.embedmongo\\ rd /s /q %userprofile%\\.embedmongo'
                         bat 'mvn -t toolchains-jenkins-win.xml -V -Dfile.encoding=UTF-8 install'
                     }
                 }