Re: Change the timezone

2013-06-24 Thread Owen B. Mehegan
If I remember right, quoting matters here. This java arg works for us: -Dorg.apache.commons.jelly.tags.fmt.timeZone='America/Los_Angeles' Note single quotes around America/Los_Angeles. And also an underscore. On Sunday, June 23, 2013 7:38:31 PM UTC-7, C. Benson Manica wrote: > > I'm running Jenk

Re: Help with timezone on Debian - all builds are shown in UTC

2013-08-14 Thread Owen B. Mehegan
This has been working for me for a long time: java -Dorg.apache.commons.jelly.tags.fmt.timeZone=America/Los_Angeles -jar jenkins.war Looks like you tried that though. After making the change, double check the "Page generated" timestamp at the bottom of any Jenkins page and see what that shows.

Re: Help with timezone on Debian - all builds are shown in UTC

2013-08-14 Thread Owen B. Mehegan
> > Page generated: Aug 14, 2013 7:14:48 PM > > $ date > Wed Aug 14 15:15:23 EDT 2013 > > -Pete > > On Aug 14, 2013, at 3:08 PM, Owen B. Mehegan > > > wrote: > > This has been working for me for a long time: > > java -Dorg.apache.commons.jelly.tags.fmt.t

Re: Help with timezone on Debian - all builds are shown in UTC

2013-08-14 Thread Owen B. Mehegan
this: > > Page generated: Aug 14, 2013 3:48:21 PM > > That did it! Thank you! > > I think it's worth updating the wiki with this information because doing > it as stated in the wiki doesn't work. > > -Pete > > On Aug 14, 2013, at 3:43 PM, Owen B. Mehegan

Re: Executing on multiple slaves in a single job

2013-08-16 Thread Owen B. Mehegan
This sounds like an ideal use case for matrix/multi-configuration jobs. Just create a matrix job, use the slave labels as your configuration axes (check all the slaves you want this to run on), and follow your nose. Since I suspect you will need to perform slightly different actions for the Win

Re: Executing on multiple slaves in a single job

2013-08-16 Thread Owen B. Mehegan
I should mention that you can't convert between job types, so you would need to create NEW multi-configuration jobs and transfer your build logic over to them. On Friday, August 16, 2013 10:40:15 AM UTC-7, Owen B. Mehegan wrote: > > This sounds like an ideal use case for m

Re: Child job finishes with "SUCCESS" status even before copy-to-plugin finishes copying files from slave to master

2013-08-26 Thread Owen B. Mehegan
I have noticed this too, and it causes me some headaches in my use of that plugin. I filed this bug, but it has not gotten any attention: https://issues.jenkins-ci.org/browse/JENKINS-16818 Paging Romain Seguy! On Sunday, August 25, 2013 11:36:40 PM UTC-7, Vivek wrote: > > Hi, > > I am facing pr

Re: Loading the list of choices from file or database

2013-08-29 Thread Owen B. Mehegan
Try the Extended Choice Parameter plugin: https://wiki.jenkins-ci.org/display/JENKINS/Extended+Choice+Parameter+plugin On Wednesday, August 28, 2013 1:15:25 AM UTC-7, M PolaƄski wrote: > > When I have a parameterized build, how can I load the choice list for the > choice parameter from a file o

Re: Reading HTTP request body from triggered parameterized job

2013-09-22 Thread Owen B. Mehegan
Did you try the gitlab Jenkins plugin? -- 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 ht

Re: TFS + Jenkins

2013-09-24 Thread Owen B. Mehegan
If someone knows the answer, they will probably provide it. Please don't keep sending these one-line replies, especially only 1-2 hours after your first post. You've already been asked not to do that. Try asking in the #jenkins IRC channel on irc.freenode.org. On Monday, September 23, 2013 2:23

Re: Reading HTTP request body from triggered parameterized job

2013-09-24 Thread Owen B. Mehegan
, September 23, 2013 7:21:48 PM UTC-7, Alex Kira wrote: > > I saw it, but wasn't sure if it was configurable enough for my use case > since it just kicks off all associated builds. I will take a look at it > again though. > > Thanks.. > > > On Sun, Sep 22,

Re: Matrix build questions

2013-10-27 Thread Owen B. Mehegan
Matrix builds are special. I use them heavily so I'll try to explain - someone else may be able to do a better job. Matrix builds perform a small set of actions on the master (or in the master workspace), and this is called the flyweight build. I'm always a little bit vague on where the line is

Re: Hyperlink in Excel to build a Jenkins job

2013-10-29 Thread Owen B. Mehegan
You can trigger a build with a GET. Under Build Triggers, check "Trigger builds remotely" and enter some string as a token. Then hit a URL like this: http://your-jenkins-server:8080/job/SOME_JOB/build?token=TOKEN_STRING Or http://your-jenkins-server:8080/job/SOME_JOB/buildWithParameters?token=T

Re: How do you deploy web apps with Jenkins?

2013-11-20 Thread Owen B. Mehegan
We use Puppet and Mcollective to deploy the 30-40 components of our distributed architecture, with all code wrapped in a common packaging format (something we rolled in-house for our specific use case). Here's a quick overview of how it works: Puppet has a concept of "facts" about each host,

Suggestions for advanced git/jenkins build integration

2013-05-21 Thread Owen B. Mehegan
My team has 30+ git repos, which all use the same post-receive hook to trigger Jenkins build jobs when people push a commit to the 'master' branch (the hook maintains a mapping of repo -> Jenkins job). Work done in any other branch does not trigger a build automatically, but developers can buil

Need a way to pass parameter to slave builds in a matrix job

2012-07-17 Thread Owen B. Mehegan
Historically, we have used Jenkins to build and package about 35 projects, all on Debian Lenny 32 bit. We are now in the process of migrating to Ubuntu Precise 64 bit systems, and we have a need to build some of our projects on both of these architectures during the transition phase. A perfect

Re: Need a way to pass parameter to slave builds in a matrix job

2012-07-17 Thread Owen B. Mehegan
build when it is run. Then it's available for all the slaves, and my build code does the right thing thereafter. On Tuesday, July 17, 2012 2:17:34 PM UTC-7, Owen B. Mehegan wrote: > > Historically, we have used Jenkins to build and package about 35 projects, > all on Debian Lenny

Looking for tips for profiling CPU and memory use of jobs

2014-03-19 Thread Owen B. Mehegan
I need to add slaves to my Jenkins installation (all Linux), but I realized that I really don't know how to spec and configure them for my use case. I have about 40 jobs that run one or more times per day, as well as 10-20 more jobs that run at least weekly. I don't really know if any given job

Re: Different platforms in NUnit in the same job

2014-05-28 Thread Owen B. Mehegan
What you want to do is have two Jenkins slaves, one 32 and one 64 bit. Give the slaves labels to that effect. Then create one Jenkins job, and choose the "multi-configuration" project type (also referred to as a matrix job). In that job's configuration you will see a section called Configuration

Re: a new release of Gitlab Merge Request Builder Plugin ?

2016-06-01 Thread Owen B. Mehegan
I'm one of the maintainers of the GitLab plugin (https://github.com/jenkinsci/gitlab-plugin). It has recently undergone a major rewrite, and a group of us are continuing to actively develop it, having taken over from the original author. The GitLab MR Builder plugin is not actively maintained;

Pitfalls of upgrading from 1.642.4 to 2.46.2?

2017-05-10 Thread Owen B. Mehegan
I have been given the unenviable task of mapping out a process for upgrading from Jenkins 1.642.4 to the latest LTS (currently 2.46.2). If I had to do this blind and unsupported, I'd start by creating a sandbox Jenkins with a clone of our existing jobs, plugin, and configuration, then drop the

Moving PIpeline global libraries to external SCM

2017-02-27 Thread Owen B. Mehegan
I've been using Pipeline global libraries since their inception, storing them in the built-in Git server within Jenkins. It's about time that I moved them into my company's regular Git repo, where others can collaborate on them more easily. What's the right way to do this? Seems like I should c

FYI: Google Apps SSO no longer supported in Jenkins OpenID plugin

2015-03-06 Thread Owen B. Mehegan
Last year, Google announced that they will be shutting down their OpenID 2.0 authentication endpoint in April of 2015. This will break the Google Apps SSO feature of the Jenkins OpenID plugin. If you are currently using that feature, you should switch to using the new Google Login plugin instea

Can Jenkins redirect HTTP requests to HTTPS?

2015-03-06 Thread Owen B. Mehegan
I'm running Jenkins 1.596.1 on Linux, using the built-in Jetty server. I have it serving HTTP and HTTPS successfully, and now I'm trying to figure out a way to redirect all HTTP requests to HTTPS. I've searched for Jetty-specific ways to do this, but the answers I've found don't really mesh wit

Re: Can Jenkins redirect HTTP requests to HTTPS?

2015-03-06 Thread Owen B. Mehegan
I guess the native Jenkins server is Winstone, not Jetty, and it doesn't look like there's a way to do this there. It's sounding like I will need an nginx redirect. On Friday, March 6, 2015 at 3:46:35 PM UTC-8, Owen B. Mehegan wrote: > > I'm running Jenkins 1.596.1 on

Re: workflow plugin -- dynamically select specifc slave nodes in for loop

2015-07-13 Thread Owen B. Mehegan
I'm trying to accomplish basically the same thing - I have identical steps that I want to run on >1 slave, in parallel. Is there any other succinct way to write this? Right now I am duplicating everything for each slave, which should offend anyone's sense of programming decency :) Being able to

Re: workflow plugin -- dynamically select specifc slave nodes in for loop

2015-07-14 Thread Owen B. Mehegan
[node_name] = { /* stuff to do in parallel */ } >> >> } >> parallel parTask >> >> >> On Monday, July 13, 2015 at 5:02:01 PM UTC-7, Owen B. Mehegan wrote: >>> >>> I'm trying to accomplish basically the same thing - I have identical >&