Re: Getting the remote IP of the client which triggered a build

2016-11-23 Thread Andreas Wuz
Thanks, it works fine! Am Mittwoch, 23. November 2016 08:13:35 UTC+1 schrieb Ted Xiao: > > If you want to access it via shell script, you can install the EnvInject > plugin and configure the plugin to Evaluated Groovy script > > import hudson.model.* > import static hudson.model.Cause.RemoteCause

Periodically build specific branch

2016-11-23 Thread Matthias Blankenhaus
Hi ! We are using multiple branches. Changes to those branches correctly trigger a new build. However, in addition to this we also have a daily, period build. I have noticed that the periodic build uses the branch that was last updated. Is it possible to periodically only build a specific bran

Re: groovy template help.

2016-11-23 Thread Baptiste Mathus
So what does not work? What is the error? Le 24 nov. 2016 6:21 AM, "Bubunia Patra" a écrit : Hi all, I am new to groovy and the syntax is very confusing and error prone and written a template to work with Email-Extn plugin. I want to add the test result in the tabular format as below. Can anyon

groovy template help.

2016-11-23 Thread Bubunia Patra
Hi all, I am new to groovy and the syntax is very confusing and error prone and written a template to work with Email-Extn plugin. I want to add the test result in the tabular format as below. Can anyone help me in this regard? Regards Pradeep For exp if 1 test executed then i want a table in

Re: Pipeline and Maven dependency build trigger

2016-11-23 Thread Arnaud Héritier
Using pipeline multibranches / organisation folders you can easily create/delete builds in jenkins based on what you have in your SCM The complexity is then to manage the triggering which requires 2 things : 1/ For a project you need to analyse its outputs (artifacts) to detect what is published 2/

Re: By installing jenkins a lot of plugins can't be installed

2016-11-23 Thread Baptiste Mathus
>From the screenshot, I seem to understand it could just be (or have been) a slow mirror. Did you retry since then? Also, can you try to download the given URL from your browser to see if that works better? If not, please shoot an email to the infra ML explaining the issue AND providing the mirror

Re: How exactly does stash / unstash work AND how to use the same node in different stages

2016-11-23 Thread Baptiste Mathus
Hi Vincent, Well, I think Stephen already answered, and I guess you didn't file a RFE like he was talking about? Passing Docker image to work around stash speed is a hack, since you're forced to change your pipeline script when in the logical sense of it you want to stash/unstash some build data.

Re: Docker vs Docker-compose with Jenkins

2016-11-23 Thread Baptiste Mathus
Ah bind-mounts... FWIW, as a general rule, bind-mounts should be avoided as much as possible, though using them especially for local dev & CI usage is indeed a pretty common hack (or for special things like TZ configuration where you mount the host file [in ro]). Depending on how you're using your

Example of a working pod with the kubernetes-ci plugin

2016-11-23 Thread Carlos Sanchez
You can't just jump from a container to another, can only share through network or shared filesystem. http://kubernetes.io/docs/user-guide/pods/ I suggest using the Kubernetes Jenkins plugin that can do exactly what you want using pipeline https://github.com/jenkinsci/kubernetes-plugin/blob/mas

Re: Pipeline and Maven dependency build trigger

2016-11-23 Thread 'Richard Hierlmeier' via Jenkins Users
It is surely possible to create with the mavenJob call the corresponding maven jobs. But how can the so created maven jobs be deleted once a branch is deleted? Am Mittwoch, 23. November 2016 19:35:42 UTC+1 schrieb Arnaud Héritier: > > I think I had this discussion with many people but AFAIK t

Re: Pipeline and Maven dependency build trigger

2016-11-23 Thread Arnaud Héritier
I think I had this discussion with many people but AFAIK there is no project / work in progress :( On Wed, Nov 23, 2016 at 4:43 PM, 'Richard Hierlmeier' via Jenkins Users < jenkinsci-users@googlegroups.com> wrote: > > Hi Arnaud, > > we are i the same situation as Dan. Is there a project or plugin

Re: Empty Worspace, don't know why

2016-11-23 Thread jerome
Salut, For those who don't understand french, english will follow below ;-) FR: avant que plein de monde le demande, il serait bien de savoir quel est la configuration de ton Jenkins et de ton projet qui posse problème. EN: before anything, it could help us to help you if we had the Jenkins co

Empty Worspace, don't know why

2016-11-23 Thread Chloé B
Hello Everybody ! My name is Chloé and I try desperately to use Jenkins. I have a problem…. At the start and I really don’t understand why . I search on a lot of websites, but right now, I run out of solutions… I use Jenkins with Windows, but, when I try to make a project, my « Workspace » is

Re: Pipeline and Maven dependency build trigger

2016-11-23 Thread 'Richard Hierlmeier' via Jenkins Users
Hi Arnaud, we are i the same situation as Dan. Is there a project or plugin planed or in progress? -- Richard Am Dienstag, 21. Juni 2016 12:32:48 UTC+2 schrieb Arnaud Héritier: > > Hi Dan, > > No it isn't possible. There is no integration of the maven plugin with > pipeline. > This featur

By installing jenkins a lot of plugins can't be installed

2016-11-23 Thread jenkins . buildserver . 37
Hello I wanted to test Jenkins 2, so I downloaded the latest version (2.33), and launched the installer inside a virtual box with windows 10 and the result was, that a lot of plugins weren't installed.

Running Jmeter test in Docker Container using Jenkin - Docker plugin

2016-11-23 Thread Prasenjit Dutta
Hi All, I am trying to implement CI for one of the Project: Ask is using Jenkin's docker plugin, create an image, run the container, inside the container run jmeter test and finally once test completed after copying result, tear down the container. What I have done till now: 1. created a dock

Config file provider token replacement

2016-11-23 Thread Sathyakumar Seshachalam
I have been trying to tokens in my config file replaced with Environment variables within a pipeline job. Below is my JenkinsFile snippet withEnv(['INSTANCE=Something']) { configFileProvider( [configFile(fileId: 'prescribe', variable: 'DEPLOY_FILE')]) { sh "echo $e

Re: Run jenkins as a service and users rights

2016-11-23 Thread Nicolas M
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 discussion on the web visit https://groups.go