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