Jenkinsfile moved to BackEnd folder
This commit is contained in:
parent
018624d240
commit
e962ac2590
66
Jenkinsfile → BacEnd/Jenkinsfile
vendored
66
Jenkinsfile → BacEnd/Jenkinsfile
vendored
@ -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....'
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
Loading…
Reference in New Issue
Block a user