Re: Trigger build via REST API since 2.176.3

2019-09-02 Thread James Telfer
for a "How-To Guide" > to be added to https://jenkins.io/doc/developer/guides/ . > > On Mon, Sep 2, 2019 at 4:09 AM James Telfer > wrote: > >> Hi, >> >> I've been bitten by the security fix in Jenkins LTS 2.176.3 to the CSRF >> protection, specifical

Trigger build via REST API since 2.176.3

2019-09-02 Thread James Telfer
Hi, I've been bitten by the security fix in Jenkins LTS 2.176.3 to the CSRF protection, specifically the tying of a crumb to the session ID it was generated in. There is a note in the upgrade guide which suggests I can trigger builds

Recovering jenkins.io account

2019-04-23 Thread James Telfer
Hi, Not sure this is the right place, but https://accounts.jenkins.io/passwordReset just says 'contact us' without a link as to how I believe I have an existing jenkins.io account linked to an email address I no longer have access to. I'd like to continue using that account and link to

Re: Console output getting hidden when running from library step

2019-02-04 Thread James Telfer
In case anyone else runs into this; the problem was nothing to do with Jenkins, it was a change I'd made to the second script, which hid all output internally. Coincidence that both changes went in together! On Monday, 4 February 2019 12:16:53 UTC, James Telfer wrote: > > Hi, > >

Console output getting hidden when running from library step

2019-02-04 Thread James Telfer
Hi, I'm pulling some common functionality out of my pipelines into a global library. I've come across the following odd (and unwanted) behaviour; The original, Declarative Pipeline did something like this: pipeline { ... stages { stage('Build') { steps{ bat 'call

Re: trigger jenkins build from bitbucket

2018-04-27 Thread James Telfer
Not a direct answer to your question, but have you considered using the Bitbucket Branch Source Plugin (https://plugins.jenkins.io/cloudbees-bitbucket-branch-source)? This gives you multibranch pipelines and integrates with Bitbucket, creating those webhooks automatically for you when you

Re: Advice on how to do CI for C++/CMake project

2018-02-07 Thread James Telfer
Your requirements to have each library build in a separate job and it all sit in the same workspace are rather at odds with each other, even without using Pipeline. What you describe sounds more like a multijob project, which would then pull artefacts out of each of the library jobs for the

Separating JUnit test reporting for files in different folders

2018-01-31 Thread James Telfer
view. Is there any way to get the reporter to report the results from each stage separately? Thanks, James Telfer -- You received this message because you are subscribed to the Google Groups "Jenkins Users" group. To unsubscribe from this group and stop receiving emails from it, send an email

Re: Suggestions for a jenkins dashboard

2017-11-08 Thread James Telfer
We use Atlasboard (https://bitbucket.org/atlassian/atlasboard) along with the Atlasboard Jenkins Package (https://github.com/incentro/atlasboard-jenkins-package) to display build status. Pretty simple to get set up as it goes, and the views are driven by creating views in Jenkins, so very

Re: Proxy server between Jenkins and the Internet

2017-07-19 Thread James Telfer
Hi Curtis, The long and short of it is that managing Jenkins behind a proxy isn't as simple as managing it otherwise, for all the reasons you mention. We configure our slaves via puppet, and deploy the proxy configuration automatically. For docker containers, again we create base images which

SVN post commit hook - no subversion consumers for UUID

2014-11-11 Thread James Telfer
Hi all, I've been working through this issue and trying to read other resources on post-commit hooks without finding a match for the issue I'm experiencing. My jobs work fine, and SVN polling is working and triggering builds. However, the post-commit hook in SVN doesn't trigger a build.

Re: Publishing vstest results?

2014-11-11 Thread James Telfer
For those that are reading this thread and are interested, there is a plugin for this: Jenkins MSTest plugin https://wiki.jenkins-ci.org/display/JENKINS/MSTest+Plugin It wraps the transformation to JUnit format and publishes the result, making it a lot easier to setup. You pass the TRX in