Multibranch job - configure post build groovy event in Jenkinsfile

2016-06-13 Thread Mike
Label = manager.build.getDisplayName() echo 'Num: ' + buildNum + ' Rev: ' + buildRev + ' SVN Url: ' + buildSvn + ' URL: ' + buildUrl manager.build.setDisplayName(buildLabel + ' - Revision: ') //} } manager.build.result is always null. I ima

Exclude commits from Multibranch Pipeline?

2016-07-07 Thread Mike
Hello, I recently setup Jenkins for a Multibranch Pipeline using a GitHub organization and a Jenkinsfile. This works well, but Jenkins is building every commit that is pushed. I tried to have Jenkins only build the master and develop branches, but then it won't build the Pull Requests. Ideall

Re: Jenkins slave (EC2 AWS plugin) fails occasionally when build takes too long with error "Caused: java.io.IOException: Unexpected termination of the channel"

2017-09-14 Thread Mike
I added ClientAliveInterval and ClientAliveCountMax parameters to the sshd configuration on our Jenkins agents to help prevent disconnects. I also removed the monitoring plugin since we didn't use it. I had noticed JavaMelody errors in the Jenkins log file at the same time the Jenkins agent d

Job unexpectedly being stopped with success exit code after exactly one hour

2016-12-05 Thread mike
I have a long running Jenkins job that can run for more than one hour. Via shell scripts, it kicks off an activity in AWS (runs a docker container as a task), then monitors the state of the task every 30 seconds and ends when the task finishes. As part of the process, it finishes by logging th

Re: Job unexpectedly being stopped with success exit code after exactly one hour

2016-12-14 Thread mike
Thanks for your feedback. The actual AWS activity is running as a task in ECS and continues after the Jenkins job ends. It is not configured with any connectivity via an ELB. -- You received this message because you are subscribed to the Google Groups "Jenkins Users" group. To unsubscribe f

Pipeline Slack / XUnit posting test results

2017-02-21 Thread mike
Pre-pipeline, I had jobs that would post to slack with a summary of the XUnit tests results. I've got slack posting and XUnit test results gathering all working in pipeline now, but what I miss, and what my team is not keen to lose is the test results detail in the slack posts. I don't mind if

Re: How to disable automatic scheduling of the Git Plugin

2015-09-08 Thread mike
this behavior, especially when "Poll SCM is disabled"... -Mike On Thursday, January 29, 2015 at 3:59:24 AM UTC+2, Martin d'Anjou wrote: > > Yes, Mark was also suggesting that that as a probable cause, however, I > think the problem is different. I decided to open a feature

Is there a trim method in the string parameter ?

2019-03-06 Thread Mike Craig
rameters { string(name: 'component', trim:true, description: 'component name for terraform') } Thank you, Mike -- You received this message because you are subscribed to the Google Groups "Jenkins Users" group. To unsubscribe from this group and stop receiving ema

Jenkins Pipeline: Variable expansion issues

2019-03-11 Thread Mike Craig
Hello, The following snippet from my pipeline is acting very strangely, the values from the print statements are correct print "asgName: $asgName" print "asgMax: $asgMax" print "asgMin: $asgMin" asgIncrease = (asgMax * 2) print "S

Re: Jenkins Pipeline: Variable expansion issues

2019-03-12 Thread Mike Craig
Good thinking, I'll try to do a strip on them and see if that clears it up. On Tuesday, March 12, 2019 at 7:18:14 AM UTC-7, Reinhold Füreder wrote: > > Hi Mike, > > > > it looks like the variables are actually strings with a line break at the > end, and not intege

Using multiple AD servers

2019-09-16 Thread Mike Bayliss
nkins (current LTS server on Linux), or am I going to end up with two distinct user populations? THanks, Mike -- 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, se

Warnings Plugin MSBuild Parser detection of Visual Studio Code Analysis Warnings

2013-10-19 Thread Mike Hambidge
s output has an extra space after the , so looks like ... warning: CA1234 : Message I suppose I may be encountering a bug, but before creating a bug report I was trying to see if the MSBuild parser was even intended to catch the code analysis warnings. Thanks gang. - Mike -- You received this

Re: Warnings Plugin MSBuild Parser detection of Visual Studio Code Analysis Warnings

2013-10-21 Thread Mike Hambidge
Thanks for the response Ulli. I've created JENKINS-20154<https://issues.jenkins-ci.org/browse/JENKINS-20154>to track this. - Mike On Sunday, October 20, 2013 10:03:40 AM UTC-5, Ullrich Hafner wrote: > > Yes, it should work on Visual Studio messages, too. Please file a new

