Repository: logging-log4net Updated Branches: refs/heads/feature/cd-pipeline 6bbfa2447 -> cb51c9047
Jenkinsfile: deleteDir() in the first stage before checking out Project: http://git-wip-us.apache.org/repos/asf/logging-log4net/repo Commit: http://git-wip-us.apache.org/repos/asf/logging-log4net/commit/cb51c904 Tree: http://git-wip-us.apache.org/repos/asf/logging-log4net/tree/cb51c904 Diff: http://git-wip-us.apache.org/repos/asf/logging-log4net/diff/cb51c904 Branch: refs/heads/feature/cd-pipeline Commit: cb51c9047d20ffabfc0b95a58032c05e78f0bf5a Parents: 6bbfa24 Author: Dominik Psenner <[email protected]> Authored: Mon Jul 3 21:18:51 2017 +0200 Committer: Dominik Psenner <[email protected]> Committed: Mon Jul 3 21:18:51 2017 +0200 ---------------------------------------------------------------------- Jenkinsfile | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/logging-log4net/blob/cb51c904/Jenkinsfile ---------------------------------------------------------------------- diff --git a/Jenkinsfile b/Jenkinsfile index 82b9e78..1d6354a 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -29,6 +29,7 @@ pipeline { stages { stage('checkout') { steps { + deleteDir() checkout scm } } @@ -174,7 +175,7 @@ pipeline { archive 'package/**/*.*' } } - stage('deploy site') { + stage('publish site') { when { branch 'master' } @@ -184,9 +185,6 @@ pipeline { } } post { - always { - step([$class: 'WsCleanup']) - } failure { step([$class: 'Mailer', notifyEveryUnstableBuild: false, recipients: '[email protected]']) }
