[Survey] How do you organize your Jenkins server?

2016-06-29 Thread James Dumay
Hi everyone, I would like to know what challenges you face when trying to find or organize jobs and if there is a way that Blue Ocean can improve on what is already provided by Jenkins. It would be a great help if you could take a

Re: How to override the environment variables for Jenkins slave when adding new slave to the Jenkins master?

2016-06-29 Thread Baptiste Mathus
I didn't say you have to script it. Using a custom URL is a standard feature of the Tools management in Jenkins. About your question, note that Tools management isn't related to the cloud provider you're using. Cheers Le 29 juin 2016 6:01 PM, "praveen" a écrit :

Re: How to break a pipeline manually?

2016-06-29 Thread Lionel Orellana
Thanks Sverre. That marks the build as failed though. Doing a return between nodes is what I was looking for to exit without changing the build result. On Wednesday, 29 June 2016 17:20:34 UTC+10, Sverre Moe wrote: > > You could use the error step: > error 'Error message' > >

Re: How to break a pipeline manually?

2016-06-29 Thread Lionel Orellana
That gets out of the node but will continue if there other nodes below it. I've found that to get out completely it needs to be at the very top (i.e. between nodes). On Wednesday, 29 June 2016 16:41:56 UTC+10, Michael Neale wrote: > > If return is called from the "top level" of a script (ie

Re: Git fetch intermittently fails

2016-06-29 Thread Mark Waite
On Wed, Jun 29, 2016 at 3:43 PM Jérémie Faucher-Goulet wrote: > In that case, yes you are correct, scm-manager does use JGit. I assume > that the "Remote: " part of the messages means these messages come from the > server? I'm not familiar with Git protocols. > > Yes, we see

Re: Brief maintenance on (mirrors|updates).jenkins.io June 30 00:00 UTC

2016-06-29 Thread R. Tyler Croy
This maintenance has been completed On Wed, 29 Jun 2016, R. Tyler Croy wrote: > > I need to perform some maintenance on the machine that powers the mirror > redirector (mirrors.jenkins.io) and the update center (updates.jenkins.io) > tonight at 17:00 PDT or 00:00 UTC. > > This should be

Server ssh errors on pipeline jobs

2016-06-29 Thread Ion Roșca
Hi All, I managed to implement the build infrastructure using Jenkin multibranch and simple pipelines. Today I suddenly started getting errors for all the jobs involving pipelines - simple pipeline jobs or jobs created via multibranch plugin. The errors happen on Jenkins server before any of

Re: Git fetch intermittently fails

2016-06-29 Thread Mark Waite
On Tuesday, June 28, 2016 at 5:53:54 PM UTC-6, Jérémie Faucher-Goulet wrote: > > Hi Mark, > > Thanks for taking time answering, > > What do you mean by "git server" and "git as a server"? > I meant scm-manager in your case. As far as I can tell from reading the scm-manager changelog, they use

Brief maintenance on (mirrors|updates).jenkins.io June 30 00:00 UTC

2016-06-29 Thread R. Tyler Croy
I need to perform some maintenance on the machine that powers the mirror redirector (mirrors.jenkins.io) and the update center (updates.jenkins.io) tonight at 17:00 PDT or 00:00 UTC. This should be brief and entail stopping/starting the host to move it to new hardware in AWS; that's the best

Re: Powershell calls to SQL - thread safe?

2016-06-29 Thread Maciej Jaros
It's not a Jenkins problem. if you would run this from two PS terminals then you would probably run into the same issues. I would guess that PS is sharing SQL connection or something like that. Maybe you should use `osql` or `sqlcmd` to run commands you need to run... In any case not a

Re: How to override the environment variables for Jenkins slave when adding new slave to the Jenkins master?

2016-06-29 Thread praveen
I prefer to install tool in the configuration rather than script to get the binary from an URL. The thing is I didn't get any idea to install the tool as part of spin up the dynamic instance(ec2 plugin not has any configuration

Re: Cloning workflowLibs.git with ssh

2016-06-29 Thread Kohsuke Kawaguchi
I'll improve the docs. I also want to look into why authentication over HTTPS is not supported. That is a painful bug now that we set up authentication for new instances more aggressively for obvious reasons... On Tue, Jun 28, 2016 at 11:45 PM Sverre Moe wrote: > Yes, that

Logger Features

2016-06-29 Thread Ines Khandelwal
Is there a list of all logger features that Jenkins supports ? I am creating a dataset and wanted to have every single feature on a separate logger entry and then get all possible entries in a categorical manner for my jobs -- You received this message because you are subscribed to the

how to get notification from Jenkins to a python application running remotely

2016-06-29 Thread Dharmendra Shaw
do we have any way to get notification from Jenkins once a build is successfully built to a python application which is using jenkins api -- You received this message because you are subscribed to the Google Groups "Jenkins Users" group. To unsubscribe from this group and stop receiving

Re: Powershell calls to SQL - thread safe?

2016-06-29 Thread Neil Hayes
Anyone? On Tuesday, 28 June 2016 07:46:02 UTC+2, Neil Hayes wrote: > > This should be simple and certainly not rocket science, yet I can't get > this to work 100% of the time. > > 1. I have several jobs that are allowed to run concurrently. > 2. All jobs use the same Powershell Script > 3. Each

How to trigger CI Game plugin from Groovy Script for a Pipeline project.

2016-06-29 Thread Saroj Gharat
Hello All, I am using Multribranch Pipeline project for all my builds. I am interested in using the CI game plugin to rank my build and motivate team members by assigning points to builds. But did not find any option to call the CI plugin from Groovy script. Has anyone tried this before ?

Findbug Warnings not displayed in Jenkins Dashboard.

2016-06-29 Thread Saroj Gharat
Hello All, I am using a Multibranch Pipeline job to trigger my build. One of the steps of the build is to run sonar. After the sonar is run, findbugs-result.xml file is created the target/sonar directory. I publish the results using the below commonds in groovy. The build shows that there is

Re: Job Generator Build failing with ClassCastException

2016-06-29 Thread Tony Dunlop
In case anyone else has this problem, you need to change your parameters from 'string parameter' type to 'generator parameter' type . Cheers On Monday, 20 July 2015 12:54:43 UTC+1, murali mohan wrote: > > > Jenkins version is 1.617 > > The Job Generator job is a parameterized build with 2 >

Synchronize timestamps in Jenkins output console, between nodes and master

2016-06-29 Thread steliosP
I am facing the following problem: Jenkins slaves are deployed in AWS, in different regions.The console output of builds contains timestamps, in the timezone where each node/slave belongs. Is there a way to have timestamps in the same timezone as Jenkins server? -- You received this message

Re: How to run git fetch in Jenkins server

2016-06-29 Thread Simon Richter
Hi, On 29.06.2016 11:14, phu...@temona.co.jp wrote: > I am newbiee in Jenkins. I access to the Jenkins server but i can't run > any git command. > Have error > " ERROR: Repository not found. > fatal: The remote end hung up unexpectedly " > when i run > "git fetch origin" > this is my git

Set a default branch if it doesn't exist downstream

2016-06-29 Thread Antonio Hernandez
Hi everyone Details: Our Jenkins build job uses Git with a default PARAMETER set to 'DEV' Any child job gets the same PARAMETER setting it to build the same one, all repos has at least, the branch DEV Problem: When I run the father job, it runs successfully because the branch always

How to run git fetch in Jenkins server

2016-06-29 Thread phuong
I am newbiee in Jenkins. I access to the Jenkins server but i can't run any git command. Have error " ERROR: Repository not found. fatal: The remote end hung up unexpectedly " when i run "git fetch origin" this is my git config [remote "origin"] url = g...@github.com:*/*.git

Re: How to break a pipeline manually?

2016-06-29 Thread Sverre Moe
You could use the error step: error 'Error message' https://jenkins.io/doc/pipeline/steps/workflow-basic-steps/#code-error-code-error-signal mandag 30. mai 2016 09.21.16 UTC+2 skrev Feng Yu følgende: > > Hi there: > Here is my pipeline code: > node{ > // my code here > try { >

Re: How to override the environment variables for Jenkins slave when adding new slave to the Jenkins master?

2016-06-29 Thread Baptiste Mathus
Side note: don't install tools downloading directly from the provider. It's nice to use as a PoC, but if for some reason those services go down for a while, you're gonna have issues. There have been things about that king oh thing in the past (was it the npm repo?) explaining that. You want to set

Re: Jenkins ui not loading sometimes

2016-06-29 Thread Baptiste Mathus
IIUC you sent the thread dump to Daniel privately. I doubt very much this is what he was meaning. More probably: generate that thread dump, paste it somewhere and post the link here. Another thing wrt this: do diagnose it the first step is even to look at your gc behaviour. For that your

Pipeline: connection is not authenticated

2016-06-29 Thread Sverre Moe
Our git remote server is Gitolite and is has the public key of all the users git clone ssh://g...@git.company.com/project.git This has worked in Jenkins for standard project types, FreeStyle, Maven, Multiconfiguration. The user jenkins Now using Pipeline, it fails to authenticate indexing the

Re: Cloning workflowLibs.git with ssh

2016-06-29 Thread Sverre Moe
Yes, that worked. Thanks. onsdag 29. juni 2016 00.14.07 UTC+2 skrev Kohsuke Kawaguchi følgende: > > You should use your user name on Jenkins. You'll also need to register > your public key on Jenkins. See http://LOCATION/me/configure > > On Tue, Jun 28, 2016 at 3:27 AM Sverre Moe

Re: How to break a pipeline manually?

2016-06-29 Thread Michael Neale
If return is called from the "top level" of a script (ie not inside a function) then it should return early. eg: node { echo "42" if (42 == 42) { currentBuild.result = 'UNSTABLE' return } echo "43" } This will exit early and never print "43". On Wednesday, June 29,