Build Flow Plugin (pre-release 0.11): Change in SCM behavior?

2013-10-29 Thread Mike Dougherty
I'm using a custom built version of the plugin (using the code from this PR: https://github.com/jenkinsci/build-flow-plugin/pull/40). As you can see from the commit history, this is based on the unreleased 0.11 version. In my further exploration of this plugin (and the new version I had built)

Jenkins install destination

2013-11-07 Thread mike davis
point me in the right direction. Thank you -Mike -- 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

Re: disable jenkins autostart on ubuntu

2013-12-03 Thread Mike Bayliss
update-rc.d jenkins disable On Tue, Dec 3, 2013 at 1:20 PM, tomasz ducin wrote: > I've installed jenkins on my ubuntu 11.10 according to the official > tutorial. > Anyway, I don't want jenkins to autoload on startup. I wa

Restarting with job execution stopped.

2013-12-17 Thread Mike Bayliss
hanks, Mike -- 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. For more options, visit https://groups.go

Re: Is there a chance to get Subversion 1.8.x running with jenkins?

2014-01-02 Thread Mike Konikoff
There is an open issue for this here https://issues.jenkins-ci.org/browse/JENKINS-18935 On Wednesday, July 31, 2013 9:33:55 AM UTC-4, Kevin Fleming wrote: > > Are you saying that SvnKit in Jenkins can't talk to a Subversion 1.8 > server? That would be quite surprising, so I suspect that you are

Re: email-ext tokens for "Build Failure Analyzer"

2014-01-15 Thread Mike Bayliss
'm missing? Mike On Tue, Dec 17, 2013 at 8:40 AM, Adam Guja wrote: > jelly script for obtaining information from Build Failure Analyzer plugin > and using it in Email ext plugin > > Many thanks to Robert Sandell (one of the developers of BFA) for assisting > me in creati

Jenkins User Activity Logging

2014-01-31 Thread Mike B
I manage a Jenkins build server used by a number of people, we allow all users access to schedule/cancel builds. This is fine as it this is usually done for a good reason and you can trace who started/cancelled a build if it is necessary to query it, as it is recorded on that build's page. Unles

Re: Strategies to disk-risk a Jenkins upgrade

2014-03-05 Thread Mike Bayliss
production system if all those jobs work. Both my Jenkins boxes are virtual systems - I stop them and take a snapshot before any update or addition, and keep the snapshot until I'm sure what I've tried works. Mike On Wed, Mar 5, 2014 at 5:53 AM, JOHNSTON, Rob wrote: > Hi list >

Build flow plugin parallel builds are not parallel

2012-11-28 Thread Mike Finneran
When I execute the following build flow script on a cluster of four identical nodes, only one node is used to execute all twelve instances of "job-Build". If I pull that node, All instances are still build on only one node, just the next node that is still on line. I would have thought that all

Re: Build flow plugin parallel builds are not parallel

2012-12-06 Thread Mike Finneran
That was it. Nicolas you found my problam -- thanks -- I had neglected to tick the "Execute concurrent builds if necessary" box on the jobs I wanted to have run in parallel. On Wednesday, November 28, 2012 1:48:16 PM UTC-8, Mike Finneran wrote: > > When I execute the foll

Job-DSL: 'typeConfigs' XML node silently fails?

