Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Repo info
Activity
  • Jan 25 2019 06:05
  • Jan 23 2019 13:32

    cizezsy on dev

    [maven-release-plugin] prepare … (compare)

  • Jan 23 2019 13:32

    cizezsy on code-coverage-api-1.0.7

    (compare)

  • Jan 23 2019 13:32

    cizezsy on dev

    [maven-release-plugin] prepare … (compare)

  • Jan 23 2019 13:24

    cizezsy on dev

    Fix: thresholds set in global l… Merge pull request #67 from jen… (compare)

  • Jan 23 2019 13:24
    cizezsy closed #67
  • Jan 23 2019 07:09
    cizezsy synchronize #67
  • Jan 23 2019 07:09

    cizezsy on duplicated-thresholds

    Fix: thresholds set in global l… (compare)

  • Jan 23 2019 07:06
    cizezsy reopened #67
  • Jan 23 2019 07:06
    cizezsy closed #67
  • Jan 23 2019 07:03
    cizezsy opened #67
  • Jan 23 2019 07:02

    cizezsy on duplicated-thresholds

    Fix: thresholds set in global l… (compare)

  • Jan 23 2019 03:31

    cizezsy on dev

    remove unused import (compare)

  • Jan 22 2019 09:46

    cizezsy on dev

    Fix: threshold cannot be serial… Merge pull request #66 from jen… (compare)

  • Jan 22 2019 09:46
    cizezsy closed #66
  • Jan 22 2019 09:31
    cizezsy opened #66
  • Jan 22 2019 09:30

    cizezsy on threshold-serialize

    Fix: threshold cannot be serial… (compare)

  • Jan 18 2019 03:48
    cizezsy commented #65
  • Jan 17 2019 18:08
    andre2007 opened #65
  • Jan 17 2019 12:35
    cizezsy closed #64
Ullrich Hafner
@uhafner
Ups, that is really slow. In the warnings plugin I’m also copying the sources, but there I never experienced such problems. Maybe not the copying but the transforming to a colored HTML source is so expensive?
rompic
@rompic
it looks like this
09:40:22 Publishing Coverage report....
09:40:27 A total of 1 reports were found
09:40:27 Source File Navigation is enabled - Current level: STORE_LAST_BUILD
09:40:27 399 source files need to be copied.
09:40:35 Starting copy source file a.java.
09:40:40 Copied a.java.
09:40:40 Starting copy source file b.java.
09:40:45 Copied b.java.
...
10:33:15 Starting copy source file c.java.
10:33:18 Copied c.java.
10:33:18 Calculating coverage change for change request build is enabled, target branch master
10:33:24 [GitHub Checks] GitHub check (name: Code Coverage, status: COMPLETED) has been published.
Ender Tunc
@endertunc_gitlab
Hi all, am I missing something or option sourceFileResolver: sourceFiles('STORE_ALL_BUILD') is not mentioned anywhere. I had to come here to find out how to configure it :)
I would happy to contribute to explain available options but I don't even know what other options this plugin have :)
Sagar Khurana
@hellosagar
Hello everyone
Sagar Khurana
@hellosagar
anyone, please tell me what is the use of the Code Coverage API plugin?
How this is useful
Im new to Jenkins
Ullrich Hafner
@uhafner
Did you already read the documentation of the plugin? What exactly is not clear?
Sagar Khurana
@hellosagar
yes I read the pluin doc
in doc this is written This plugin serves as API to integrate and publish multiple coverage report types.
idk after reading this what is use of this plugin
sorry if my question quite noob level
Ullrich Hafner
@uhafner

This means that the plugin can be used by other plugins that want to publish a test report. Then the main functionality can be reused, just a parser for the test coverage results need to be provided. But you can also use this plugin in a standalone way: if your coverage reports are in the jacoco format.

What are you planning to do?

