diff --git a/.gitignore b/.gitignore deleted file mode 100644 index b83d222..0000000 --- a/.gitignore +++ /dev/null @@ -1 +0,0 @@ -/target/ diff --git a/Jenkinsfile b/Jenkinsfile index 887605e..3a55061 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -1,4 +1,5 @@ node { + echo "Parvez" def mvnHome stage('Preparation') { // for display purposes // Get some code from a GitHub repository @@ -6,7 +7,7 @@ node { // Get the Maven tool. // ** NOTE: This 'M3' Maven tool must be configured // ** in the global configuration. - mvnHome = tool 'm3' + mvnHome = tool 'apache-maven-3.5.0' } stage('Build') { // Run the maven build @@ -18,6 +19,6 @@ node { } stage('Results') { junit '**/target/surefire-reports/TEST-*.xml' - archive 'target/*.war' + archive 'target/*.jar' } } diff --git a/file1.txt b/file1.txt new file mode 100644 index 0000000..51deae6 --- /dev/null +++ b/file1.txt @@ -0,0 +1 @@ +adsfsd diff --git a/src/test/java/com/mslc/TestHelloWorld.java b/src/test/java/com/mslc/TestHelloWorld.java index bc4e645..5a84d3c 100755 --- a/src/test/java/com/mslc/TestHelloWorld.java +++ b/src/test/java/com/mslc/TestHelloWorld.java @@ -1,3 +1,9 @@ + + + + + + package com.mslc; import static org.junit.Assert.assertEquals;