2013-01-10 Thread Mike Dougherty
I have the following script: public class DSLHelpers { public static void violations(out, job, typeName, minNum, maxNum, unstableNum, filenamePattern = null) { job.configure { project -> def violationsConfig = project / publishers / 'hudson.plugins.violations.ViolationsPu

Re: Job-DSL: 'typeConfigs' XML node silently fails?

2013-01-13 Thread Mike Dougherty
he job-dsl-plugin has its own google group. But I'll make sure to > monitor this one too now) > > On Thursday, January 10, 2013 12:13:07 PM UTC-8, Mike Dougherty wrote: >> >> I have the following script: >> >> public class DSLHelpers { >> public stat

Setting Local Maven Repository to "Local to the executor" works partially

2013-03-06 Thread Mike Chimirev
I'm seeing very strange behavior. In global settings I have "Local Maven Repository" set to "Local to the executor", but when I run a maven job, I can see that it downloads some artifacts to the workspace repository (/home/jenkins/maven-repositories/7) and some artifacts went to .m2 (/home/jen

Jenkins Security Configuration

2013-04-15 Thread Mike Weiss
have bound both the http and https to the proper ip and I am not sure what else I am could be missing. Any help would be great. Thanks, Mike -- You received this message because you are subscribed to the Google Groups "Jenkins Users" group. To unsubscribe from this group and stop receiv

Re: Getting One Job Invocation Per Git Commit

2012-04-11 Thread Mike Rooney
#x27;d definitely love to see a BuildChooser that handled this, including for a branch specifier of **; that would be quite wonderful. However for now I figured this solution might help others, or maybe someone will point out a better way for me :) - Mike On Friday, July 8, 2011 3:24:59 PM UTC-4

custom build views

2012-04-19 Thread Mike Gibson
I am currently using the build name setter and description setter plugins. Does anyone know of a good way to view builds based on either of these values? It would be nice for us to be able to organize the build results across jobs/projects by build name.

Re: custom build views

2012-04-24 Thread Mike Gibson
y there is no column or regular expression to show/filter the > build name yet. > > If you desperately need a column for the build name, let me know. ;) > If you need the regular expression for the build name, ask the maintainer > of the View Job Filters Plugin. > > Hth, > &

Global Properties

2012-08-21 Thread Mike Guiney
age. This adds key value pairs, which are saved to config.xml file, but the jobs dont seem to be able to use them i.e. if I create a property called MIKE and then try to use it in the job by using $MIKE or ${MIKE} it doesn't work as I expect. I've tried to echo them from a windows batch c

Forcing 32-bit or 64-bit install of JDKs through Jenkins' auto-install

2012-09-13 Thread Mike Chmielewski
I've done some google searching, and haven't seen anything about this. Is there a way to tell/force the auto-installer to install the 32-bit vs. 64-bit version of the SDK? Our product is such that older legacy jobs need to use the 32-bit JDK. Thanks! -- *Michael Chmielewski* | Senior Release E

Re: Forcing 32-bit or 64-bit install of JDKs through Jenkins' auto-install

2012-09-13 Thread Mike Chmielewski
ttps://issues.jenkins-ci.org/browse/JENKINS-3963 > > > > *From:* jenkinsci-users@googlegroups.com [mailto: > jenkinsci-users@googlegroups.com] *On Behalf Of *Mike Chmielewski > *Sent:* 13 September 2012 17:08 > *To:* jenkinsci-users@googlegroups.com > *Subject:* Forcing 32-bi

Re: The result of the email template testing is different in different web browsers

2014-03-21 Thread Mike Bayliss
after email-ext. Mike On Thu, Mar 20, 2014 at 3:41 PM, Levski wrote: > Well, my email template is writtern in HTML format. > > When I reads the content of the HTML email body, I found that the page > contained > no failure cause, so it cannot be the email client's fault

Perforce-Plugin: How to use variables in the client/view spec?

2014-04-10 Thread Mike Craig
ducts/branch/v1.Main/... What I would like to do is use the Jenkins job name, or other variable, as such: //sait/VCI/products/branch/%JOB_NAME%/... //VMWIN2K801/VCI/products/branch/%JOB_NAME%/... Is this supported? Or am I doing it wrong? Thanks, Mike -- You received this message because you a

Re: Jenkins Plugin for Web.Config Replacement

2014-04-10 Thread Mike Craig
I use a batch process using this project: https://configgen.codeplex.com/ On Tuesday, April 8, 2014 10:40:09 AM UTC-7, award wrote: > > I apologize if this has already been discussed or resolved in advance; > however, I can't seem to find the answer i'm looking for. Maybe I'm not > asking it

Re: junit marks build as failed

2014-05-19 Thread Mike Bayliss
You could write a dummy file that just describes each test as skipped. That way your dummy results are actually accurate and won't mislead when compared againt other runs. Mike On Mon, May 19, 2014 at 1:18 PM, Mark Waite wrote: > You could search for a plugin which allows post-build ac

Re: How to use global parameters in a build that is part of a build pipeline

2014-06-04 Thread Mike Chmielewski
For Build Flows, I have passed in arbitrary variables not defined on a job in the flow, and they are picked up correctly. On Wed, Jun 4, 2014 at 12:42 PM, Eric Wood wrote: > I have several jenkins jobs that I want to use global variables. The only > way I have seen to do this is to parameteriz

Re: How to use global parameters in a build that is part of a build pipeline

2014-06-05 Thread Mike Chmielewski
ters. On Thu, Jun 5, 2014 at 10:13 AM, Eric Wood wrote: > Mike: > > Thanks for the reply. I'm not sure I follow the response. When you > mention Build Flows are you talking about build pipeline creating using the > build pipeline plugin? Also, who are you setting

Createing job through CLI

2014-07-02 Thread Mike Craig
LI Create command would do all of this. Thank you. Mike -- 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. For more options, visit https://groups.google.com/d/optout.

How to copy existing 'template' job to create new build job

2014-07-15 Thread Mike Craig
7;m all ears. Assumptions: A couple functions in the script take a parameter $JenkinsServer, which defaults to localhost, you will need to update as per your environment. Set these values as per your needs $ReleaseVersion = "v1.0" $ProjectToBuild = "MyNewProject" You have a &#

Re: How to copy existing 'template' job to create new build job

2014-07-16 Thread Mike Craig
For anyone interested, I followed my intuition and change the command that writes the config file back out to force UTF8 encoding. This fixed it. The updated file is attached. On Tuesday, July 15, 2014 11:43:20 AM UTC-7, Mike Craig wrote: > > Hello, > > I have previously used

warning about "reverse proxy set up is broken"

2014-08-11 Thread Mike Bayliss
stalled. Can I ignore this message or is there something I need to fix? (The link only talks about configuring tomcat or nginx.) Thanks, Mike -- You received this message because you are subscribed to the Google Groups "Jenkins Users" group. To unsubscribe from this group and stop

Re: warning about "reverse proxy set up is broken"

2014-08-11 Thread Mike Bayliss
Thanks - when I installed the new package I took the config file from the package intending to merge my changes later. That meant I ended up with an https URL in the config file, but Jenkins not using https. Mike On Mon, Aug 11, 2014 at 1:05 PM, Daniel Beck wrote: > This happens when

UI refresh

2014-08-15 Thread Mike Chmielewski
How close are the folks working on this to completeness? I've been holding off updating my system until the new UI is ready. How are people experiences on the latest release builds? -- *Michael Chmielewski** |* Practice Lead, Release Engineering *T* 617.478.9368

Looking for an approach to include the junit test results trend graph in an email sent out by the email-ext plugin

2014-09-11 Thread Mike K
ran into the problem that HTTPBuilder is not available in the pre-send script. Does anyone have a simpler approach? I'm not that familiar with Jenkins or Groovy, so I could have missed something in my attempts above. Any comments on them? Thanks in advance! -Mike -- You received this mes

Jenkins/GitHub integration

2014-09-12 Thread Mike Seda
sure how to leverage it at the moment. Please advise. Thanks, Mike -- 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...@google

Re: Build Failure Analyzer - Email Ext

2014-09-29 Thread Mike Bayliss
is called when the token is evaluated and the routine (I presume) needs to be called before the code fragment above. Unfortunately I've no time to investigate further since a higher priority task has landed in my in-tray. Mike On Mon, Sep 22, 2014 at 3:35 PM, Lukasz Wasylow wrote: >

Re: Build Failure Analyzer - Email Ext

2014-12-17 Thread Mike Bayliss
am. (But I'd still like to know how to trigger the scan from Jelly or Groovy so I could do this cleanly.) Mike On Mon, Sep 29, 2014 at 3:01 PM, Mike Bayliss wrote: > > This came up some time ago when this code sample was posted: > > > > xmlns:d=&quo

Git vulnerability

2014-12-23 Thread Mike Chmielewski
Github's announcement here: https://github.com/blog/1938-git-client-vulnerability-announced Since JGit is on the list as having made fixes, is there any ETA on when that will get into a Jenkins release? -- You received this message because you are subscribed to the Google Groups "Jenkins User

Re: Git vulnerability

2014-12-23 Thread Mike Chmielewski
ntPlugin-ChangeLog > > Thanks, > Mark Waite > > On Tue, Dec 23, 2014 at 7:40 AM, Mike Chmielewski > wrote: > >> Github's announcement here: >> https://github.com/blog/1938-git-client-vulnerability-announced >> >> Since JGit is on the list as having m

Re: A simple multi-configuration job question

2015-11-04 Thread Mike Healey
/display/JENKINS/Elastic+Axis). This allows you to specify a label common to all your slaves to run on, and to ignore running on any slaves which are offline so it is more robust in a system where slaves are added and removed and sometimes go offline. Hope this helps, -Mike -- You received this

Jenkins docker-workflow plugin - docker container killed prematurely while using ".inside"

2016-01-11 Thread Mike Wilkerson
n immediately exit. I created a simple dockerfile, based off of the *debian:7* image, and set the *ENTRYPOINT* to *["ping", "localhost"]*, just to have a process that would run indefinitely, even if docker-workflow supplied *cat* as the command to *docker run*. Unfortuna

Re: Jenkins docker-workflow plugin - docker container killed prematurely while using ".inside"

2016-01-12 Thread Mike Wilkerson
Slight correction—Looks like *cat* will keep the docker container running as long as the *-i* or *-t* flag is passed. On Monday, January 11, 2016 at 6:32:40 PM UTC-5, Mike Wilkerson wrote: > > Hi all— > > I'm trying to run steps inside a docker container via *.inside*, but th

Re: Slack Plugin doesn't notify channel

2016-01-13 Thread Mike Meluso
Yes I agree, it should be added to the instructions. I'm glad I found this thread or I would've given up. On Monday, March 30, 2015 at 4:31:34 PM UTC-4, Brantone wrote: > > Agreed would be handy ... even anything at this point since it's pretty > scarce. > It does seem slightly counter-intuitive

Email-ext pattern for two filetypes

2016-02-22 Thread Mike Ayers
re used in combination to get results like the one I seek? I have tried "**/report/*.html,**/report/*.png', '**/report/*.(html|png)', and many others without success. I expect that the former is on track, but don't know the correct format. Thanks! Mike -- You re

Re: Jenkins 2.0 alpha release available

2016-03-02 Thread Mike Bayliss
Is the Ubuntu package supposed to be available yet? The link just gives me: The requested URL /debian-rc/jenkins_2.0_all.deb was not found on this server. Mike On Tue, Mar 1, 2016 at 11:16 PM, Daniel Beck wrote: > > On 01.03.2016, at 15:59, kondarre...@gmail.com wrote: > > > I

Re: Jenkins 2.0 alpha release available

2016-03-02 Thread Mike Bayliss
OK - I've the debian/ubuntu package - it's at http://pkg.jenkins-ci.org/debian-rc/binary/jenkins_2.0_all.deb. The link needs correcting on the 2.0 landing page. Mike On Wed, Mar 2, 2016 at 2:59 PM, Mike Bayliss wrote: > Is the Ubuntu package supposed to be available yet? The li

Re: Jenkins 2.0: Turn off Setup wizard

2016-05-02 Thread Mike Albert
Anybody else have a workaround for this? I tried adding jenkins.install.UpgradeWizard.state and the groovy script to my install, but I'm still being prompted to unlock jenkins after the install. Version of my Jenkins install is below: http://pkg.jenkins-ci.org/redhat/jenkins-2.1-1.1.noarch.rp

Re: Jenkins 2.0: Turn off Setup wizard

2016-05-03 Thread Mike Albert
Adding a restart step to our Jenkins deployment script did the trick. The java option to disable the setup wizard is working as well. Thanks! On Monday, May 2, 2016 at 6:44:18 PM UTC-4, Daniel Beck wrote: > > > > On 03.05.2016, at 00:15, Richard Bywater > > wrote: > > > > @Daniel - FYI I can

Re: TCP Slave Agent Port Disabled by Default in 2.0?

2016-05-03 Thread Mike Albert
For anyone else who stumbles upon this post via a Google Search, Karl found a solution and it can be found in his repo below: https://github.com/karlmdavis/ansible-jenkins2 Thanks Karl! On Friday, April 8, 2016 at 5:41:29 PM UTC-4, Karl Davis wrote: > > Howdy all, > > As I mentioned in my last

pipeline post-action in Jenkinsfile ?

2016-05-05 Thread Mike Caspar
Hi there, I am converting a series of jobs to pipeline jobs. I am not having any luck in finding the post-action stage or finding a way to do this. a 'step' isn't appropriate to the situation (as it won't trigger on failed). If someone knows the answer to this, I would be happy to go over to

Re: pipeline post-action in Jenkinsfile ?

2016-05-05 Thread Mike Caspar
build status} } Thanks !! for your help.. If anything, an example of try/catch finally would be helpful. I would see what I could do to share back. Much appreciated. Mike Caspar On 2016-05-05 3:12 PM, Baptiste Mathus wrote: Hi, There's no such concept in pipeline. As Jesse explained

