From 879345f5acdcd26a7ffe7c1902ef9988c12f42f9 Mon Sep 17 00:00:00 2001 From: Sofus Albertsen Date: Thu, 3 Aug 2017 17:19:37 +0200 Subject: [PATCH] Updated jenkinsfile to the newest version --- Jenkinsfile | 19 +------------------ 1 file changed, 1 insertion(+), 18 deletions(-) diff --git a/Jenkinsfile b/Jenkinsfile index 478acfae..40a123dd 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -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: 'git@github.com: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' }