Re: Jenkins Pipeline job build number sequencing jump by 2 ?

2017-05-05 Thread Stephen Connolly
Somebody figured out that there was a plugin causing that. I cannot be certain but i think at least one culprit plugin was one of the HP lifecycle management plugins... could be others out there with same effect. On Sat 6 May 2017 at 01:35, Mark Waite wrote: > I've not seen that in any of my pi

Re: Jenkins Pipeline job build number sequencing jump by 2 ?

2017-05-05 Thread Mark Waite
I've not seen that in any of my pipelines. On Fri, May 5, 2017 at 6:31 PM Dan Tran wrote: > > Hi > > I just notice all of my pipeline jobs build number always jump by 2 at one > of my Jenkins instances, but not on others. Do you see them this behavior > at your side? > > I am at STS 2.46.2 > >

Jenkins Pipeline job build number sequencing jump by 2 ?

2017-05-05 Thread Dan Tran
Hi I just notice all of my pipeline jobs build number always jump by 2 at one of my Jenkins instances, but not on others. Do you see them this behavior at your side? I am at STS 2.46.2 Advice is greatly appreciated -Dan -- You received this message because you are subscribed to the Goog

Re: Not able to push to GIT repo using 'withcredentials'

2017-05-05 Thread Ramanathan Muthaiah
On Friday, May 5, 2017 at 3:32:36 PM UTC+5:30, ishan jain wrote: > > I am trying to push some tags back to repository and for obvious reasons, > i would like to keep my usernam/pass hidden. I use withcredentials for this > and the code looks like this: > > checkout([$class: 'GitSCM', branches: [[

Using a docker image in a declarative pipeline

2017-05-05 Thread Guy Knights
I've been playing around with the declarative pipeline syntax and I'm having trouble running a docker container to do some processing. To clarify, I *don't* want to run my entire pipeline in the container, I just need to run a container to do some processing as part of the pipeline. I've had this

Re: Recommending for cleaning up old builds when multibranch pipeline is in use?

2017-05-05 Thread Mark Stosberg
> > On Wednesday, March 1, 2017 at 4:08:53 AM UTC-5, Baptiste Mathus wrote: >> >> I don't think there's something per branch, but you probably want to >> either search JIRA and/or file a new feature request about it. >> >> You shouldn't need a special plugin, this is a standard feature. Here's >

https://groups.google.com/forum/#!forum/jenkinsci-issues will be back soon?

2017-05-05 Thread Dan Tran
Would love to get this forum back on my daily read/scanning -D -- 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. T

List instances of a template using REST API

2017-05-05 Thread Jim Coll
Hi, We looking for a way to to retrieve a list of Job Template instances that were created using a template via the REST API. We're able to retrieve a list of jobs & builds but we can't find any way of associating these back to a given template that they were created from. Does anyone have any

git submodules + update to tip of branch (update --remote) + maven incremental builds (-pl list -amd)

2017-05-05 Thread Jon Harper
Hi everyone, I would like to know if my setup is supposed to work as configured. Has anyone tried and succeeded doing the following ? I have: - Some maven projects using git as SCM. Let's call these the base projects. - A git repository containing only git submodules (the previous maven project

Re: can i use variable to specify the agent label in my declarative pipeline ?

2017-05-05 Thread ishan jain
Hi Eric, This the full code that copied earlier. You would only require to create a properties file. The other echo statements that i have put are printing out the values just fine. On Thursday, 4 May 2017 22:47:14 UTC+2, Eric Pyle wrote: > > OK, so the variable is now being evaluated, but it

Not able to push to GIT repo using 'withcredentials'

2017-05-05 Thread ishan jain
I am trying to push some tags back to repository and for obvious reasons, i would like to keep my usernam/pass hidden. I use withcredentials for this and the code looks like this: checkout([$class: 'GitSCM', branches: [[name: '*/master']], doGenerateSubmoduleConfigurations: false, extensions: [

Re: Customization of Post-Build Email Notifications in Jenkins

2017-05-05 Thread Sébastien Hinderer
Dear venkatesh, See the email-ext plugin to send customized emails. You may have to write a bit of code to achieve your goal -- I don't know the details of what you will have to do -- but at least email-ext shoudl allow you to reach what you describe. hth, Sébastien. -- You received this messa

Customization of Post-Build Email Notifications in Jenkins

2017-05-05 Thread venkatesh guttal
Hi, I am building some part of code in jenkins, in console output it shows that number of build succeeded and failed at the end of the console log file. example given below. I want to copy paste only the below portion and send it across the email notification.* Any idea how it can be done?*