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

Adding code coverage for Maven and Gradle projects #3

Merged
merged 10 commits into from
Nov 26, 2018
Merged

Adding code coverage for Maven and Gradle projects #3

merged 10 commits into from
Nov 26, 2018

Conversation

rishavsharan
Copy link
Contributor

This is to address issue #2

This will add code cov using Jacoco to the project for both maven and gradle.
For this,

  • The source code was changed to integrate the tests with conditionals in the code

  • the build.gradle for Gradle was updated to add the Jacoco plugin configurations

  • the pom.xml for Maven was updated to add the Jacoco plugin configurations

  • the pipeline yaml for both Gradle and Maven were updated to add the Publish Code cov task

@davidstaheli davidstaheli merged commit 5e9f51c into MicrosoftDocs:master Nov 26, 2018
@rishavsharan rishavsharan deleted the adding_code_cov branch November 26, 2018 15:12
FelicianoTech pushed a commit to FelicianoTech/pipelines-java that referenced this pull request Jun 27, 2019
* 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
@ZoharGolano
Copy link

TEst

Lapacho99 added a commit to Lapacho99/pipelines-java that referenced this pull request Oct 24, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants