Jenkinsfile moved to BackEnd folder

This commit is contained in:
yetju000 2019-11-23 10:38:31 +01:00
parent 018624d240
commit e962ac2590

View File

@ -1,34 +1,34 @@
pipeline { pipeline {
agent any agent any
tools { tools {
maven 'Default' maven 'Default'
jdk 'java-11-openjdk-amd64' jdk 'java-11-openjdk-amd64'
} }
stages { stages {
stage('Initialize') { stage('Initialize') {
steps { steps {
sh ''' sh '''
echo "PATH = ${PATH}" echo "PATH = ${PATH}"
echo "M2_HOME = ${M2_HOME}" echo "M2_HOME = ${M2_HOME}"
''' '''
} }
} }
stage('Build') { stage('Build') {
steps { steps {
echo 'Building..' echo 'Building..'
sh 'mvn clean install' sh 'mvn clean install'
} }
} }
stage('Test') { stage('Test') {
steps { steps {
echo 'Testing..' echo 'Testing..'
} }
} }
stage('Deploy') { stage('Deploy') {
steps { steps {
echo 'Deploying....' echo 'Deploying....'
} }
} }
} }
} }