Re: GitHub and Bitbucket branch source UI refactoring

2017-08-04 Thread Michael Kobit
gt; directly? > > On Tuesday, July 11, 2017 at 8:39:29 PM UTC-4, Michael Kobit wrote: >> >> Finally got some time to try it out (sorry!) and I know the PR has >> already been merged, but UI looks great, and the contextual help menus >> make it easy to pick up. Awesome j

Re: GitHub and Bitbucket branch source UI refactoring

2017-07-11 Thread Michael Kobit
Finally got some time to try it out (sorry!) and I know the PR has already been merged, but UI looks great, and the contextual help menus make it easy to pick up. Awesome job! Only thing I noticed is no built-in Job DSL support - we use the Job DSL entirely to create and setup all of our

Re: GitHub and Bitbucket branch source UI refactoring

2017-06-26 Thread Michael Kobit
I'm going to have time to do this today. Are there newer alphas available? On Mon, Jun 26, 2017, 08:13 Kevin Burnett wrote: > This is so good. :) > > The pre and post diffs looked right, and the new UI and functionality > gives me everything that I was hoping for. > >

Re: GitHub and Bitbucket branch source UI refactoring

2017-06-21 Thread Michael Kobit
ur own >>>> risk. There are additional issues to be aware when using more >>>> production-like environment: >>>> >>>> a. You may have builds that were assuming branches were full clones, >>>> now the refspec is tightly reduced to minimize clon

Re: GitHub and Bitbucket branch source UI refactoring

2017-06-18 Thread Michael Kobit
I may be able to help with this as well. On Fri, Jun 16, 2017, 17:28 Dan Tran wrote: > I will give it a spin too. > > Thanks > > -Dan > > On Friday, June 16, 2017 at 11:57:26 AM UTC-7, Kevin Burnett wrote: >> >> we'd be down to try that, yes. thanks for making these changes

Re: sh returnStdout:true leaking deleted file handles

2017-06-07 Thread Michael Kobit
We see massive file handle leaks on a different Jenkins we have that does not use Pipeline. The leaks were on the build logs. We haven't figured out if it is a plugin or something in Jenkins core and we just dealt with it by restarting Jenkins nighty. On another instance we use pipelines

Re: Resume pipeline on a different slave

2017-05-30 Thread Michael Kobit
Are there other ways than that plugin? It seems like agents should be considered fungible in general. There doesn't seem to be any way on Dumb Slave that I can see. On Tue, May 30, 2017, 08:48 Arvind Jayaprakash wrote: > I face the same issue with Mesos and my understanding

Re: One Jenkinsfile per repo in multi-branch workflows?

2017-05-19 Thread Michael Kobit
Be careful if you do use the job DSL as you will have to deal with Groovy sandbox permissions for job creation. On Fri, May 19, 2017, 09:20 Matt Stave wrote: > You can use a JobDSL statement in the Jenkinsfile in the root of your repo > to generate other jobs. Those jobs

Re: Pipeline: combining milestone, lock and parallel executions

2017-01-15 Thread Michael Kobit
That is useful! Did you discover an open issue for that? Is it just not supported yet? On Sun, Jan 15, 2017 at 4:17 PM ST wrote: > After even more investigation it seems that *nested lock() statements are > not supported*. Thats what caused all my headache. When using

Re: Read files from workspace in multibranch pipeline scm?