Re: pipeline post-action in Jenkinsfile ?

2016-05-05 Thread Mike Caspar
-05-05 3:24 PM, Mike Caspar wrote: Thanks. I like the try/catch/finally option if that would work. I have setup a Pipeline Organization to auto-import my Scripts. it sets up all the necessary repos to build each one. The problem occurs that I have no way to set the typical "email on su

Re: pipeline post-action in Jenkinsfile ?

2016-05-05 Thread Mike Caspar
ny thoughts are a good place to start. Mike Oh.. thanks again to Craig Rodrigues and Baptiste Mathus On 2016-05-05 3:38 PM, Craig Rodrigues wrote: Hi, Yes, in your pipeline script, you need to catch exceptions for what you want to do. Be careful, if the build fails, you w

v2 pipeline Deploy step only for branch master.?

2016-05-06 Thread Mike Caspar
In a multi-branch scenario, are there some examples anywhere of how to make sure the deploy happens only from the master branch? I am guessing I need to build an if statement of some sort in groovy to confirm which branch I am on? Thanks for any help. Mike -- You received this message

Re: pipeline post-action in Jenkinsfile ?

2016-05-06 Thread Mike Caspar
Thanks. That explains some of the weirdness I am having. Much appreciated. Mike On 16-05-06 07:56 AM, Antonio Muñiz wrote: Take special precautions about unexpected exceptions thrown inside the finally block. In that case script-security-plugin is not going to interpret approval requests

Re: pipeline post-action in Jenkinsfile ?

2016-05-07 Thread Mike Caspar
results into finally caused script access problems. Mike On 16-05-07 09:31 AM, Baptiste Mathus wrote: Le 5 mai 2016 9:47 PM, "Mike Caspar" <mailto:m...@caspar.com>> a écrit : > > Awesome. > > This worked great. > > I managed to simply wrap a try a

Pipeline Multi-branch different options based on branch

2016-05-12 Thread Mike Caspar
eniinsfile ? Is there a standard way to do this ? If not, I imagine I could only do Deploy if I'm on branch Master ? Thoughts on how to do either of these two options ? Mike -- You received this message because you are subscribed to the Google Groups "Jenkins Users" group.

Re: Pipeline Multi-branch different options based on branch

2016-05-13 Thread Mike Caspar
Looked for that option. Repos are automatically scanned for Jenkiinsfile, then added (with their branches) to my Jenkins instance. I can't find that option anywhere? Could you point me to where I might find it ? Sound like it might work. Mike On 16-05-12 09:57 PM, Richard Bywater

Re: Pipeline Multi-branch different options based on branch

2016-05-13 Thread Mike Caspar
Awesome. Thanks ! Mike On 16-05-13 09:21 AM, Nigel Magnay wrote: What we do is look at what the branch name is in the Jenkinsfile itself. I.E: if( branchName.equals("master") ) { // deployment steps } On Fri, May 13, 2016 at 12:24 AM, Mike Caspar mailto:mikecanbefo...@gmail.c

Email a build notification to the BitBucket user who pushed a branch

2016-06-01 Thread Mike Lehan
I spent a long time searching for a way to have Jenkins email whichever user pushed a branch (on BitBucket) with the notification of how the build for that branch progressed. I wasn't able to find anything so wrote my own solution and documented it on Stack Overflow. http://stackoverflow.com/qu

Re: Email a build notification to the BitBucket user who pushed a branch

2016-06-01 Thread Mike Lehan
Sadly not; the developers list will email everyone with a commit made in the current branch. Thus if the developer has recently merged in master and then pushes, everyone who committed into the most recent diff between their working copy and master will receive an email, when they don't care bec

PermGen errors on master and slave

2016-06-14 Thread Mike Emett
immediately after starting a build; 13:53:01 Building remotely on slavemach (linux) in workspace /home/Mike/workspace/MadiToNet 13:53:01 java.io.IOException: remote file operation failed: /home/Mike/workspace/MadiToNet at hudson.remoting.Channel@6e2f66:slavemach: java.io.IOException: Remote call

getting only an NPE when building a Jenkinsfile job, how to debug?

2016-06-16 Thread Mike Rooney
Hello there! We're using Jenkins 2.9 with the Bitbucket Branch Source Plugin 1.5. It picks up on a branch with a Jenkinsfile which is neat, but the only build output we get is: Started by user m a java.lang.NullPointerException at org.eclipse.jgit.lib.ObjectId.fromString(ObjectId.java:23

Jenkins Pipeline Job sthrowing Error code 126 when trying to execute a sh command

2016-06-20 Thread Mike Chmielewski
Hi all! I have been banging my head on this for a while, and now hope the greater community can help me out. I am starting out with workflows, and almost immediately hit a snag. I have the following setup: Jenkins 2.7 on: - CentOS 6.7 master - CentOS 7.1 on agents - Pipeline 2.1 I have the

Re: Jenkins Pipeline Job sthrowing Error code 126 when trying to execute a sh command

2016-06-20 Thread Mike Chmielewski
uot;Shell executable" setting in the main configuration page > (Manage Jenkins->Configure System). I have the shell executable set as > "bash". Do you have the same? > > Eric > > On 6/20/2016 2:21 PM, Mike Chmielewski wrote: > > Hi all! > > I have

Re: Jenkins Pipeline Job sthrowing Error code 126 when trying to execute a sh command

2016-06-20 Thread Mike Chmielewski
Eric, I removed the "bash" and left the setting blank, and my job worked! Thanks for the lead! On Monday, June 20, 2016 at 3:25:51 PM UTC-4, Mike Chmielewski wrote: > > Eric, I do! I will try making that explicit and let the thread know what > the situation. > > Craig

Re: Jenkins Pipeline Job sthrowing Error code 126 when trying to execute a sh command

2016-06-21 Thread Mike Chmielewski
ng and rebuilding the > Durable Task plugin? > You could temporarily comment out the code that removes the script.sh and > see what is going on. > > I had to do that before to debug problems with the durable task plugin. > > -- > Craig > > > On Mon, Jun 20, 2016

Re: New Free Monitoring & Alerting tool for Jenkins

2016-06-22 Thread Mike Bayliss
And less than a day after watching the video I get a LinkedIn contact request from somebody I don't know at ALMtoolbox. Mike On Tue, Jun 21, 2016 at 1:48 PM, David Cohen wrote: > Hello to all Jenkins folks, > > I'd like to inform you that for the first time, we now provide

Re: JDK Installer Groovy script

2016-06-27 Thread Mike Albert
Did you ever find a solution for this? I'm trying to automate the JDK installations for a new jenkins server. Thanks. On Friday, April 29, 2016 at 11:03:50 AM UTC-4, Stijn Diependaele wrote: > > Dear, > > I'm trying to write a groovy script which manages the JDK installs. > > The code below wo

Re: Ubuntu Stable repository contains v2.7

2016-07-07 Thread Mike Healey
We have noticed this and discovered that yesterday was scheduled to be the first 2.x LTS release according to https://jenkins.io/content/event-calendar/ It looks like this may have happened prematurely because the website was not updated and there has been no announcement. I'm certainly curi

Re: Multiple pipelines in Jenkinsfile

2016-07-12 Thread Mike Rooney
This need makes a lot of sense to us, where we have a couple related sub-projects (as sub directories) in a single repository. It makes sense that they each have their own pipeline jobs and can run on different schedules. I've also seen cases similar to Alex's (hi Alex!) where there are differe

Rest API access to flowGraphTable

2017-11-28 Thread Mike Nicholson
aphTable output. Is there any api access to the data behind the flowGraphTable? Regards, Mike -- 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

Re: Problems with Slave Setup Plugin

2018-01-29 Thread Mike Sinn
I had this problem and creating a new node and deleting the old one magically fixed it somehow. On Monday, January 19, 2015 at 5:50:56 PM UTC-6, jhavero wrote: > > I'm using Amazon EC2 plugin to spin up my slave and the Slave Setup Plugin > to run some pre-launch scripts. > For the pre-launch sc

Pipeline: How to modify Build History status monitor

2019-02-27 Thread Mike Craig
n that run. [image: build history.png] Thank you, Mike -- 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 vie

Re: Pipeline: How to modify Build History status monitor

2019-02-28 Thread Mike Craig
Perfect, thank you for the reference! Having a "how-to" question, and mapping that to a documentation section is the hardest part for me. :) On Wed, Feb 27, 2019 at 10:55 PM Andreas Magnusson < andreas.ch.magnus...@gmail.com> wrote: > Not quite sure what you want to do, but we modify currentBuild

