forked from MicrosoftDocs/pipelines-java
-
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.
Adding code coverage for Maven and Gradle projects (MicrosoftDocs#3)
* Added Code Coverage * Adding CC to Yaml * Added Jacoco plugin to build file * Added Jacoco plugin to build file 2 * Added Jacoco plugin to build file 3 * Added Jacoco plugin to build file 4 * Added Jacoco plugin to build file 5 * Added Jacoco plugin to build file 7 * Added Jacoco based code cov for Maven and Gradle * Removing the JacocoRpeort bit from yaml
- Loading branch information
1 parent
a3dd26b
commit 5e9f51c
Showing
7 changed files
with
90 additions
and
1 deletion.
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
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
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
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
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
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 |
---|---|---|
@@ -0,0 +1,12 @@ | ||
package com.microsoft.demo; | ||
|
||
public class Demo { | ||
public void DoSomething(boolean flag){ | ||
if(flag){ | ||
System.out.println("I am covered"); | ||
return; | ||
} | ||
|
||
System.out.println("I am not covered"); | ||
} | ||
} |
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