Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
47 changes: 47 additions & 0 deletions Jenkinsfile
Original file line number Diff line number Diff line change
@@ -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..'
}

}
}
5 changes: 3 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
change commit 1
change commit 2
change commit 3

# Sysfoo Application

Expand Down Expand Up @@ -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!