Re: Pipeline: How to modify Build History status monitor

2019-02-28 Thread Mike Craig
Thank you! On Thu, Feb 28, 2019 at 9:48 AM Simon Bayer wrote: > Hi Mike, u could use the object 'currentbuild' to modify the job > description. Its available in declarative pipeline builds (e.g. with > multiproject pipeline plugin). Furthermore the build status can be set.

Need to re-initialise group assignment in EC2 slave to allow Docker to work.

2017-03-18 Thread Mike S
Hi all, I'm testing out a pipeline build in Jenkins using the AWS EC2 plugin. Via the plugin, a build will spin up an EC2 instance and run my init script, which you will find detailed in the Gist below: https://gist.github.com/bsodmike/7033ffeab2383599bb38a2bcf263aba4 The init script adds the

Re: Multiple pipelines in Jenkinsfile

2017-03-24 Thread Mike Rooney
I have not found a solution yet but I'd love to know if there is one. Current best practice seems to be to have a Jenkinsfile which triggers Job DSL to process DSL files located in a subdirectory, so at least they are all organized in your repo and Jenkinsfile serves as the single point of entry. Y

Show future, but not implemented, stages

2017-07-12 Thread Mike Loll
I'd like to show future stages in my pipeline as to be done, or some sort of status that indicates that in the future these will be enabled. So a build might have stages 1 2 3 4 5 defined in the pipeline but only stages 1, 2, and 3 actually do anything and determine the status of the build pass

