Jenkinsfile moved to BackEnd folder

This commit is contained in:
yetju000 2019-11-23 10:38:31 +01:00
parent 018624d240
commit e962ac2590
1 changed files with 33 additions and 33 deletions

View File

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