Re: Pipeline: Accessing parameters in build broken

2016-09-26 Thread Sverre Moe
mandag 26. september 2016 17.29.26 UTC+2 skrev Daniel Beck følgende: > > > > On 26.09.2016, at 13:15, Sverre Moe > > wrote: > > > > I am beginning to get frustrated by this constant changes that breaks > previous behaviour. I have read the changelog of plugins and Jenkins and > could not find

Re: Merge Git Core Repo and Site Repo folder while Jenkins deployment

2016-09-26 Thread Mark Waite
On Mon, Sep 26, 2016 at 9:50 AM kamlesh nattamai ramesh babu < nrkaml...@gmail.com> wrote: > Hi Folks, > > I need your advice badly.. We are Maintaining 2 GIT repo for handling > code. > > 1. *Core repo*: This repo contains the core files which is commonly used > for all the projects as a core ba

Jenkins 2.0 api for build pipeline plugin

2016-09-26 Thread Ramnath Ananth
Hi, Is there a REST api for the build pipeline plugin ? I want to build/deploy using REST api which would show up in the GUI in the build pipeline plugin. Currently, I am able to trigger build jobs through REST api but its not integrated with the build pipeline plugin. Can anyone help me in do

Re: E-mails not reaching all receipients

2016-09-26 Thread Slide
I would recommend enabling debug mode in the global config for email-ext and see what the logs say. If it says it's sending to the distribution list, then something is incorrect in the list setup, or the emails are going to the spam folder or something. On Mon, Sep 26, 2016, 14:50 rqui wrote: >

Re: E-mails not reaching all receipients

2016-09-26 Thread rqui
Thanks for your reply, slide. So how could I explain that some users of a distribution group receive the emails, while others don't? On Monday, September 26, 2016 at 2:47:32 PM UTC-7, slide wrote: > > Nope, never had this issue. > > On Mon, Sep 26, 2016 at 1:20 PM rqui > > wrote: > >> Has anyo

Re: E-mails not reaching all receipients

2016-09-26 Thread Slide
Nope, never had this issue. On Mon, Sep 26, 2016 at 1:20 PM rqui wrote: > Has anyone experienced any issue with using the email-ext plugin to send > emails to a distribution list, with several subgroups, and it only reached > some of the people on those lists? > > Thanks in advance! > > -- > You

Re: Merge Git Core Repo and Site Repo folder while Jenkins deployment

2016-09-26 Thread Indra Gunawan (ingunawa)
Use git submodules or git sparse checkout and you have to do it in cmd line git CLI in your Linux BuildStep instead of using "git" Jenkins plugin. http://jasonkarns.com/blog/subdirectory-checkouts-with-git-sparse-checkout/ From: mailto:jenkinsci-users@googlegroups.com>> on behalf of kamlesh na

Re: deployment YAML script with Jenkins

2016-09-26 Thread Victor Martinez
IMO, it seems this is an ansible runtime issue when running that playbook rather than a Jenkins issue On Monday, 26 September 2016 20:21:07 UTC+1, GBANE FETIGUE wrote: > > Hi, > > > I am running a Yaml deployment on with Jenkins. I specified the branch > (develop) but when I run the YAML I am

Re: Jenkins builds being triggered despite ³Don't trigger a build on commit notifications²

2016-09-26 Thread Cyril
Actually, looking at the comments for the git hook feature, it seems that I still need to have Polling enabled on the job or it won't work. Leaving the schedule blank should work though. I will try that as soon as we can setup the hook on the remote. On Monday, September 26, 2016 at 12:54:45 PM

E-mails not reaching all receipients

2016-09-26 Thread rqui
Has anyone experienced any issue with using the email-ext plugin to send emails to a distribution list, with several subgroups, and it only reached some of the people on those lists? Thanks in advance! -- You received this message because you are subscribed to the Google Groups "Jenkins Users

Re: Looking for plugin that notifies an http(s) endpoint after build is done

2016-09-26 Thread Martin d'Anjou
> > I found the Notification > plugin > that does the job for me, but it is not compatible with the Pipeline > feature. > Before I go and fix this I wanted to know if anyone knows a plugin that > does this already? > You could