Jenkins Job Builder - one template with different params

2017-07-20 Thread Mike Giles
About 48 hours new to yaml and JJB as we migrate from Hudson to Jenkins and have thousands of jobs to move (hence trying to find a better way to manage them). In one case we have 4 sets of jobs (about 20 each) that have very similar options except for some of the params. For the other jenkins

Re: Jenkins Job Builder - one template with different params

2017-08-04 Thread Mike Giles
I did get this one part working. Turns out I just needed to quote the value in defaults and in the num-to-keep area. Still unable to figure out the templating of nested param values. On Thursday, July 20, 2017 at 4:35:41 PM UTC-4, Mike Giles wrote: > > > P.S. Bonus points for an

Jenkins declarative pipeline dynamic paramters

2017-08-29 Thread Mike Zupan
I have a use case where we need to list environments to run a pipeline over and we have multiple jenkins servers that handle different environments. jenkins1 handles dev1 dev2 dev3 jenkins2 handles prod1 prod2 prod3 I want to be able to setup a pipeline that sources different envs and shows th

Scripted Pipeline unique credential variables per environment

2017-09-21 Thread Mike Zupan
So I'm trying to use withCredentials() with unique variables and looking for the best way. I have the following password that is unique per region which we call clients client1 = foo client2 = bar client3 = baz So i have a script that might look like sh "./deploy -password " For one region

