Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Pl merge this code #5

Open
wants to merge 11 commits into
base: master
Choose a base branch
from
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
1 change: 0 additions & 1 deletion .gitignore

This file was deleted.

5 changes: 3 additions & 2 deletions Jenkinsfile
Original file line number Diff line number Diff line change
@@ -1,12 +1,13 @@
node {
echo "Parvez"
def mvnHome
stage('Preparation') { // for display purposes
// Get some code from a GitHub repository
git 'https://github.com/pmisarwala/JunitExample.git'
// 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
Expand All @@ -18,6 +19,6 @@ node {
}
stage('Results') {
junit '**/target/surefire-reports/TEST-*.xml'
archive 'target/*.war'
archive 'target/*.jar'
}
}
1 change: 1 addition & 0 deletions file1.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
adsfsd
6 changes: 6 additions & 0 deletions src/test/java/com/mslc/TestHelloWorld.java
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@






package com.mslc;

import static org.junit.Assert.assertEquals;
Expand Down