Git Product home page Git Product logo

Comments (20)

dcsobral avatar dcsobral commented on September 23, 2024

Looking at the auto-generated documentation, I think the issue might be with this parameter:

violationConfigs Array/List: org.kohsuke.stapler.NoStaplerConstructorException: There's no @DataBoundConstructor on any constructor of class org.jenkinsci.plugins.jvctb.config.ViolationConfig

from violation-comments-to-stash-plugin.

tomasbjerre avatar tomasbjerre commented on September 23, 2024

Where do you find the auto generated documentation? :)

Den 9 aug. 2016 07:41 skrev "Daniel Capo Sobral" [email protected]:

Looking at the auto-generated documentation, I think the issue might be
with this parameter:

violationConfigs
Array/List:
org.kohsuke.stapler.NoStaplerConstructorException: There's no
@DataBoundConstructor on any constructor of class
org.jenkinsci.plugins.jvctb.config.ViolationConfig


You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
#13 (comment),
or mute the thread
https://github.com/notifications/unsubscribe-auth/AAa1E0cQWZurJXx8FKLVJWnyAe1eFTbfks5qeBMFgaJpZM4Jfu1m
.

from violation-comments-to-stash-plugin.

dcsobral avatar dcsobral commented on September 23, 2024

https://jenkins.url/pipeline-syntax/html

Where jenkins.url is the base URL of your Jenkins server.

Oh, and then you have to scroll down to step, and, on step, scroll down to this plugin, though I suppose you just want to know where that documentation is. :)

from violation-comments-to-stash-plugin.

tomasbjerre avatar tomasbjerre commented on September 23, 2024

Does not work for me.
skarmbild fran 2016-08-09 07 52 27

from violation-comments-to-stash-plugin.

tomasbjerre avatar tomasbjerre commented on September 23, 2024

The job-dsl-plugin also mentions such an api viewer. But that one also gives me 404.

http://localhost:8080/jenkins/plugin/job-dsl/api-viewer

But you are probably right, I'll add the annotation.

from violation-comments-to-stash-plugin.

dcsobral avatar dcsobral commented on September 23, 2024

Ok, that's strange. I can get to that link (well, a similar link prefixed by the job) by going to a pipeline job, entering its configuration, clicking the "Pipeline Syntax" link below the Script/Script Path box, which opens something like [this]https://www.dropbox.com/s/2dma0fa0dfjbrgl/Screenshot%202016-08-08%2023.59.49.png?dl=0) to me, and then I click on the Step Reference link.

Or, in other words, you can find it from the Snippet Generator page.

from violation-comments-to-stash-plugin.

tomasbjerre avatar tomasbjerre commented on September 23, 2024

I tried just adding the annotation. Then the configuration cannot be saved using the configuration GUI... so its not a quick fix. But I'll have a look later today.

from violation-comments-to-stash-plugin.

tomasbjerre avatar tomasbjerre commented on September 23, 2024

I was using to old Jenkins version for the job-dsl-plugin to work. Now I see the docs being generated.

I made a release with the annotation now, hopefully it will solve your issue.

from violation-comments-to-stash-plugin.

dcsobral avatar dcsobral commented on September 23, 2024

Did 1.19 get pulled down? I saw it earlier today, but now that I can bring Jenkins down for upgrade, it isn't there anymore.

from violation-comments-to-stash-plugin.

tomasbjerre avatar tomasbjerre commented on September 23, 2024

No it should still be there.

Den 10 aug. 2016 06:15 skrev "Daniel Capo Sobral" <[email protected]

:

Did 1.19 get pulled down? I saw it earlier today, but now that I can bring
Jenkins down for upgrade, it isn't there anymore.


You are receiving this because you commented.
Reply to this email directly, view it on GitHub
#13 (comment),
or mute the thread
https://github.com/notifications/unsubscribe-auth/AAa1EyefSqW5A6sJqCpkbvT6b4DXk5Glks5qeVBVgaJpZM4Jfu1m
.

from violation-comments-to-stash-plugin.

dcsobral avatar dcsobral commented on September 23, 2024

Ok, I updated, and the auto-generated doc looks fine, but the snippet generator still just gives me step <object of type org.jenkinsci.plugins.jvctb.ViolationsToBitbucketServerRecorder>.

from violation-comments-to-stash-plugin.

tomasbjerre avatar tomasbjerre commented on September 23, 2024

I made a new release now. And this time I actually tested it myself =) So 1.20 should hopefully do it!

from violation-comments-to-stash-plugin.

tomasbjerre avatar tomasbjerre commented on September 23, 2024

See the README for examples.

from violation-comments-to-stash-plugin.

dcsobral avatar dcsobral commented on September 23, 2024

That worked, though now I get Jenkins has not been started, or was already shut down and nothing happens, but that also happened on a Maven style build, so it's not pipeline-related.

from violation-comments-to-stash-plugin.

tomasbjerre avatar tomasbjerre commented on September 23, 2024

Do you think that is related to this plugin?

from violation-comments-to-stash-plugin.

dcsobral avatar dcsobral commented on September 23, 2024

Yes, it always appear right after "Found 0 violations from ViolationConfig
[reporter=ANDROIDLINT, pattern=]", and there's no output (or action) from
the notifier about creating the comment on Bitbucket.

On 11 August 2016 at 06:28, Tomas Bjerre [email protected] wrote:

Do you think that is related to this plugin?


You are receiving this because you modified the open/close state.
Reply to this email directly, view it on GitHub
#13 (comment),
or mute the thread
https://github.com/notifications/unsubscribe-auth/AAInF45UYlbDWRaX6kHt24eNX6dDNdPOks5qexV6gaJpZM4Jfu1m
.

Daniel C. Sobral

I travel to the future all the time.

from violation-comments-to-stash-plugin.

tomasbjerre avatar tomasbjerre commented on September 23, 2024

What version of Jenkins do you use? I use 2.7.

from violation-comments-to-stash-plugin.

tomasbjerre avatar tomasbjerre commented on September 23, 2024

I may have found whats wrong here. I released 1.21. It may fix you problem.

I also added the exact JenkinsFile I use for testi g to the readme.

from violation-comments-to-stash-plugin.

dcsobral avatar dcsobral commented on September 23, 2024

Jenkins 2.17. Curiously, it looked like I had gotten a NPE when I omitted the unused reporters, but I didn't look into that as it was simple to just specify everything (which the snippet generator does by default). I'll try 1.21 tonight, and if it doesn't work, I'll get a ticket for that.

I've changed my pipeline to make sure the message was related to this plugin, and it is.

from violation-comments-to-stash-plugin.

dcsobral avatar dcsobral commented on September 23, 2024

Ok, I traced the other issue. And I can confirm that the plugin is working
with Pipeline fine now, thanks.

On 11 August 2016 at 13:41, Tomas Bjerre [email protected] wrote:

I may have found whats wrong here. I released 1.21. It may fix you problem.

I also added the exact JenkinsFile I use for testi g to the readme.


You are receiving this because you modified the open/close state.
Reply to this email directly, view it on GitHub
#13 (comment),
or mute the thread
https://github.com/notifications/unsubscribe-auth/AAInF4NTQTMXS2DyBVmMw0xlgSvqP5Mxks5qe3rbgaJpZM4Jfu1m
.

Daniel C. Sobral

I travel to the future all the time.

from violation-comments-to-stash-plugin.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.