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
37 changes: 37 additions & 0 deletions Jenkinsfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,37 @@
pipeline {
agent any
tools{
maven 'maven'
}
stages {
stage('Build') {
steps {
sh 'mvn -B -Dskiptests clean install'
}
}
stage('Test') {
steps {
sh 'mvn test'
}
post {
always {
junit 'target/surefire-reports/*.xml'
}
}
}
stage('Deliver') {
steps {
sh './scripts/deliver.sh'
}
}
}
}









4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ mvn clean install


to run

this is my changes 4
scripts/deliver.sh
i made changes

this is a uild trigger test
6 changes: 6 additions & 0 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@
</properties>
<build>
<pluginManagement>

<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
Expand All @@ -29,8 +30,13 @@
</plugins>
</pluginManagement>
<plugins>

<plugin>
<!-- Build an executable JAR -->
<!-- Test commit -->
<!-- Test commit 1-->
<!-- Test commit 2-->

<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-jar-plugin</artifactId>
<version>3.2.0</version>
Expand Down