Re: Jenkins 2.x - Pipeline(DSL) - Build failed but all stages are green

2016-07-21 Thread Thomas Zoratto
tBuild.result prints null) > > On Thursday, July 21, 2016 at 12:07:43 PM UTC+2, thomas@teamaol.com > <http://teamaol.com/> wrote: > Will give it a try ... > > On Thursday, July 21, 2016 at 12:00:15 PM UTC+2, Thomas Zoratto wrote: > currentBuild.result is writable >

Re: Jenkins 2.x - Pipeline(DSL) - Build failed but all stages are green

2016-07-21 Thread Thomas Zoratto
currentBuild.result is writable try to set it to 'SUCCESS' when before your pipeline reaches the end > Le 21 juil. 2016 à 11:53, thomas.lehm...@teamaol.com a écrit : > > We are working with Jenkins 2.13 the moment. > We have a ci/cd pipeline with all stages green but the build itself is red. >

Re: Jobs as a code

2016-07-21 Thread Thomas Zoratto
Hi, I use both Jenkins DSL and pipeline and I’m pretty satisfied with this configuration. Jenkins DSL lets me define views and jobs which are specific tasks like doing some clean-up or whatever you want. On the other side, I use pipeline to set up projects' CI/CD. This way, every single job

Re: workspace not getting cleared before or after build.

2016-07-20 Thread Thomas Zoratto
Be sure that https://wiki.jenkins-ci.org/display/JENKINS/Workspace+Cleanup+Plugin is installed > Le 20 juil. 2016 à 15:34, Ashish Yadav a écrit : > > I am currently running Jenkins LTS v1.642.3 on CentOS 6. In my job confi

Re: [pipeline] publishHtml failed with file present

2016-07-12 Thread Thomas Zoratto
Hi, this bug is already reported here : https://issues.jenkins-ci.org/browse/JENKINS-29711 publishHTML is not the only step impacted > Le 12 juil. 2016 à 18:15, jer...@bodycad.com a écrit : > > I think I found the solution on that page: >

Re: Building containers with Docker in Docker and Jenkins

2016-07-02 Thread Thomas Zoratto
Hi Baptiste, Not sure you can easily mount the docker client binary (you could, back in the day but now there are some required dependencies). > Le 2 juil. 2016 à 22:00, Baptiste Mathus a écrit : > > Worth a read probably: > https://jpetazzo.github.io/2015/09/03/do-not-use-docker-in-dock

Re: Synchronize timestamps in Jenkins output console, between nodes and master

2016-07-01 Thread Thomas Zoratto
Hello, I don't know if there is a better solution to do it but maybe you could specify the desired time zone during the creation of your AWS instance > Le 29 juin 2016 à 12:56, steliosP a écrit : > > I am facing the following problem: > Jenkins slaves are deployed in AWS, in different regions

Re: Error While trying to configure S3 plugin

2016-06-26 Thread Thomas Zoratto
I don’t know, in a few days maybe if I look at the release history Of course you can patch it on your own and install your custom version on your server if you can’t wait > Le 26 juin 2016 à 11:35, AboveBeyond a écrit : > > > > On Sunday, June 26, 2016 at 12:28:33 PM UTC+3,

Re: Error While trying to configure S3 plugin

2016-06-26 Thread Thomas Zoratto
Hi, This commit fixed your problem (https://github.com/jenkinsci/s3-plugin/commit/b1fa4818c33c6aca594de492a659767516a3bc50 ) You’ll have to wait for the next release. > Le 26 juin 2016 à 11:04, AboveBeyon

Re: Integrating promoted-builds DSL to a job-dsl-gradle-example project

2016-06-18 Thread Thomas Zoratto
oking > forward your advancement on this issue; I'll keep you updated if I find > anything. > > Thanks again! > > - Frank > > On Wed, Jun 1, 2016 at 3:40 PM Thomas Zoratto <mailto:thomas.zora...@gmail.com>> wrote: > Right now I can’t see a way to do this bu

Re: Run pipeline flyweight executors off of master

2016-06-13 Thread Thomas Zoratto
Hello, I’m not sure one can do what you want. Out of curiosity, what’s the use case for this ? > Le 13 juin 2016 à 23:16, Eli White a écrit : > > My understanding is that Jenkinsfile execution runs as a flyweight node on > master, but then uses heavyweight nodes on the given node label to e

Re: Getting started with Pipeline

2016-06-10 Thread Thomas Zoratto
Hello, I’m not sure to understand correctly but your needs seems quite straightforward. To achieve that, you want to create a multibranch pipeline job (as you have already done I see) which will scan all your project’s branches looking for Jenkinsfiles. In those Jenkinsfiles, you’ll have to d

Re: Jenkins 2.0 github organization folder not showing up

2016-06-10 Thread Thomas Zoratto
Hi, Did you restart your Jenkins instance after installing these plugins ? If you look at others thread in the ML you’ll find same kind of problems and the solution was to restart. (a known bug it seems) Thomas > Le 10 juin 2016 à 12:35, Tuomas-Matti Soikkeli a écrit : > > > > > > Good

Re: Integrating promoted-builds DSL to a job-dsl-gradle-example project

2016-06-07 Thread Thomas Zoratto
, I'm looking > forward your advancement on this issue; I'll keep you updated if I find > anything. > > Thanks again! > > - Frank > > On Wed, Jun 1, 2016 at 3:40 PM Thomas Zoratto <mailto:thomas.zora...@gmail.com>> wrote: > Right now I can’t see a wa

Re: ERROR: Couldn't find any revision to build. Verify the repository and branch configuration for this job.

2016-06-03 Thread Thomas Zoratto
var/lib/jenkins/repo/test_repo.git > folder? Originally I was trying to use the test_repo.git folder for all of > this, I think this is mainly where I have been going wrong. > > On Friday, June 3, 2016 at 9:07:36 PM UTC+1, Thomas Zoratto wrote: > cd /path/to/your/repo > > git

Re: ERROR: Couldn't find any revision to build. Verify the repository and branch configuration for this job.

2016-06-03 Thread Thomas Zoratto
cd /path/to/your/repo git add --all git commit -m "your commit message" I encourage you to go through a git tutorial to learn the basics. Thomas > Le 3 juin 2016 à 22:00, Freddy Paxton a > écrit : > > How do I go about doing this? > > On Friday, June 3, 2016

Re: ERROR: Couldn't find any revision to build. Verify the repository and branch configuration for this job.

2016-06-03 Thread Thomas Zoratto
Hi, Did you commit your changes in your repo ? > Le 3 juin 2016 à 20:43, Freddy Paxton a > écrit : > > I'm new to Jenkins, Ubuntu and Git so the answer to this is probably > something I've missed out! > > What I want to do is set up a Git repository in which 2 Java files are > located (He

Re: Integrating promoted-builds DSL to a job-dsl-gradle-example project

2016-06-01 Thread Thomas Zoratto
a context running an instance > of the promoted-builds plugin. > > Do you have an idea of how I could get the XML generated from the scripts? > > Thank you again and have a nice day! > > - Frank > > > On Wednesday, June 1, 2016 at 12:20:01 PM UTC-4, Thomas Zorat

Re: Integrating promoted-builds DSL to a job-dsl-gradle-example project

2016-06-01 Thread Thomas Zoratto
Hello Frank, I guess the promoted builds plugin is not directly compatible with the job DSL plugin. I mean you can’t find DSL methods relative to the promoted builds plugin in the online API https://github.com/franknarf8/job-dsl-gradle-example/commit/f15b7fbf698d7be29b8527043d8649ab15559842

Re: deployment of multiple git branches

2016-05-31 Thread Thomas Zoratto
machine or a repository (i. e. Nexus) you won't be > able to identify from which branch it was built. How do you handle this? > > Best, Philipp > > On Tuesday, 31 May 2016 18:16:34 UTC+2, Thomas Zoratto wrote: > Hello, > > You can achieve this with a Jenkinsfile per b

Re: Storing artifacts on file server (Mac+Win)

2016-05-26 Thread Thomas Zoratto
I keep this conversation here to possibly help other people with a similar question. --- It's not the only way but it's the cleanest way in my opinion when you have enough artifacts to fill your hard drive. I think the way you integrate the artifact repository with Jenkins depends on your pro

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