java-tutorials/Jenkinsfile

27 lines
468 B
Plaintext
Raw Normal View History

2022-06-17 10:47:43 -04:00
pipeline {
agent any
2022-06-17 12:51:11 -04:00
tools {
2022-06-17 12:53:19 -04:00
maven 'maven 3.8.4'
jdk 'OpenJDK-11'
2022-06-17 12:51:11 -04:00
}
2022-06-17 10:47:43 -04:00
stages {
stage('Build') {
steps {
echo 'Building..'
2022-06-17 12:44:29 -04:00
sh 'mvn clean install'
2022-06-17 10:47:43 -04:00
}
}
stage('Test') {
steps {
echo 'Testing..'
}
}
stage('Deploy') {
steps {
echo 'Deploying....'
}
}
}
}