Re: Making specific jenkins request as public request without authentication

2018-09-24 Thread Mukesh Singal
Thankyou Robert & Jesse. It solved my problem. On Monday, September 24, 2018 at 11:35:37 PM UTC+5:30, Jesse Glick wrote: > > On Mon, Sep 24, 2018 at 10:38 AM Robert Sandell > wrote: > > You will probably also need to define a CrumbExclusion. > > Not for GET requests, and for recent versions of

Re: config.jelly using optionBlock not saving fields to disk

2018-09-24 Thread Jesse Glick
On Mon, Sep 24, 2018 at 12:19 PM Joe Ling wrote: > is optionalBlock still supported? Do not use it. Use `f:optionalProperty` instead. See `ui-samples-plugin` for an example. -- You received this message because you are subscribed to the Google Groups "Jenkins Developers" group. To unsubscribe

Re: Making specific jenkins request as public request without authentication

2018-09-24 Thread Jesse Glick
On Mon, Sep 24, 2018 at 10:38 AM Robert Sandell wrote: > You will probably also need to define a CrumbExclusion. Not for GET requests, and for recent versions of Jenkins I think it is not necessary even for POST since IIRC we stopped requiring crumbs on requests made via API token (or anonymously

Re: NoClassDefFoundError for hudson/slaves/CommandLauncher

2018-09-24 Thread Jesse Glick
On Thu, Sep 20, 2018 at 6:49 AM Antonio Muñiz wrote: > CommandLauncher was detached from core some time ago > Maybe you have to add a new dependency to the detached plugin in your pom No, you should not need to do that. You are just using a parent POM more than a year out of date. https://github

Re: Replacement for AbstractProject.getPublishersList using a Job Object

2018-09-24 Thread Jesse Glick
On Sun, Sep 23, 2018 at 9:23 AM Massimo Bianchi wrote: > But I don't understand how to replace this assignement: > > DescribableList> publishersList = > build.getProject().getPublishersList(); There is no replacement. It would be impossible. I am not sure what the idea behind the original cod

Re: [sqlplus-script-runner-plugin] pipeline support

2018-09-24 Thread Jesse Glick
On Fri, Sep 21, 2018 at 12:14 AM Fernando Boaglio wrote: > I implemented SimpleBuildStep and it is working, but when I replaced > BuildListener with TaskListener I get NO console output Not sure what you might have done wrong, but there are plenty of examples of `SimpleBuildStep` example if you

Re: Jenkins pipeline - how to log some text to build log

2018-09-24 Thread Jesse Glick
On Thu, Sep 20, 2018 at 8:35 AM wrote: > How would I go about that? I think this is a question for the users’ list. -- You received this message because you are subscribed to the Google Groups "Jenkins Developers" group. To unsubscribe from this group and stop receiving emails from it, send an

config.jelly using optionBlock not saving fields to disk

2018-09-24 Thread Joe Ling
Hello, I can't seem to get my config.jelly to save contents to config.xml for my build job. From following this guide: https://wiki.jenkins.io/display/JENKINS/Jelly+form+controls it seems that it is possible to use this jelly tag. Therefore I have the following config.jelly: Unle

Re: Making specific jenkins request as public request without authentication

2018-09-24 Thread Robert Sandell
Use UnprotectedRootAction . You will probably also need to define a CrumbExclusion . Though we normally consider unprotected read access to ag

Making specific jenkins request as public request without authentication

2018-09-24 Thread Mukesh Singal
Hi Everyone, I have implemented a Remote API which tells slaves *healthCheck *status. But Jenkins redirect users to authenticate first. I want to skip authentication for on a specific below URL. *http://localhost:8080/jenkins/healthCheckPlugin/api/xml* I have tried to create Filter and but fa

Re: NoClassDefFoundError for hudson/slaves/CommandLauncher

2018-09-24 Thread Antonio Muñiz
I guess there will be a bunch of instances not reporting data, and those instances are the ones on old versions (...big corporations). Anyways, if a plugin is not directly relying on command-launcher I don't a reason to add a dependency to it. Maybe Jesse (who actually worked on the extraction) ca