2016-12-14 Thread Michael Kobit
Your problem is the new File( piece. The pipeline code runs on a flyweight executor on the master, and the various steps can run on allocated nodes. You might be able to do something using FilePath , but I think you could use the findFiles step

Re: Pipeline: Hos to test them locally

2016-12-10 Thread Michael Kobit
You can use the "Replay" option, which might help you iterate a little bit faster. There isn't really a good way to test and validate that your pipeline is correct other than just running it. https://issues.jenkins-ci.org/browse/JENKINS-33925 is open for a test framework for Jenkinsfile. On Fri,

Re: how to use git commands inside a Multi Branch Project?

2016-12-09 Thread Michael Kobit
We haven't really figured both this Git issue yet, but another problem we ran into when running builds in Docker containers is described in https://go.cloudbees.com/docs/support-kb-articles/CloudBees-Jenkins-Enterprise/Why-am-I-unable-to-authenticate-via-sshagent-inside-docker-.html where the

Re: Unmask credentials in pipeline

2016-12-09 Thread Michael Kobit
You can also do something like what I reported in this issue https://issues.jenkins-ci.org/browse/JENKINS-38181 . On Fri, Dec 9, 2016 at 1:20 PM Raja Chinnam wrote: > Hi Sophie > It works in a pipeline when I have that code in a function and have it > return the

Re: Bitbucket webhook triggering 2 builds at once

2016-11-15 Thread Michael Kobit
for my jobs, it only occurred after that on merge builds. This looked similar (which is related to the issue you sent me earlier): https://issues.jenkins-ci.org/browse/JENKINS-33865 Thanks, Tim On Tue, Nov 15, 2016 at 3:36 PM, Michael Kobit <mko...@gmail.com> wrote: Sorry, I rep

Re: Bitbucket webhook triggering 2 builds at once

2016-11-15 Thread Michael Kobit
emed to work OK for a while - until now. > > Thanks, > > Tim > > > On Mon, Nov 14, 2016 at 11:19 PM, Michael Kobit <mko...@gmail.com> wrote: > > Sorry for mobile link: > > https://issues.jenkins-ci.org/plugins/servlet/mobile#issue/JENKINS-36283 > > That issue

Re: Bitbucket webhook triggering 2 builds at once

2016-11-14 Thread Michael Kobit
Sorry for mobile link: https://issues.jenkins-ci.org/plugins/servlet/mobile#issue/JENKINS-36283 That issue is for customizing what is built by the plugin. On Mon, Nov 14, 2016, 16:43 Tim Webster wrote: > Hi, > > For some reason, my Bitbucket webhooks are triggering 2

Re: Writing integration tests for Global Libraries

2016-11-07 Thread Michael Kobit
. > > -M > > > > > On Sunday, November 6, 2016 at 5:30:16 PM UTC-8, Michael Kobit wrote: >> >> I'm working on writing some global libraries using >> https://github.com/jenkinsci/workflow-cps-global-lib-plugin. My current >> process for iterating loca

Writing integration tests for Global Libraries

2016-11-06 Thread Michael Kobit
I'm working on writing some global libraries using https://github.com/jenkinsci/workflow-cps-global-lib-plugin. My current process for iterating locally is: - Start up a local Jenkins instance - Point the *globalLibs* directory to my global libraries repository - Create a few jobs that

Re: bitbucket & jenkins integration

2016-10-26 Thread Michael Kobit
Are you using Bitbucket Cloud or Server? On Tue, Oct 25, 2016, 20:57 EddĂș MelĂ©ndez Gonzales wrote: Hi, I am working with Jenkins 2 and Bitbucket Branch Source Plugin and I have followed the following steps: 1. Create a new Item "Bitbucket Team/Project" 2. Set "Scan

locks vs stage w/concurrency

2016-09-21 Thread Michael Kobit
I believe the stage step with concurrency has been deprecated so I would avoid using that. It sounds like you are looking for https://issues.jenkins-ci.org/plugins/servlet/mobile#issue/JENKINS-27039 (milestone step). -- You received this message because you are subscribed to the Google

Re: Automated Jenkins Plugin/Dependency Management

2016-08-30 Thread Michael Kobit
ay, August 26, 2016 at 12:27:00 PM UTC-7, Michael Kobit wrote: >> >> Is there a way to basically "unzip" the *jenkins.war* so that the >> plugins, workflow-libs, and other parts can be configured before actually >> running the service? >> >> O

Re: Automated Jenkins Plugin/Dependency Management

2016-08-26 Thread Michael Kobit
.org instead of > updates.jenkins-ci.org it does pick up the occassional beta/alpha version > that gets pushed to the releases repo by developers. I'm working to fix > this using a filter in the gradle dependency solver configuration. > > > > On Thursday, August 11, 2016 a

Re: Stash Integration with Jenkins Pipeline {for Code Review}

2016-08-17 Thread Michael Kobit
The *Bitbucket Branch Source Plugin *is still in a weird place for Bitbucket Server. Follow the discussion on https://issues.jenkins-ci.org/browse/JENKINS-33507 to see some of the issues with some of the existing Bitbucket Server plugins and the open PRs for auto-registration. On Sunday,

Re: Automated Jenkins Plugin/Dependency Management

2016-08-11 Thread Michael Kobit
We are looking at doing something similar (actually talking about this with colleagues today). The idea is to basically build an immutable Jenkins instance that can't be modified. Or at least severely limit any kinds of modifications to it so that we have an easily deployable "Jenkins as a

Re: Can I add a "publish" button to a build page

2016-07-12 Thread Michael Kobit
This above (input with timeout) is what we are currently doing. When the milestone step is done (see https://issues.jenkins-ci.org/plugins/servlet/mobile#issue/JENKINS-27039), I believe we will switch to using that instead. On Tue, Jul 12, 2016, 16:25 Vincent Latombe

Re: withCredentials not working in multibranch project?

2016-06-26 Thread Michael Kobit
There are a couple different things to notice here: 1. Double quotes in Groovy is string interpolation - Your *sh "cp $SETTINGS_LOCATION ./settings.xml"* is using string interpolation

Re: Pipeline script for Build Trigger

2016-05-17 Thread Michael Kobit
r on Jenkins 2.0. Am I correct? > > > On Tuesday, May 17, 2016 at 10:02:31 AM UTC-4, Michael Kobit wrote: >> >> I think https://issues.jenkins-ci.org/browse/JENKINS-34005 is what you >> are looking for. >> >> On Monday, May 16, 2016 at 4:54:13 PM UTC-5, John Chan

Re: Pipeline script for Build Trigger

2016-05-17 Thread Michael Kobit
I think https://issues.jenkins-ci.org/browse/JENKINS-34005 is what you are looking for. On Monday, May 16, 2016 at 4:54:13 PM UTC-5, John Chandra wrote: > > Hi All, > > Is there any way to configure a build trigger using pipeline script in > Jenkinsfile? We still want to trigger the build when

Scheduled execution, windowing, and fan-in/fan-out with Jenkinsfile

2016-04-19 Thread Michael Kobit
I have a use case of where I want my pipeline to run an execution at a scheduled time, which may be externally or internally provided and may or may not be blocking. I'm still new to the Jenkinsfile and pipeline, but I'm wondering if others have any experience with any of the following types of