Re: Jenkins builds being triggered despite ³Don't trigger a build on commit notifications²

2016-09-26 Thread Cyril
I'm not sure what you mean by "Multiple SCM". I don't see that option anywhere so I guess I'm not using it. I am currently not using git hooks to trigger builds. I thought that the job was supposed to be configured with Polling for it to work but it looks like I misunderstood, and that I just n

deployment YAML script with Jenkins

2016-09-26 Thread GBANE FETIGUE
Hi, I am running a Yaml deployment on with Jenkins. I specified the branch (develop) but when I run the YAML I am getting error message . ​The weird stuff is I have already added the key to bitbucket deployment key . any ideas ? ​ Started by user UserName LastName [EnvInject] - Loading no

Docker in Docker in Jenkins Pipeline - how to access the Docker host?

2016-09-26 Thread Damien Coraboeuf
Hi, After having struggled, I decided to create a simplified version of a pipeline, which highlights the issue. Environment: Linux, Jenkins 2.23, latest versions of the pipeline components. Given the pipeline definition at https://github.com/nemerosa/jenkins-docker: 1. I build a Docker ima

Merge Git Core Repo and Site Repo folder while Jenkins deployment

2016-09-26 Thread kamlesh nattamai ramesh babu
Hi Folks, I need your advice badly.. We are Maintaining 2 GIT repo for handling code. 1. *Core repo*: This repo contains the core files which is commonly used for all the projects as a core base files. 2. *Site repo*: This repo contains the site wise file which will merge with core while GI

Help needed: Pipeline, JiraIssueUpdater and SVN Groovy Script

2016-09-26 Thread Oren Chapo
Hi everyone, I have a working Jenkins setup (ver 2.23), with *Pipeline jobs* that use *Subversion (SVN) *to build and test various software components. Jobs are triggered by polling SCM changes. Most jobs use the same SVN tree, with different include/exclude filters for each job. I also have a

Re: Pipeline: Accessing parameters in build broken

2016-09-26 Thread Daniel Beck
> On 26.09.2016, at 13:15, Sverre Moe wrote: > > I am beginning to get frustrated by this constant changes that breaks > previous behaviour. I have read the changelog of plugins and Jenkins and > could not find that this behaviour has been changed in any way. Jenkins could > learn from Gradle

GitLab plugin - Build Triggers / Filter branhces by name (javax.ws.rs.NotFoundException: HTTP 404 Not Found)

2016-09-26 Thread dav.fernandez
Hi all, I'm trying to set up Jenkins so the job's only triggered on a merge request event, and only for the master branch. Following the instructions here[1] I've done the following: 1. Configured access to GitLab - User has developer access to the project - Manage Jenkins --> C

Jenkins/bitbucket SSH keys

2016-09-26 Thread Mohan Radhakrishnan
Hi, I am able to successfully using Gitbash and execute some Bitbucket commands using SSH keys. But the same command doesn't execute from my Windows prompt. I thought that is why Jenkins on my Windows machine also fails I have explained it here(http://stackoverflow.com/questions/39

Re: Pipeline: Accessing parameters in build broken

2016-09-26 Thread Tomasz Krzemiński
Try adding flag: -Dhudson.model.ParametersAction.keepUndefinedParameters=true On Monday, September 26, 2016 at 1:15:34 PM UTC+2, Sverre Moe wrote: > > I have previously accessed build parameters the following way: > def upstreamNoVerify = false > if (getBinding().hasVariable("PARAM")) { > u

Pipeline: Accessing parameters in build broken

2016-09-26 Thread Sverre Moe
I have previously accessed build parameters the following way: def upstreamNoVerify = false if (getBinding().hasVariable("PARAM")) { upstreamNoVerify = Boolean.parseBoolean(PARAM) } This no longer works and I had to change it to: final def upstreamNoVerify = Boolean.parseBoolean(PARAM) I am b

Pipeline: Get SCM changes for build

2016-09-26 Thread Sverre Moe
The following will get me the top most git commit hash: def gitCommit = sh(returnStdout: true, script: 'git rev-parse HEAD').trim() The following will get me the top most git commit message: def gitCommitMessage = sh(returnStdout: true, script: 'git log -n 1 --format=%s').trim() However within o