Re: GitHub Branch Source Plugin - upgrade messed up jobs

2017-09-21 Thread Stephen Connolly
That stack trace is from a different plugin. Pipeline model definition. Upgrading updated some other plugins, and *those* other plugins are causing the stack trace On Fri 22 Sep 2017 at 06:51, Idan Adar wrote: > The plug-in author is stephen connolly, but I'm not sure how to

GitHub Branch Source Plugin - upgrade messed up jobs

2017-09-21 Thread Idan Adar
I had the unfortunate luck of upgrading said plug-in. Now any job fails with the error below. The upgrade warning does say: Warning: the new version of this plugin claims to use a different settings format than the installed version. Jobs using this plugin may need to be reconfigured, and/or

Re: "Scan Multibranch Pipeline Now" triggers immediate build

2017-09-21 Thread Robert Hales
I agree that polling is not the best use of resources, but I don't think this option should be killed just because it may not be a good idea. I use the PollSCM option in several multibranch jobs (Jenkins 2.32.2) and it works just fine. Sometimes red tape and bureaucracy in a large enterprise

Re: How to pass paramater to process environment variable?

2017-09-21 Thread Robert Hales
You should be able to use the params object in the environment{} block and assign it to an environment variable. -- 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: How to pass paramater to process environment variable?

2017-09-21 Thread Idan Adar
Thanks Robert. However I'm not sure yet how this helps in solving the next step here. Namely: > How can I then use this in combination with: https://github.com/jansepar/node-jenkins-api#build_with_params

Re: Best way to reload job settings from Jenkinsfile without triggering a build

2017-09-21 Thread Robert Hales
In your Branch Sources section of your Multibranch job, you just have to add the "Suppress Automatic SCM Triggering". This will prevent the branch indexing scan from kicking off a new build when it finds changes. On Tuesday, September 12, 2017 at 8:56:32 AM UTC-6, ishan jain wrote: > > Hi all,

Re: How to pass paramater to process environment variable?

2017-09-21 Thread Robert Hales
The Parameters can be defined in the pipeline, or in the job configuration, but if you define it in the pipeline, it will update the job configuration the first time it runs. So when you add the parameters to the pipeline, and have none configured in your job, your Build Now button will still

Re: Problem with environment variable in declarative script

2017-09-21 Thread Robert Hales
Either the syntax checker isn't smart enough, or the variables aren't available like that until you get down into the stages. I am suspecting the former, but just a guess. This syntax should work fine, though: SCRIPTS_PATH = "${env.WORKSPACE}/tools/Jenkins/PythonScripts" On Thursday,

Re: Jenkins conditional post-based action in a pipeline stage

2017-09-21 Thread Robert Hales
You can use the *post{}* block within a stage in the declarative pipeline: stage('Run Integration Tests') { steps { timeout(time: 30, unit: 'MINUTES') { retry(1) { build job: 'my-integration-test' }

Re: First Jenkins Area Meetup (JAM) in Cologne, Germany on October 17, 2017

2017-09-21 Thread Alyssa Tong
cool! will get this on jenkins.io events calendar shortly On Thu, Sep 21, 2017 at 9:39 AM, 'Fred G' via Jenkins Users < jenkinsci-users@googlegroups.com> wrote: > Hi, > > I'm pleased to announce the first Jenkins Area Meetup (JAM) in Cologne, > Germany on October 17, 2017. > > Special guest will

Fail to install Jenkins slave agent as a service

2017-09-21 Thread Victoria Wei Lei
I launched Jenkins Slave via web start, but when I tried to Install as a service, error pop up, please see attached screen shot, Can anyone help for this issue? Thanks Victoria -- You received this message because you are subscribed to the Google Groups "Jenkins Users" group. To

Re: Jenkins conditional post-based action in a pipeline stage

2017-09-21 Thread Kai
It seems like using try/catch complicates the code and then I have to remember to still fail the pipeline in the exception block. Using the post functionality seems to be for the entire pipeline not for a specific step. Is there a post-step functionality that can be invoked for both pass and

Problem with environment variable in declarative script

2017-09-21 Thread David Aldrich
Hi My Jenkinsfile contains: environment { SCRIPTS_PATH="${WORKSPACE}/Tools/Jenkins/PythonScripts" } When the script runs I get exception: groovy.lang.MissingPropertyException: No such property: WORKSPACE for class: groovy.lang.Binding at

Re: Looking for Jenkins installation subcontractor

2017-09-21 Thread Victor Zaslavsky
Sorry, I forgot to provide location information. The company office is in Richmond Hill, Ontario, Canada. Our sysadmin insists it should be on-site job. On Thursday, September 21, 2017 at 10:59:05 AM UTC-4, slide wrote: > Other people may have this question as well, where are you located and

Extended Choice Parameter Plugin - adding a comment to a value in "multi-level single select" parameter type

2017-09-21 Thread Leonardo Bq
Hi, I am moving from Jenkins 1.656.1 to Jenkins 2.78 (both linux boxes) and I noticed a different behavior of "multi-level single select" parameter type from version 0.56 to 0,76. The difference is that if a comment, like , is part of a value, this is not shown in the drop-down menu in the old

Re: Looking for Jenkins installation subcontractor

2017-09-21 Thread Slide
Other people may have this question as well, where are you located and are you looking for someone co-located, or can someone do this remotely? On Thu, Sep 21, 2017 at 7:36 AM Victor Zaslavsky wrote: > Our company is looking for experienced Jenkins administrator who can >

Re: Publish over CIFS configuration

2017-09-21 Thread Slide
The issue with publish-over-cifs right now is that it only supports very old SMB protocol versions (jCIFS, the library used to do the CIFS accesses only supports those old protocols). I am in the process of updating to using SMBJ, which only supports the newer protocols, but I have not made a lot

Looking for Jenkins installation subcontractor

2017-09-21 Thread Victor Zaslavsky
Our company is looking for experienced Jenkins administrator who can perform upgrade of our production environment from 1.561 to latest stable release. Our existing environment consists of one master on Windows Server and one slave computer running on Windows 7 Workstation. There are

update security matrix in configure global security section when user authenticated.

2017-09-21 Thread ludayakantha
We have added google login plugin to jenkins in order to authenticate the users via google. Now we want to update the matrix(matrix-based security) in authorization in configure global security section when the user logged in via google. I couldn't find any rest api provided to update the

Re: Publish over CIFS configuration

2017-09-21 Thread OxyOX
I have a similar error. What is the reason? help me please An exception was caught when invoking perform jcifs.smb.SmbException: Failed to connect: 0.0.0.0<00>/172.26.28.113 jcifs.util.transport.TransportException java.net.SocketException: Connection reset at

Scripted Pipeline unique credential variables per environment

2017-09-21 Thread Mike Zupan
So I'm trying to use withCredentials() with unique variables and looking for the best way. I have the following password that is unique per region which we call clients client1 = foo client2 = bar client3 = baz So i have a script that might look like sh "./deploy -password " For one region

Re: Pipeline jobs getting stuck on Jenkins master

2017-09-21 Thread Robert Hales
I would bet your java process is running into excess Garbage Collection, causing the entire thing to hang. It probably isn't because of the pipeline itself. Check your garbage collection when this happens to see if you are hung with full collections. On Tuesday, September 19, 2017 at 6:18:33

job configuration change affects running jobs

2017-09-21 Thread Dirk Heinrichs
Hi, just found out by accident that changing the configuration of a job while that job is running affects that current build, too. In this particular case I replaced one of the job's publishers with a different one by executing its Job-DSL seed job while the job itself was already building. I

Jenkinsfile naming convention?

2017-09-21 Thread David Aldrich
Hi My understanding is that it is now possible to have multiple Jenkinsfiles in a repository. Is there any convention for naming Jenkinsfiles? Do you always call them Jenkinsfile and indicate their function in a directory name? Or do you indicate their function in the filename? Best regards

How to start a pipeline multiple times

2017-09-21 Thread Maryam and Papa
I want to repeat the execution of a pipeline multiple times. I tried: pipeline.groovy: for(i=0;i<5;++i) { startPipeline() } I got a very long pipeline where the stages are 5 time repeated. stage1 -- stage2 stage1 -- stage2 stage1 -- stage2 stage1

Session terminated due to SO_TIMEOUT

2017-09-21 Thread Ana MB
Hi guys, I'm having a problem with my tests from my Jenkins server (this doesn't happen in my local computer). When I run some tests (that they get more time to load every information in the graphic than others tests), I get the following error and it stops the execution: