Unable to stop pipeline job

2016-05-24 Thread Sverre Moe
After loading a Pipeline script the job froze and I was unable to stop the build. Clicking X had no effect. Restarting Jenkins had no effect. Deleting the job had no effect. A second restart after I deleted the job then the build executor was emptied. This is the output I got when loading a

Mulit-Branch Project Plugin and Post-build action "Publish artifacts in Maven repository (deploy)"

2016-05-24 Thread 'Sandra Parsick' via Jenkins Users
Hello, I have following problem and maybe someone has a good idea how I can solve it. I have a Git repository with several branches. I'd like to bring all branches under CI control. That means, after every push to the repository, indepentent in which branch, a job should check whether the

Re: How to get enviroment variables / build parameters from groovy run on slave?

2016-05-24 Thread 'Niksan' via Jenkins Users
and, slightly changing my google search terms led me to this. https://rucialk.wordpress.com/2016/03/17/jenkins-groovy-accessing-build-parameters/ Winner! On Monday, May 23, 2016 at 6:05:44 PM UTC+1, Niksan wrote: > > Pretty much as the subject says, getting them when running as a system > scrip

Re: Jenkins using a lot more resources after upgrade

2016-05-24 Thread Ugo Bellavance
Any idea about how long it should take before I get at least an acknoledgement on my JIRA? On Wednesday, May 18, 2016 at 1:26:24 PM UTC-4, Ugo Bellavance wrote: > > https://issues.jenkins-ci.org/browse/JENKINS-34919 > > On Wednesday, May 18, 2016 at 10:45:44 AM UTC-4, Ugo Bellavance wrote: >> >>

Pipeline Global Library repository access

2016-05-24 Thread Jonathan Hodgson
Hi, I appear to have Jenkin's ssh server set up correctly, and can connect to it and run who-am-i as on this page https://wiki.jenkins-ci.org/display/JENKINS/Jenkins+SSH whereupon it responds with Authenticated as: Jon Authorities: authenticated But when I try to clone the workflowlibs git

Re: Jenkins using a lot more resources after upgrade

2016-05-24 Thread Stephen Connolly
This is a community project. If you need commercial support with corresponding SLAs then you might consider obtaining a support contract from a commercial supplier. I know my employers (CloudBees) are in this realm and I am aware that there are others. Otherwise, unless you can find somebody who i

jenkins 2 with default set of plugins

2016-05-24 Thread christophe . demarey
Hello, Jenkins 2.x comes with a configuration step to install plugins. Is there a bundled version of Jenkins 2.x with recommanded set of plugins available or is there a way to automatically install these plugins through command line? Thanks, Christophe -- You received this message because yo

How to solve Could not find (numeric) updateCenterVersion issue

2016-05-24 Thread hkg . gupta
Hi, I am trying to setup Jenkins and tried installing various version from 1.651 to latest version 2.6. With all versions I am not able to see available plugins. I encountered below error when click on Check Now to update. Please help me to resolve this issue. javax.servlet.ServletException:

Pipeline: Keep the main logic outside of Jenkinsfile

2016-05-24 Thread Sverre Moe
What is the best design approach to keeping the Jenkinsfile small (little build logic as possible)? Having close to a hundred projects and several branches on each, then duplicating the pipeline logic within each Jenkinsfile would be a maintenance nightmare. 1) I could put the Pipeline script

Upgrading to Jenkins 2.2 Breaks Build Flow Plugin DSL Editing

2016-05-24 Thread AJ Ferrigno
Hello, We have been using the Build Flow plugin for about a year now. We have a large block of DSL which we mostly needed for parallel execution. I have just tried upgrading to Jenkins 2.2, and I am now unable to edit the DSL in our existing Build Flow job. I open the job, click configuration,

Re: Upgrading to Jenkins 2.2 Breaks Build Flow Plugin DSL Editing

2016-05-24 Thread Stefan Thomasson
It is said that jenkins 2.x should be backwards compatible so I not really sure why buildflow break the gui. For me it only dissapear when navigating using the tab, so scrolling usually works. Right now I do not consider pipeline mature enough for use in production but you may be of other opinio

Re: Upgrading to Jenkins 2.2 Breaks Build Flow Plugin DSL Editing

2016-05-24 Thread nicolas de loof
Pipeline is not perfect but definitively is more mature than build-flow has ever been (*) (*) I'm build-flow initial author, and gave up for major technical limitations 2016-05-24 16:48 GMT+02:00 Stefan Thomasson : > It is said that jenkins 2.x should be backwards compatible so I not really > su

Re: Pipeline Global Library repository access

2016-05-24 Thread Jonathan Hodgson
Well, in my best Homer Simpson voice.. "Doh!" I had it right on my windows machine (more on this in a moment), but when I tried switching to a linux one (since instructions for using ssh tend to be geared towards Linuz/Unix systems) I missed the capital L, and by that point I wasn't looking fo

Re: jenkins 2 with default set of plugins

2016-05-24 Thread Tim Walshjamin
See https://wiki.jenkins-ci.org/display/JENKINS/Plugins#Plugins-Byhand for information on how to install plugins manually. On Tuesday, May 24, 2016 at 9:56:28 AM UTC-4, christoph...@inria.fr wrote: > > Hello, > > Jenkins 2.x comes with a configuration step to install plugins. > Is there a bundle

Re: jenkins 2 with default set of plugins

