Best way of building oauth into Jenkins Plugin

2015-12-23 Thread Thomas Einwaller
I am working on a Jenkins plugin that uses the new Bitbucket Build Status API. The best way to access the API is using oauth. What is the best way of building oauth into my Jenkins plugin? Should I use a oauth Java library or is there another Jenkins plugin I can depend my plugin on? How

How to secure Maven passwords?

2015-12-23 Thread Steffen Breitbach
Hi everyone! I've been agonising about this for quite some time now. However, I have yet to find a solution for this. Is there a way to prevent malicious users from obtaining server passwords from your Maven settings? If you use the Config File Provider plug in with the Credentials plug

Artifactory Release Management plugin not pushing updated gradle.properties file

2015-12-23 Thread Dave Payne
I'm trying to use the Jenkins Artifactory Release Management plugin to deploy a Gradle project to Artifactory. The build works, version numbers are correctly identified from the gradle.properties file, the JAR file is successfully published to Artifactory and an appropriately-named branch and

Re: Build date / time showing December 31, 1969 after upgrading from 1.596.2 LTS to 1.625.3

2015-12-23 Thread Marc Esher
OK, I now see what's going on specifically in my case. Definitely one of those stupid problems that I imagine there's no way Jenkins could account for it, so if I really care about fixing it I think I need to script a solution. Here's the deal: it's all related to the build format migration

Re: Jenkins on Ubuntu/PowerPC hangs

2015-12-23 Thread Andrew Geissler
I ended up getting things to work by just installing jenkins into apache tomcat7 on the ppc64le Ubuntu 14.10 server (vs. using the built in jenkins web server). On Wednesday, November 11, 2015 at 10:29:11 PM UTC-6, Andrew Geissler wrote: > > Everyone that's blocked is blocked on a lock > that

Re: hudson.model.DirectoryBrowserSupport.CSP inaccesible; cannot render userContent HTML

2015-12-23 Thread Daniel Beck
> On 23.12.2015, at 15:40, Jason Swager wrote: > > tried the following script in the console: > > hudson.model.DirectoryBrowserSupport.CSP ='' Just read the wiki page. It explains how to do this. -- You received this message because you are subscribed to the Google

hudson.model.DirectoryBrowserSupport.CSP inaccesible; cannot render userContent HTML

2015-12-23 Thread Jason Swager
I'm using Jenkins v1.642, running on Windows 2012 Server as a service (not behind a web server). There are HTML and CSS files in the userContent that provided a custom dashboard. That dashboard no longer renders properly. A check of the browser console showed "Blocked script execution in

Re: Need help to configure jenkins for unit testing.

2015-12-23 Thread felix schwitzer
Does your tests output some xml-reports? Which unit testing framework you use? I use cppunit and this has a xml-outputter. After the test run the XUnit-Plugin can collect all the test reports and draw the graphs and so on. But I think, you (or your testing framework) must generate all this

Re: hudson.model.DirectoryBrowserSupport.CSP inaccesible; cannot render userContent HTML

2015-12-23 Thread Jason Swager
My apologies. After re-reading through the doc, I saw my mistake. Thank you! On Wednesday, December 23, 2015 at 7:07:30 AM UTC-8, Daniel Beck wrote: > > > > On 23.12.2015, at 15:40, Jason Swager > wrote: > > > > tried the following script in the console: > > > >

Approaches for sharing workspace in a pipeline

2015-12-23 Thread John D. Ament
Hi, I was wondering if anyone had any best practices or tips to share on have a common workspace for a pipeline job. Basically, I have a series of pipeline jobs and I want them to have a single workspace for the duration of the job chain. I compile the artifacts once, running unit tests,

Re: Approaches for sharing workspace in a pipeline

2015-12-23 Thread Baptiste Mathus
Hi John, Not sure what you call a pipeline job, do you mean 'workflow job'? or do you use the term in a generic way and actually have many (freestyle) jobs you're coordinating? If the latter, then it really seems like a use case for a workflow job (using the workflow plugin). Using/archiving

Re: Need help to configure jenkins for unit testing.

2015-12-23 Thread A B Tripathi
Hey felix , I thought , I can generate xml output from Jenkins but now i use cppunit for generating xml report and using cppunit test framework for publishing the test report. It's now working ;-). Thanks for help :-). *Thanks,* *A B Tripathi* On Thu, Dec 24, 2015 at 12:35 AM, felix

Re: How to secure Maven passwords?

2015-12-23 Thread Stephen Connolly
The best you can do is restrict the credentials in visibility. Have separate jobs using the credentials from others... Lock permission to configure the jobs using credentials Etc I have some other thoughts which I may work on for making maven easier with the literate job type. On Wednesday