forked from DenLilleMand/gildedrose
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Updated jenkinsfile to the newest version
- Loading branch information
1 parent
b2d9497
commit 879345f
Showing
1 changed file
with
1 addition
and
18 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,20 +1,3 @@ | ||
node { | ||
stage('Preparation') { // for display purposes | ||
// Get some code from a GitHub repository | ||
git credentialsId: '520d2a48-92fa-484d-92db-962576ad1ce7', url: '[email protected]:praqma-training/gildedrose.git' | ||
// Get the Maven tool. | ||
// ** NOTE: This 'M3' Maven tool must be configured | ||
// ** in the global configuration. | ||
|
||
} | ||
stage('Build') { | ||
// Run the maven build | ||
if (isUnix()) { | ||
sh "mvn -Dmaven.test.failure.ignore clean package" | ||
} | ||
} | ||
stage('Results') { | ||
junit '**/target/surefire-reports/TEST-*.xml' | ||
archive 'target/*.jar' | ||
} | ||
echo 'Hello World' | ||
} |