Sagar Khurana
@hellosagar
@uhafner I have to explore how can I extract REST endpoint from the plugin so that later on I can get the Open API specification and then generating the documentation using the Open API Specification
but I dont know how this lugin works
what do you suggest me for this
Ullrich Hafner
@uhafner
Do you already have a Jenkins instance running with the plugin? You need to run a job that computes the code coverage. Example: https://ci.jenkins.io/job/Plugins/job/warnings-ng-plugin/job/master/1141/coverage/
Sagar Khurana
@hellosagar
oh Okay so for that I have to make a sample project and run test for that code and this plugin is going to give me the Visualisation for how my code is performing?
is it?
Ullrich Hafner
@uhafner
Yes, the code coverage plugin shows the results of the coverage… You can also see an example in action if you run the docker Jenkins in https://github.com/uhafner/warnings-ng-plugin-devenv
Sagar Khurana
@hellosagar
oh okay
and that link you shared is containerised using Docker and using Jenkins and you mean I should look into your plugin who its interegrated with Code coverage
Ullrich Hafner
@uhafner
Sorry, forget the last link. Seem that I removed the coverage part recently.
Sagar Khurana
@hellosagar
oh okay
currently Im looking at this https://www.youtube.com/watch?v=BdbsZ4Z5jIE
Hope this helpful
If you have any helpful link that also would be great 🙂
Ullrich Hafner
@uhafner
Yes, the video is helpful!
Sagar Khurana
@hellosagar
okay lme finish it
Ullrich Hafner
@uhafner
You can also clone https://github.com/uhafner/codingstyle and run jenkins.sh. This will run Jenkins in Docker and provides a project that has compile results, test results, coverage, etc.
Sagar Khurana
@hellosagar
oh okay yeah Let me try this also
Hopfeully with this I get a demontration on how to use Code Coverage plugin
Thanks
Sean Brennan
@sbrennan4
Hi! I'm running this plugin as in a scripted pipeline as described by the example given, publishCoverage adapters: [jacocoAdapter('target/site/jacoco/jacoco.xml')], and getting an error
Archiving artifacts
‘[adapters:[@jacocoAdapter(<anonymous>=target/site/jacoco/jacoco.xml)]]/*.*’ doesn’t match anything, but ‘*.*’ does. Perhaps that’s what you mean?
ERROR: No artifacts found that match the file pattern "[adapters:[@jacocoAdapter(<anonymous>=target/site/jacoco/jacoco.xml)]]/*.*". Configuration error?
any suggestions?
Ulli Hafner
@uhafner:matrix.org
[m]
Are you archiving artifacts one line above that code in your Jenkinsfile? It seems that that line of code is part of the previous step.
Sean Brennan
@sbrennan4
Ah I found the issue. One of our shared libraries is defining a custom step with the same name of publishCoverage.
Oleg Nenashev
@oleg-nenashev
Thanks all for the great plugin! Had a presentation about Advanced Code Coverage in Jenkins today with overview of Code Coverage API and GitHub Checks integrations. Was happy to present our GSoC and to do live demos from ci.jenkins.io. https://twitter.com/oleg_nenashev/status/1400524585464963074
Dinesh
@fargonmer
how do we get cucumber data from jenkins. Does Jenkins provide API for exporting data to external website (like JAcoco)
Ulli Hafner
@uhafner:matrix.org
[m]
There is a plugin for cucumber, did you try that? (https://plugins.jenkins.io/cucumber-reports/)
Dinesh
@fargonmer
i did tried that
image.png
I can able to generate the reports in Jenkins Pieplines.
But how to get that cucumber.json file from Jenkins and feed it to an external website.
Ulli Hafner
@uhafner:matrix.org
[m]
There are other plugins that can copy artifacts to different end point. You will get some answers in the main Jenkins channel
Dinesh
@fargonmer
https://plugins.jenkins.io/cucumber-reports/ I did saw in the main jenkins channel
doesnt find any