Setting Content-Security-Policy in plugin

2018-01-24 Thread Richard Bywater
One of the users of the HTML Publisher has asked if the plugin could be changed to allow additional Content-Security-Policy settings to be set as part of the configuration for the report. ( https://issues.jenkins-ci.org/browse/JENKINS-48764) I've taken a quick look at the code that seems to output

Re: Access denied error on repo.jenkins-ci.org attempting to publish a plugin.

2018-01-24 Thread Daniel Beck
> On 24. Jan 2018, at 20:33, dave.dresser.c...@gmail.com wrote: > > Thanks for you help. We are still confused here. Somehow we have two ID's > cpwr_jenkins and cpwr_jenkins_plugin. I'm not completely clear on the > history due to changing personnel. Let's start with the id cpwr_jenkins. W

Re: Access denied error on repo.jenkins-ci.org attempting to publish a plugin.

2018-01-24 Thread dave . dresser . cpwr
Thanks for you help. We are still confused here. Somehow we have two ID's cpwr_jenkins and cpwr_jenkins_plugin. I'm not completely clear on the history due to changing personnel. Let's start with the id cpwr_jenkins. We do not know the password. People on the account that got notified by

Re: Build Parameters in Plugin not working

2018-01-24 Thread Jean-Karlo Accetta
Hi Jesse, I had tried run.getEnvironment(listener) as well but hadn't tried the .overrideAll(((AbstractBuild)(run)).getBuildVariables()).expand(this.whatever). Thanks a lot, that did it! On Wednesday, January 24, 2018 at 12:57:32 PM UTC-5, Jesse Glick wrote: > > On Wed, Jan 24, 2018 at 12:10 PM

Re: Build Parameters in Plugin not working

2018-01-24 Thread Jesse Glick
On Wed, Jan 24, 2018 at 12:10 PM, Jean-Karlo Accetta wrote: > I tried using System.getProperty() but that didn't really work either Certainly not—that would be a system property global to the master JVM! Try: http://javadoc.jenkins.io/hudson/model/Run.html#getEnvironment-hudson.model.TaskListen

Re: Defining my own project type

2018-01-24 Thread Jesse Glick
On Wed, Jan 24, 2018 at 8:28 AM, Miguelangel Fernandez wrote: > Doesn't Robert's suggestion address the CLI/REST issue? Probably; try it. -- You received this message because you are subscribed to the Google Groups "Jenkins Developers" group. To unsubscribe from this group and stop receiving e

Build Parameters in Plugin not working

2018-01-24 Thread Jean-Karlo Accetta
Hi all, I created a plugin which adds a build step with a simple textbox to any job. Whenever the job is built, I print out the value of that textbox to the console. The problem is that whenever I set that value to be a parameter of the build (see image), the console simply prints the paramet

Re: Request to become maintainer

2018-01-24 Thread Jack Zylkin
Marco, Thank you for volunteering to work on the CppCheck plugin. Do you have any plans to make a new release soon? There is an annoying bug (JENKINS-42727) that recently got fixed in the CppCheck repo, but it has not made it into a release yet. Thanks, Jack On Monday, January 2, 2017 at 8:54

New release of CppCheck Plugin Needed

2018-01-24 Thread Jack Zylkin
An important bugfix was recently merged to the CppCheck plugin repo (JENKINS-42727). It allows multiple instances of CppCheck builds to run concurrently without blocking each other. Each of my CppCheck builds takes about 1 hr to run, and I am unable to run them in parallel because of this bu

java function call on onclick event

2018-01-24 Thread MUKESH SINGAL
Hi , Currenly i am working on a Jenkins plugin where i need to disable job with OnClick event of a button. For this I am calling a java function (doDisable) from Java script onclick event. When I am trying, I am getting below error. Jan 24, 2018 6:48:04 PM hudson.security.csrf.CrumbFilter do

Re: Defining my own project type

2018-01-24 Thread Miguelangel Fernandez
Doesn't Robert's suggestion address the CLI/REST issue? If I extend it and use it in my own authorization strategy, I can deny create permission for the descriptor types of type freestyle, pipeline, etc. But then again, I I've read that descriptors only define and bind the UI displayed, correct?

Re: Defining my own project type

2018-01-24 Thread Miguelangel Fernandez
Sure thing, Jesse. Thank you for pointing that out. I'll keep that in mind. Do you know of a way to also disable these project types for CLI/REST usages? What should I look into? Any pointer in the general direction would be helpful. On Thursday, 18 January 2018 18:51:24 UTC+1, Jesse Glick wrot

Re: Adopt simple-theme-plugin

2018-01-24 Thread Oleg Nenashev
Hi Tobias, I have granted you the permissions. Thanks for taking ownership! You should receive an invitation to the jenkinsci org to your email. Welcome aboard! Best regards, Oleg суббота, 20 января 2018 г., 20:24:49 UTC+1 пользователь Tobias Gruetzmacher написал: > > Hi, > > since I'm provid