Docker Compose with Declarative Pipeline (or workarounds)

2017-05-26 Thread bearrito
Hello All, I am looking for an example of using Docker Compose with the Declarative Build pipeline. In particular I am looking to run my suite of Integration tests against our NoSQL container. What I currently do is build our project in a container using the agent { docker { } } After

Re: List Promoted Marked Build#

2017-05-26 Thread Victor Martinez
Hi there, In your case you need to look for all the Builds with the https://github.com/jenkinsci/promoted-builds-plugin/blob/master/src/main/java/hudson/plugins/promoted_builds/PromotedBuildAction.java reference using the method:

List Promoted Marked Build#

2017-05-26 Thread avinash . upadhya28
Hi Folks, I have Job-1 and Job-2. In Job-2 I am trying to get the latest Promoted Build marked Build# for a Job-1. So i am trying this with Grrovy script. Can any one help me to achieve this. I have below script which gives me all the build# for a job. But i want only those build which are

Re: Docker Slaves like plugin

2017-05-26 Thread Jacob Larsen
I found another plugin, CloudBees Docker Custom Build Environment plugin from same author. This plugin also looks abandoned and is marked for adoption, but it actually looks to be pretty close to what I need. It just lacks pipeline support from what I can tell. And possibly a way to define a

Re: Ant logger in jenkins

2017-05-26 Thread Moulidharan Rathinam
Found it.You can specify the logger in target textbox .It will work. On Friday, May 19, 2017 at 7:32:36 PM UTC+5:30, Moulidharan Rathinam wrote:

Re: Triggering a multibranch pipeline build from a URL Change

2017-05-26 Thread Greg Smith
Well, I haven't found a solution, but I have found why the scheme we had stopped working. Seems this error is being thrown whenever the first triggering build runs: RunListener failed java.lang.NullPointerException at hudson.model.Result.isBetterOrEqualTo(Result.java:130) at

Re: Android SDK: Does not appear to be a valid directory

2017-05-26 Thread Daniel Beck
> On 26. May 2017, at 09:41, Bhavdip Pathar wrote: > > Full access to root and my user to android sdk directory. Which user is Jenkins running as? If you installed using a package, it may run as 'jenkins'. Check at http://yourjenkins/systemInfo URL. -- You

Re: Need Github pull request number as environment variable

2017-05-26 Thread Cody Ebberson
I went ahead with a script to search for the Pull Request number. Here is the script in case anyone might find it useful: https://gist.github.com/codyebberson/16be8a5eb796a444ab69bfded7f64324 -- You received this message because you are subscribed to the Google Groups "Jenkins Users" group.

Re: Jenkins IIS Reverse Proxy

2017-05-26 Thread Terry Lacy
Thanks for your reply, Stephen. Here's the IIS web.config file. Does anyone know how the rewrite rule should be configured for Jenkins? http://localhost:8080/{R:1}; />

Limited checkout in declarative pipeline

2017-05-26 Thread Eric Nondahl
Hi, I'd like to switch over to using declarative pipelines, and i'm seeing a SVN switching issue - but maybe i'm just not structuring this correctly. In this simple example pipeline, the pipeline is stored in a "project/pipelines" folder (not at the project root.) When the pipeline starts, it

Android SDK: Does not appear to be a valid directory

2017-05-26 Thread Bhavdip Pathar
I have no idea about how to solve it. I had spent last 2 days on it. My problem is Jenkins could not able to find my custom Android SDK Location. My custom location is /home/bhavdip/Documents/AndroidSdk I have tried everything starts from 1. Environment variable 2. Default ANDROID_HOME. 3.

Re: Problem Plugin-Ansible instaled on jenkins

2017-05-26 Thread Daniel Beck
> On 24. May 2017, at 23:48, Rodolfo Domingues Junior > wrote: > > And made the following configuration > > Global tools configuration > None of this looks correct. The 'path to ansible executables' is clearly wrong -- it obviously expects the ansible executable