Re: Login to Jenkins with Microsoft online account

2017-05-08 Thread Evan Greensmith
Again, for the record. We had difficulties with authentication sessions timing out (we'd need to logout and login again to our Microsoft accounts). Also, the FederatedMetadata.xml would occasionally be updated (on the Microsoft end). As the plugin can not read the update from the URL, we would

Jenkins Github Authentication error

2017-05-08 Thread kyle rendon
Hi, I am having some trouble getting a push to a branch. I set up Jenkins to detect a Github web hook (which it is detecting successfully, and executing the build step) when I push to a remote branch on my personal GitHub, however, it returns this error after the build is completed: Pushing H

A job to update other jobs

2017-05-08 Thread Morgan Blackthorne
We're using Chef automation around configuring our Jenkins jobs. Basically chef clones a git repo with the job XML files, and then tells Jenkins to use them. What we want to have is: 1. One job to edit other jobs description to say "FROZEN by at " or to remove the FROZEN line (basically

Does the dir() rule ever work?

2017-05-08 Thread Jay Miller
I have a pretty simple Jenkinsfile: pipeline { agent { docker 'node:6.10' } environment { NPM_CONFIG_USERCONFIG = 'T2/.npmrc' } stages { stage('Packages') { steps { sh 'node -v' *dir ('T2/bot') { * * sh 'npm install'* *}* }

Re: Howto integrate OWASP dependency check plugin in Jenkins Pipeline ?

2017-05-08 Thread childNo͡ . de
hi, I just gave it a try on * jenkins 1.651.2 * Jenkins OWASP Dependency-Checker 1.4.5 * HTML Publisher Plugin 1.11 so, first of all: The example given is valid, and workin. The Jenkins OWASP

Fwd: Failing builds

2017-05-08 Thread Kristian
Sorry, the error message was not correct. Correct error message is this: FATAL: command execution failedjava.nio.channels.ClosedChannelException at org.jenkinsci.remoting.protocol.impl.ChannelApplicat

Failing builds

2017-05-08 Thread Kristian
Hi, at the moment, too much jobs are failing from time to time without any good reason. I get this error message mostly when a big job is running. The error message is this: # FATAL: java.nio.channels.ClosedChannelException java.nio.channels.ClosedChannelException at

Re: Not able to push to GIT repo using 'withcredentials'

2017-05-08 Thread ishan jain
Hi, I changed my code to post it here and during that i changed the dir name. I wouldn't worry about naming standards yet, the bigger problem for me is that it is not working. I saw some code snippets claiming withcredentials to be working the way i have posted. Don't know what is the issue he

Git 'not responding' after update

2017-05-08 Thread Christoph M
Hi, I just updated our Jenkins installation to version 2.59 (from 2.53) for which I had to install Java 8 (also on the agents) since it is used by 2.54 and later. The Jenkins came up again and seemed to be working but there is a problem when checking out Git repositories on any of our proje

Re: Customization of Post-Build Email Notifications in Jenkins

2017-05-08 Thread Sébastien Hinderer
Hi, venkatesh guttal (2017/05/07 21:28 -0700): > Hi, > > Yes, that is correct we have to write some script to achieve customization. > Any one has faced similar requirement? Any idea what kind of script need > to be written( groovy or something else)? No, not yet, sorry. But I'd be interested

Cron Trigger works on and off

2017-05-08 Thread Ohad Cohen
Hi All, I'm using the declarative pipeline approach and when ever i use: properties([pipelineTriggers([cron('H(0-0) 00 * * 2,3,4,5,6')])]) I can't really be sure when will it trigger, it sometime do and sometimes don't. I'm using the "Next Executions" plugin (https://wiki.jenkins-ci.org/displ