Mercurial configuration on agent being ignored.

2017-09-22 Thread Mike Bayliss
h the polls). Java is version 8, mercurial is still at 2.0.2 (to avoid complaints from our Kiln server). Any idea what's happened and what I need to do to get rid of the aborts? (I can work around the largefiles problem by enabling the extension in the repository, but that's not going to

Re: Mercurial configuration on agent being ignored.

2017-09-22 Thread Mike Bayliss
Just let me correct the version numbers - 2.60.1 is OK, the problem appears at 2.60.2 Mike On Fri, Sep 22, 2017 at 11:15 AM, Mike Bayliss wrote: > I've just upgraded my master (ubuntu 16.04) from version 2.60.2 to 2.60.3 > and mercurial polling has just started to fail. > >

git included/excluded regions not working with pipeline jobs

2016-07-21 Thread Mike Rooney
Hello there! We've got some Pipeline jobs that are using "Polling ignores commits in certain paths", plus the required "Force polling using workspace" option. It looks like we've got this set up correctly based on documentation and seeing this in the polling log: "Ignored commit 742b406b1d31bc

Re: Multiple pipelines in Jenkinsfile

2016-07-21 Thread Mike Rooney
On Thu, Jul 21, 2016 at 11:42 AM, alex kessinger wrote: > I've tried the seed job-dsl method previously. Some automation was better > then no automation, but I think the Jenkinsfile in repo is even better. If > I make a change to the Jenkinsfile, that change can be isolated in each > environment/

Re: git included/excluded regions not working with pipeline jobs

2016-07-22 Thread Mike Rooney
. > > https://issues.jenkins-ci.org/browse/JENKINS-36836 > > Mark Waite > > On Thu, Jul 21, 2016 at 2:16 PM Mike Rooney wrote: > >> Hello there! >> >> We've got some Pipeline jobs that are using "Polling ignores commits in >> certain paths", plus t

  1   2   >