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
36 changes: 36 additions & 0 deletions Jenkinsfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
pipeline {
agent any
stages {
stage('build') {
steps {
echo 'compile maven app'
sh 'mvn compile'
}
}

stage('test') {
steps {
echo 'test maven app'
sh 'mvn clean test'
}
}

stage('package') {
steps {
echo 'package maven app'
sh 'mvn package -DskipTests'
archiveArtifacts 'target/*.jar'
}
}

stage('post-build') {
steps {
echo 'pipeline complete'
}
}

}
tools {
maven 'Maven 3.6.3'
}
}
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@

# Sysfoo Application

Hi, reviewer! Applied first rule! Please review!
A Devops Learning App

## About the Application
Expand Down