From caa537f81e051694d0a0ac05a066d3eaf8ab733a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Daphn=C3=A9=20Augier?= Date: Sat, 11 Apr 2020 23:44:08 +0200 Subject: [PATCH] deploy --- Jenkinsfile | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/Jenkinsfile b/Jenkinsfile index 9ee75ceb6..8bdddba44 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -20,15 +20,12 @@ pipeline { } } stage('Deploy') { - steps{ - echo "Branch name: ${env.BRANCH_NAME}" - } when { branch 'master' } steps { - echo "Merge to master" - sh 'git pull' + echo "Branch name: ${env.BRANCH_NAME}" + sh './mvnw deploy' } } }