From b7fa690ce3f46738a95884303acc01aa94b842fe Mon Sep 17 00:00:00 2001 From: James Lee Date: Thu, 26 Oct 2017 21:16:20 +0100 Subject: [PATCH] Create Jenkinsfile --- Jenkinsfile | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100644 Jenkinsfile diff --git a/Jenkinsfile b/Jenkinsfile new file mode 100644 index 0000000000..800ffcdded --- /dev/null +++ b/Jenkinsfile @@ -0,0 +1,16 @@ +pipeline { + agent any + stages{ + stage('Build'){ + steps { + sh 'mvn clean package' + } + post { + success { + echo 'Now Archiving...' + archiveArtifacts artifacts: '**/target/*.war' + } + } + } + } +}