-
Notifications
You must be signed in to change notification settings - Fork 133
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
Make compatible with Jenkins Workflow/Pipeline plugin for report publishing #50
Comments
I'm working a changeset for this, but I could do with some advice from someone more familiar with how Jenkins plugins work, as I'm mostly guessing and copying from the junit and xunit plugins. |
These are the areas I could use some advice on: https://github.com/leth/cobertura-plugin/commit/52a2ce9b2ec9dde01ff9054e1184c2e833e00a60 |
@leth, any chance to get your changes merged in the near feature? |
Sorry, I've not got around to working on it recently; I would need to find the time to do some more digging to understand the refactoring needed. So no, it's not likely to be soon, sorry. Feel free to work on it if you find time to do so before I do! On 14 March 2016 13:29:06 GMT+00:00, Stijn Van Nieuwenhuyse notifications@github.com wrote:
Sent from my phone. Please excuse my brevity. |
Keep us updated @leth |
I've been waiting for this support for a while now, unfortunately I do not know enough Java to do it myself or I would. Are there any plans to implement this? Besides eventually of course. |
+1 |
3 similar comments
+1 |
+1 |
+1 |
I think what's needed is to implement the |
I brought this issue up here https://groups.google.com/forum/#!msg/jenkinsci-users/UnAK_1YASa0/0TPbYN7HBQAJ |
+1 |
+1 |
Any news? |
Can we have a release (and docs) for this? |
I don't think it's been fully implemented yet. |
@mbarrien mind to let us know what the state of this ticket is? |
+1 |
4 similar comments
+1 |
+1 |
+1 |
+1 |
Pull Request #55 appears to be to add this feature request. |
Any update on this? Seems like a great shame that this isn't getting implemented. Seems like #55 is mostly there, but has some issues right now. Anyone who is a contributor on this project able to give an update regarding whether this will be implemented soon? |
+1 |
This is a feature killer, is there a way we can help here? I see there's currently 6 commits referencing this. Anyone with experience with Jenkins pipeline and cobertura-plugin could provide us with details on what's left to do and or what could be done to finish this faster? I'm not very familiar with Java nor jenkins plugin development, but I really want this feature. If I can do something to help here, I'd be very happy to contribute. Oh I'll start by testing #55 🍸 // install cobertura -> clover transform (until cobertura is supported in pipelines)
// requires python-pip libxslt-devel
sh """
pip install cobertura-clover-transform" // needs lxml
cobertura-clover-transform coverage.xml > clover.xml
"""
step([$class: 'CloverPublisher', cloverReportDir: 'reports', cloverReportFileName: 'clover.xml']) But I'm personally getting the following stacktrace with this:
and Clover is actually 300$ for a single machine |
👍 |
3 similar comments
+1 |
+1 |
+1 |
+1 +10 +100 +1000 +10000 |
Any news on it ? |
See progress in #55 Someone just requested a merge on master. |
+1 |
7 similar comments
+1 |
+1 |
+1 |
+1 |
+1 |
+1 |
+1 |
JENKINS-30700 / #50 Jenkins pipeline support
Fixed in version 1.10 which has been uploaded to the repo. Waiting until it shows up in update center before closing this issue. |
I can see that the plugin has now been published. Does anyone know the pipeline syntax for using it? Other jenkins plugins support the pipeline syntax generator but I can't see cobertura listed under sample steps. |
@SuperBarracuda: If you select the I haven't used it yet, but seems like it is all there. |
I have a line like this:
(My coverage output is in |
The default output from the snippet generator I get is: |
Would it make sense to add @ Symbol("cobertura") or a different one so it's easier to use/find? |
the "coverage metrics target" cannot be generated, need this to fail the build if the coverage is below certain threshold |
Released last week. Please file new issues for any bug found in the pipeline code. |
@lsglick is this the pipeline groovy plugin you are using? https://cloud.githubusercontent.com/assets/5394693/25432882/48cc30f8-2a54-11e7-9efb-47e30cd6751b.png |
I also cannot get the |
+1 for |
The Jenkins Workflow/Pipeline plugin does not support post build steps. To support it, plugins need to make changes as outline in the Plugin Developer Guide at:
https://github.com/jenkinsci/workflow-plugin/blob/master/COMPATIBILITY.md
See corresponding issue in Jenkins Issue tracker
https://issues.jenkins-ci.org/browse/JENKINS-30700
The text was updated successfully, but these errors were encountered: