How to distinct github push/merge event in github plugin

2017-02-23 Thread stanley . shen
Right now we are using github plugin to do something automatically. When some code is pushed to repo, the job will be triggered. But we have more specific requirement that the job is triggered only when we merge a PR. Normal direct push will not trigger this job. How can we do that? It seems

Picky success criteria in pipeline

2017-02-23 Thread Tomasz Szandała
Greetings All, I am trying to go from build flow to Pipeline(and Jenkins2.x), but I have encountered an issue: I have complicated workflow, that should cause deploy. But deploy requirements are fluent. Let's say I have something like this: I need all green ones to be requirements, but yellow

Docker Pipeline Step

2017-02-23 Thread peter
I might just be missing something here.. But it seems like the docker pipeline stuff is pretty busted. docker.build does *not* seem to return a docker image, even if the build was successful. Nor does docker.image("image id") return a usable image object. I'm rewriting these two functions in a

jenkins with private cloud foundry

2017-02-23 Thread SADHAN
Hi All, I am planning to integrate jenkins with PCF to perform a CI/CD process fro microservices applications. I already have jenkins running but need to install the cloud foundry plugin and setup everything. Can someone send me their examples or experiences of using it. I could see only one

Re: Jenkins build says successful but no output is seen

2017-02-23 Thread Sharan Basappa
Hi David, Is there any other forum where I can get help? I haven't got much inputs on this forum On Fri, Feb 24, 2017 at 12:08 AM, David Karr wrote: > On Wed, Feb 22, 2017 at 9:36 AM, Sharan Basappa > wrote: > > folks, need some guidance

How to remove the deleted branch names from "build with parameters"

2017-02-23 Thread Jason Yu
I have my jenkins server updated to 2.46 yesterday aiming to resolve this issue but it still exists after upgrade. My jenkins is integrated with our bitbucket account. For each projects, we have several branches. When we select "build with parameters" the branches name show up. HOwever, even

Re: Multi Configuration Job Jenkinsfile

2017-02-23 Thread Daniel Beck
> On 24.02.2017, at 00:08, Douglas Ferguson wrote: > > How do I unsubscribe? If you're asking how to unsubscribe from this mailing list, see the footer in every email for instructions. -- You received this message because you are subscribed to the Google Groups "Jenkins

A question about proxying Jenkins maven repo

2017-02-23 Thread Eric Griswold
Hello, I'm running the FOSS version of Nexus Repository Manager, 2.12.0-01 For a time, our proxy of http://maven.jenkins-ci.org/content/repositories/releases/ was working well but I've noticed it going out of service (for how long I cannot way). Even after following the guide in

Re: Is there a maximum number of parallel builds a pipeline job can run?

2017-02-23 Thread Bill Dennis
Hey there - I think it might be worth posting the pipeline of your orchestration job that runs the 12000 builds for anyone to comment in more detail. >From what I understand, if your pipeline is not orchestrating each build in a node section it will use something called a 'flyweight executor'

Re: Multi Configuration Job Jenkinsfile

2017-02-23 Thread Douglas Ferguson
How do I unsubscribe? On Thu, Feb 23, 2017 at 2:44 PM, R. Tyler Croy wrote: > (replies inline) > > On Thu, 23 Feb 2017, Chris Denneen wrote: > > > Sathish? What are you referring to here? > > This is UI configuration. I've had this for a while. > > I'm looking for

Re: Multi Configuration Job Jenkinsfile

2017-02-23 Thread Chris Denneen
Thanks R Tyler... I guess my bigger question is how to migrate away from Freestyle and Multi-Config type jobs into Pipeline/Groovy style jobs. Not sure there is a way to configure the build triggers or post build actions. For example kick off build when PR happens... I know these are checkboxes

Re: Is there a maximum number of parallel builds a pipeline job can run?

2017-02-23 Thread Chris Overend
So not sure if this is a Jenkins limitation or pipeline. The jobs never exceeded available resources. The garbage collection was stable. So why did it lock-up? It did say I used - 2950 million active threads - 350 threads -- You received this message because you are subscribed to the

Re: Is there a maximum number of parallel builds a pipeline job can run?

2017-02-23 Thread Chris Overend
I need to retry it may be that the jobs never all started Branch: job_0 - (1ms in block) Branch: job_9830 - (3min 16sec in block) Branch: job_9831 - (No timing in block) -- You received this message because you are subscribed to the Google Groups "Jenkins Users" group. To unsubscribe from this

Re: Is there a maximum number of parallel builds a pipeline job can run?

2017-02-23 Thread Chris Overend
So 3 hr 30 min later the pipeline is locked up -- 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 to jenkinsci-users+unsubscr...@googlegroups.com. To view this

Re: Multi Configuration Job Jenkinsfile

2017-02-23 Thread R. Tyler Croy
(replies inline) On Thu, 23 Feb 2017, Chris Denneen wrote: > Sathish? What are you referring to here? > This is UI configuration. I've had this for a while. > I'm looking for Jenkinsfile equivalent. There is no such thing as a "Multiconfiguration Pipeline" as such in Pipeline. You might find

Is there a maximum number of parallel builds a pipeline job can run?

2017-02-23 Thread Chris Overend
I am doing testing of our Jenkins setup. I have a build job that sleeps for 30 sec. I ran a pipeline that runs 12,000 of these in parallel on 100 agents. Best possible time is 1 hr. The builds seem to finish in a reasonable amount of time. So after build queue is emptied and the pipeline

Re: how to pass stdout from git to /dev/null

2017-02-23 Thread Mark Waite
No, there is no way currently to remove that from the output On Thu, Feb 23, 2017, 11:44 AM Sam K wrote: > I do a git checkout several times for each deployment server and I dont > want the std output in the console log. Is there a way to pass them to > /dev/null or

how to pass stdout from git to /dev/null

2017-02-23 Thread Sam K
I do a git checkout several times for each deployment server and I dont want the std output in the console log. Is there a way to pass them to /dev/null or something? This is the command whose output I'm not interested in seeing git url: 'g...@bitbucket.org:myteam/scripts_pipeline.git',

Re: Jenkins build says successful but no output is seen

2017-02-23 Thread David Karr
On Wed, Feb 22, 2017 at 9:36 AM, Sharan Basappa wrote: > folks, need some guidance here ... thanks > > On Tuesday, 21 February 2017 23:39:43 UTC+5:30, Sharan Basappa wrote: >> >> My Jenkins build job indicates success but none of the scripts I am >> executing seem to do

Jenkins workspace got deleted from Slave

2017-02-23 Thread TN
Hi, I am new in Jenkins. Not sure how my workspace got deleted from Jenkins. Now it's looking for workspace in master. Jenkins can't build project anymore, it's failing. what should i do in this case? Thanks, TN -- You received this message because you are subscribed to the Google Groups

Re: Scriptler "suddenly" broken - not sure how to investigate further

2017-02-23 Thread gsimpson via Jenkins Users
I was able to fix this issue by removing all files from the scriptler git repo. In the Jenkins home directory: cd scriptler/scripts rm./* git add * git commit -am "Remove corrupted scripts" In my case, the scripts were on disk from a failed scriptler install and they were added automatically

Re: Multi Configuration Job Jenkinsfile

2017-02-23 Thread Chris Denneen
Sathish? What are you referring to here? This is UI configuration. I've had this for a while. I'm looking for Jenkinsfile equivalent. Thanks On Wednesday, February 22, 2017 at 9:58:31 PM UTC-5, sathish g wrote: > > > > On Sunday, February 19, 2017 at 8:17:29 PM UTC+5:30, Chris Denneen wrote: >>

Re: Jenkins Startup error

2017-02-23 Thread V A
Hey karthik, Do you have any documentation regarding the installation of jenkins in new server . Thanks On Wednesday, April 4, 2012 at 5:33:20 AM UTC-4, Karthik wrote: > > Today, I installed jenkins in new server. After installation, while trying > to start it, notice below error > > >

Re: I got some dependency errors after upgrade to the new version.

2017-02-23 Thread V A
Hi Jason, Did the depency error got solved ?? if solved so , can you please share it with me . thanks On Wednesday, February 22, 2017 at 4:13:57 PM UTC-5, Jason Yu wrote: > > Dear jenkins users: > > I have upgraded our jenkins from 1.646 to 2.46. After upgrade, I was able > to log in

build successful but nothing happens

2017-02-23 Thread Sharan Basappa
** opening a new post as no one responded to my original post. I just need some direction. That's all ** My Jenkins build job indicates success but none of the scripts I am executing seem to do anything. I put a simple "pwd" command to echo current working directory but nothing happens. All

Re: Git Plugin Polling Not Picking Up New Changes

2017-02-23 Thread Mark Waite
That looks like a bug. Please submit that information to the bug tracker ( https://issues.jenkins-ci.org/ ). I'm unlikely to investigate that bug further for quite a while, since there are other higher priority issues preceding it (support

Git Plugin Polling Not Picking Up New Changes

2017-02-23 Thread colin . mcqueen
I wanted to report that there seems to be an issue with the Git plugin and polling. For some reason my Jenkins instance stopped picking up new Git changes when polling. Here is the information of my Jenkins instance: Jenkins version: 2.47 ​OS Git version: 2.7.4 Git plugin version: 3.0.5 Git

Configuring content security policy

2017-02-23 Thread KaliRajan G
Jenkins doesn’t allow the CSS and Font Styles (Configuring Content Security Policy) as per Jenkins security policy by default. We want to enable that the CSS and Font styles. So, we used the below groovy command to enable the CSS and Font Styles. Groovy command:

Re: Git fetch not working from jenkins, working from command line

2017-02-23 Thread Christopher Orr
On Wed, 22 Feb 2017, at 18:54, Diganta Paladhi wrote: >> Hi Guys, I am facing this issue with Git plugin version 3.0.5 Any >> idea how to solve this? I have tried all possible suggestions, but >> failed to resolve this :( ** >> *17:07:29* > /usr/bin/git rev-parse --verify HEAD # timeout=10 >>

Re: Pipeline 'Almost complete' is misleading

2017-02-23 Thread Christopher Orr
Hi there, On Wed, 22 Feb 2017, at 18:54, Dan Tran wrote: > Hi > > I am not sure about 'Almost complete' progress bar, it keeps the > same text regardless of the length of the build > > Thoughts? If you're seeing this consistently, and can reproduce it easily, it seems like

Is CIFS host configuration as code (groovy script) possible?

2017-02-23 Thread Ewelina Wilkosz
Hi everyone, I'm trying to configure Jenkins as code - so I'm using descriptors to configure plugins in groovy script. And I'm having problems with configuring CIFS host, can't find the proper descriptor in https://github.com/jenkinsci/publish-over-cifs-plugin. I will maybe try to implement