2016-05-24 Thread Daniel Beck
> On 24.05.2016, at 17:49, Tim Walshjamin wrote: > > See https://wiki.jenkins-ci.org/display/JENKINS/Plugins#Plugins-Byhand for > information on how to install plugins manually. You're evil, I like it ;-) There's basically no way someone unfamiliar with plugin dependencies gets them right wi

Jenkinsfile and GitHub commit status

2016-05-24 Thread awendlinger
Hello, I'm currently setting up a jenkins Multibranch pipeline, and I have an issue with the commit status displayed on the PR on GitHub. Right now what it does is add a commit status at the beginning of the build and set it to success when it is done. This works great, but this is not exactly

Re: Mulit-Branch Project Plugin and Post-build action "Publish artifacts in Maven repository (deploy)"

2016-05-24 Thread Thomas Zoratto
Hello, I think you can solve your problem and improve your CI configuration by using the Pipeline plugin and more specifically the Pipeline:Multibranch plugin . Thomas Le mardi 24 mai 2016 09

Exercise svn checkout code path in an init script?

2016-05-24 Thread John Alfred Nathanael Chee
Is it possible to run a jenkins-style svn checkout (SVNKit, credentials plugin, etc.) from an EC2-plugin provisioned agent's init script? I'm getting several classes of errors using the subversion plugin and the ec2 plugin. All the errors so far have manifested themselves during the checkout phase

Re: Mulit-Branch Project Plugin and Post-build action "Publish artifacts in Maven repository (deploy)"

2016-05-24 Thread David Karlsen
afaik the post-deploy step is specific to a maven-type job specifically, so you just need to run a normal maven command. You could also try this option http://maven.apache.org/plugins/maven-deploy-plugin/deploy-mojo.html#deployAtEnd to do it at the very end of the maven build. 2016-05-24 20:14 GMT

Re: ImportError No module named Image in Jenkins

2016-05-24 Thread Cherry Tsai
Must be use Dockerfile install? I used manually install in Jenkins container. I tried to run command in Jenkins container: $ python $ from PIL import Image It's working for me. Then I checked Python2.7 path, it has PIL and Image folder in /usr/local/lib/python2.7. But only Jenkins couldn't u

Re: [workflow-plugin] Access to environment variables in flow.groovy

2016-05-24 Thread Matt Evans
I have tried many ways to bring variable in scope to a function, can you please clarify how the following code should be written to bring the variable "BRANCH_TEST" in scope? * def BRANCH_TEST = "master"* * node {* * deploy()* * }* * def deploy(){* * echo env.BRANCH_T

Re: ImportError No module named Image in Jenkins

2016-05-24 Thread Mark Waite
Your results seem different from mine. The commands I executed: $ docker run -i --rm -p 8080:8080 -p 5:5 jenkins /bin/bash python print 1 + 1 print 2 + 2 from PIL import Image ^D 2 4 Traceback (most recent call last): File "", line 5, in ImportError: No module named PIL As far as I ca

Controlling user Jenkins runs as

2016-05-24 Thread 'Stuart Henderson' via Jenkins Users
Apologies in advance for being a noob. I'm having big problems on our new Jenkins 2 server on Windows 2012 and would really appreciate some advice/help. I'm trying to run a Powershell script to establish a remote session to another (same domain) Windows 2012 machine. I can do this no trouble at

Re: [workflow-plugin] Access to environment variables in flow.groovy

2016-05-24 Thread Craig Rodrigues
Matt, Take a look at: https://groups.google.com/d/msg/jenkinsci-users/P7VMQQuMdsY/bHfBDSn9GgAJ and see if it helps. It took me a long time to figure that out, and it was not obvious to me. -- Craig On Tue, May 24, 2016 at 3:34 PM, Matt Evans wrote: > I have tried many ways to bring variable

Re: [workflow-plugin] Access to environment variables in flow.groovy

2016-05-24 Thread Matt Evans
Thanks @Craig, works perfect! On Tuesday, May 24, 2016 at 4:03:06 PM UTC-7, Craig Rodrigues wrote: > > Matt, > > Take a look at: > https://groups.google.com/d/msg/jenkinsci-users/P7VMQQuMdsY/bHfBDSn9GgAJ > and see if it helps. > > It took me a long time to figure that out, and it was not obvious

Controlling user Jenkins runs as

2016-05-24 Thread 'Niksan' via Jenkins Users
If you're running as a service, change the service settings to run as whichever user you desire. I think it defaults to user 'system' by default. -- You received this message because you are subscribed to the Google Groups "Jenkins Users" group. To unsubscribe from this group and stop receiving

Re: Startup failure - probably due to Active Directory being temporarily unavailable

2016-05-24 Thread Mehmet F. YUCE
Rstarting Jenkins solved it for me but you can also try the answer provided here; https://groups.google.com/forum/#!msg/jenkinsci-users/Qj17COl6Ij8/gUM5yHzvXSoJ On Thursday, 9 June 2011 16:03:37 UTC+3, Jacob Robertson wrote: > > Once a week, our server admin team restarts our hudson machine (fo

Re: Startup failure - probably due to Active Directory being temporarily unavailable

2016-05-24 Thread Mehmet F. YUCE
Restarting Jenkins solved it for me but you can also try the answer provided here; https://groups.google.com/forum/#!msg/jenkinsci-users/Qj17COl6Ij8/gUM5yHzvXSoJ On Thursday, 9 June 2011 16:03:37 UTC+3, Jacob Robertson wrote: > > Once a week, our server admin team restarts our hudson machine (f