From 60e132f9c285eb9a6db8b45b72b4cd91364b71a3 Mon Sep 17 00:00:00 2001 From: jenkins Date: Tue, 16 Jul 2019 01:06:44 +0000 Subject: [PATCH] Auto created Jenkinsfile from auto conversion --- Jenkinsfile | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 Jenkinsfile diff --git a/Jenkinsfile b/Jenkinsfile new file mode 100644 index 00000000..5d600c49 --- /dev/null +++ b/Jenkinsfile @@ -0,0 +1,21 @@ +// Powered by Infostretch + +timestamps { + +node () { + + stage ('flikart-dev - Checkout') { + checkout([$class: 'GitSCM', branches: [[name: '*/development']], doGenerateSubmoduleConfigurations: false, extensions: [], submoduleCfg: [], userRemoteConfigs: [[credentialsId: 'e93bf3fe-9b64-42dd-b45c-2da9cafeedf1', url: 'https://github.com/MithunTechnologiesDevOps/maven-web-application.git']]]) + } + stage ('flikart-dev - Build') { + // Maven build step + withMaven(maven: 'maven3.6.1') { + if(isUnix()) { + sh "mvn clean sonar:sonar deploy " + } else { + bat "mvn clean sonar:sonar deploy " + } + } + } +} +} \ No newline at end of file