diff --git a/Jenkinsfile b/Jenkinsfile new file mode 100644 index 0000000..6802a40 --- /dev/null +++ b/Jenkinsfile @@ -0,0 +1,47 @@ +pipeline { + agent any + stages { + stage('build') { + steps { + echo 'Building.....' + sh 'mvn compile' + } + } + + stage('test') { + parallel { + stage('test') { + steps { + echo 'Testing......' + sh 'mvn clean install' + } + } + + stage('echo') { + steps { + sleep 4 + } + } + + } + } + + stage('package') { + steps { + echo 'Packaging.....' + sh 'mvn package' + archiveArtifacts '**/target/*.jar' + } + } + + } + tools { + maven 'Maven 3.8.6' + } + post { + always { + echo 'This pipeline is completed..' + } + + } +} \ No newline at end of file diff --git a/README.md b/README.md index 6ae4ea5..51d3e90 100644 --- a/README.md +++ b/README.md @@ -1,3 +1,6 @@ +change commit 1 +change commit 2 +change commit 3 # Sysfoo Application @@ -175,5 +178,3 @@ If you encounter any issues while using or developing the Sysfoo application, pl We hope you find the Sysfoo application useful for learning and developing your skills in Spring Boot and web application development! - -