RE: Unable to schedule paralell builds using build flow dsl (java.util.ArrayList in place of set of closures)

2015-10-26 Thread Rob Mandeville
I think your problem is no bigger than a typo. It’s “parallel”, not “paralell”. The double-L is at the middle, not the end. --Rob From: jenkinsci-users@googlegroups.com [mailto:jenkinsci-users@googlegroups.com] On Behalf Of Jakub Gladykowski Sent: Monday, October 26, 2015 10:23 AM To:

RE: Initiate script/email BEFORE SCM polling

2015-09-29 Thread Rob Mandeville
An alternate way of handling this is to stop polling. Or rather, poll explicitly. Have a job which runs every n minutes/hours and does the following: 1: Pull the latest version 2: Check it against a version file in the workspace (never clean the workspace) 3: If the latest version is the same

Bash and hard-bracket tests

2015-08-25 Thread Rob Mandeville
this as a build, the SHELL environment variable is /bin/bash Why does running a shell step without a shebang behave differently than it does with a #!/bin/bash -ex shebang? Exactly what is being run without a shebang? Thanks in advance, --Rob Mandeville Deka Research and Development

RE: Bash and hard-bracket tests

2015-08-25 Thread Rob Mandeville
@googlegroups.com [mailto:jenkinsci-users@googlegroups.com] On Behalf Of Dirk Heinrichs Sent: Tuesday, August 25, 2015 9:59 AM To: jenkinsci-users@googlegroups.com Subject: Re: Bash and hard-bracket tests Am 25.08.2015 um 15:51 schrieb Rob Mandeville: Why does running a shell step without a shebang behave

Better Logging for Jenkins Shutdown

2015-05-27 Thread Rob Mandeville
My Jenkins server went down last night, and the log showed no signs of trouble. I am running: Jenkins 1.565.1.LTS on its own Winstone server on Java HotSpot 64 bit 1.8.0_25-b17 on Ubuntu 13.03 Saucy Salamander (yes, I know it's out of date) on a vSphere VM. The log entries ended at 5:20

RE: Better Logging for Jenkins Shutdown

2015-05-27 Thread Rob Mandeville
Subject: Re: Better Logging for Jenkins Shutdown Check the system logs. Too large of an Xmx may have Linux kill off your process (oom-killer). On 27.05.2015, at 15:09, Rob Mandeville rmandevi...@dekaresearch.com wrote: My Jenkins server went down last night, and the log showed no signs

RE: old war file deploying

2015-02-12 Thread Rob Mandeville
Nope, nobody here can help you. We’ve got nothing to go on :*) What sort of a job are you running? May we see some logs? How does it choose which WAR file to deploy, and even where are they coming from? Why are you expecting a newer WAR file than Jenkins is giving you? With some more

RE: Slave Node associate to IP or User

2015-02-09 Thread Rob Mandeville
I’m not sure what you mean. Are you saying that you want user ‘fred’ to be confined to the Jenkins slave on his own personal system? That wouldn’t be a Jenkins farm. --Rob From: jenkinsci-users@googlegroups.com [mailto:jenkinsci-users@googlegroups.com] On Behalf Of uzqates...@gmail.com

Git Credentials on Workflow Plugin

2015-01-27 Thread Rob Mandeville
I am using: * Jenkins 1.580.2 * GIT client plugin 1.15.0 * GIT plugin 2.3.4 * Workflow plugins 1.1 * Credentials plugin 1.22 We use GitLab for source control and do not allow anonymous access of any kind. We use the Credentials plugin, have put in

RE: Schedule large numbers of building jobs - perfromance issue

2015-01-20 Thread Rob Mandeville
Are you talking about 200-1000 jobs configured, or running simultaneously? Clients feed log data and artifacts to the Jenkins server in real time. If you’re running hundreds of these simultaneously, you are using tons of threads, tons of RAM for buffers, and tons of disk revolutions. At this

RE: Upcoming Mastering continuous integration with Jenkins - 28-29th January

2015-01-20 Thread Rob Mandeville
On the one hand, this is the sort of commercial-ish message we want to see on these boards, as opposed to the storm of recruiting spam we’ve been weathering lately. On the other hand, the page doesn’t load; it complains that it can’t connect to MySQL. Marián, you may want to have someone look

RE: Variable from shell script to Jenkins job

2015-01-16 Thread Rob Mandeville
In the technique below, the echo lines are run on the remote (slave node). The “Inject environment variables” step works on the slave node and reads any files it needs from there, not the server. Also, this technique was built to allow one shell step to calculate the values of environment

RE: Jenkins - Baby steps

2015-01-16 Thread Rob Mandeville
The beauty of Jenkins is that a single installation can run on multiple hosts. That’s what slave nodes are for. Rather than cross-compiling, just put together a Linux machine with GCC, and build your Linux binaries there. Here’s what you do. First off, I’m assuming that you have a job like

RE: Very urgent:: data modeler

2015-01-12 Thread Rob Mandeville
If enough people hit the ‘report message as spam’ button at the bottom, will Googlegroups ban this bozo? --Rob From: jenkinsci-users@googlegroups.com [mailto:jenkinsci-users@googlegroups.com] On Behalf Of hitesh sharma Sent: Monday, January 12, 2015 4:22 PM To: xrec...@googlegroups.com;

RE: Git based builds; one commit at a time

2014-12-31 Thread Rob Mandeville
It can be (mostly) done, but you are intentionally defeating a Jenkins feature and you need to take that into account. When a job is monitoring a Git repository, there are two problems. First off, by default it polls. If two commits get in within the same poll interval, you’re getting both.

RE: Run number of parameterized jobs based on property files

2014-12-15 Thread Rob Mandeville
Look at the Job DSL Plugin. If all these jobs can be started at the same time (even if they have to queue up for lack of executors), I would have a job connected to that git repository and set on a schedule. The job would read all the files into some data structure, then use Build Flow or

Build Pipeline Plugin, Ball Color, and Unused Steps

2014-12-12 Thread Rob Mandeville
I auto-generate a bunch of build jobs and build pipeline views with the Job Generator plugin and the Job DSL plugin. My jobs use the Conditional Build Step plugin and can launch sub-jobs depending on runtime conditions. For instance, if we find a smoke test defined in the source at runtime,

RE: What steps should I take to diagnose why output does not appear in Jenkins's Console Output immediately?

2014-12-03 Thread Rob Mandeville
I’m guessing that, if you run your command from the command line, you get your output more quickly than you do when you run it in Jenkins. One possibility is that the program writing the log can tell whether it’s writing to a TTY or not, and changes its behavior accordingly. Often, this means

Auto-generating a complex view setup

2014-11-25 Thread Rob Mandeville
I have a matrix of n projects building on m branches, and I am putting together pipelines for each one. That is, there are a set of jobs of the form regression tests for branch FOO of project BAR. I have a JSON file showing the list of branches, projects, and their configurations. With that,

RE: Last Success shows unexpected time

2014-11-20 Thread Rob Mandeville
Start time is more important, as it tells you which version of the source code it built and tested. It tells you that the code that was in SCM five minutes ago is good. It has no clue if the code in SCM right now can even compile. --Rob From: jenkinsci-users@googlegroups.com

RE: multi-scm plugin and wanting only some repos to trigger builds

2014-11-14 Thread Rob Mandeville
I don't think that the SCM trigger has the functionality you seek, but I could be wrong. Consider a trigger job. Write a job that only polls the one SCM that you want to watch, and has one task: trigger the multi-SCM job. --Rob -Original Message- From:

RE: Master Slave - Jenkins

2014-11-12 Thread Rob Mandeville
There is one master “slave” node, but you can set the number of executors on it like any other. I set up one slave node for each SUT, each node with one executor, and have that node run the tests. Anything that is done to the SUT must be done through the node, so Jenkins naturally prevents

RE: Specs for new Master server

2014-11-12 Thread Rob Mandeville
If you move most/all of the actual jobs off to slave nodes on other machines, then the Jenkins server host needs to: · Interact with the user (minimal hardware requirements if your users don’t use auto-refresh; auto-refresh could greatly increase CPU needs) · Retrieve data,

RE: Specs for new Master server

2014-11-12 Thread Rob Mandeville
the JVM settings first--adding 64GB to your host won't help if Java is only taking 4GB of it. --Rob -Original Message- From: Les Mikesell [mailto:lesmikes...@gmail.com] Sent: Wednesday, November 12, 2014 12:12 PM To: jenkinsci-users Cc: Rob Mandeville Subject: Re: Specs for new Master server

RE: how to run all jobs in parallel using build flow plugin which are stored in string array

2014-11-11 Thread Rob Mandeville
I’ve dealt with this problem. You generate a list of closures, and then run the list through parallel. I’ve changed the constants to protect my employer, but the code goes like this: Jobs_to_build = [ ‘foo’, ‘bar’, ‘baz’, ‘xyzzy’] jobs_to_build.each { String job_name - a_closure = { -

RE: Groovy script to do jenkins configuration

2014-11-10 Thread Rob Mandeville
plugin. This will allow easier storage of your Groovy configuration scripts, and easier execution of them within a Jenkins job. Hope this helps! --Rob Mandeville From: jenkinsci-users@googlegroups.com [mailto:jenkinsci-users@googlegroups.com] On Behalf Of Ankush Aggarwal Sent: Monday

RE: Groovy script to do jenkins configuration

2014-11-10 Thread Rob Mandeville
Sorry, I don’t know how to help you more there. --Rob From: jenkinsci-users@googlegroups.com [mailto:jenkinsci-users@googlegroups.com] On Behalf Of Ankush Aggarwal Sent: Monday, November 10, 2014 9:05 AM To: jenkinsci-users@googlegroups.com Cc: Rob Mandeville Subject: Re: Groovy script to do

RE: I am a jenkin user would like post few queries

2014-11-06 Thread Rob Mandeville
You posted to the group rather than to the subscriber. The subscriber address is jenkinsci-users+subscr...@googlegroups.commailto:jenkinsci-users+subscr...@googlegroups.com. On the other hand, as you did post to the group, it looks like you’re already a member. --Rob From:

RE: Unable to successfully start a JBOSS service using Publish over SSH

2014-11-04 Thread Rob Mandeville
I’m not sure if this is relevant, but it may be worth looking at. The slave considers the job complete when the process exits _and_ STDOUT and STDERR have been closed off. Since the “service” program is launching JBoss, it may do something stupid like leave stderr open, so that if the server

RE: batch file is not an internal or external is not recognized as internal or external command

2014-10-09 Thread Rob Mandeville
How do you set the Windows path? If you’re not setting it in the job itself, consider it suspect. The PATH you get if you’re using the master node is the PATH that Jenkins launches with (is it set up as a service?). If you’re using a slave node, you get the PATH that the slave launches with.

Parametrically creating Build Flow jobs

2014-08-25 Thread Rob Mandeville
I'm working on a system with n projects and m branches on each, so I want nXm build chains of jobs. I've already grabbed the Job Generator plugin and used that and a Build Flow job to generate sets of free-style jobs, and that works fine. But now I want to wrap each build chain in its own

RE: Large scale Jenkins installation : Help!

2014-08-19 Thread Rob Mandeville
I used to run a system with about as many executors, but all in one server room. First off, is there a good reason to run the slaves on a WAN? I understand that your users are spread throughout Europe, but why should your builds be? Users generally only need to talk to the Jenkins server, not

Fighting the Screensaver

2014-08-18 Thread Rob Mandeville
Our QA team is using the TestComplete GUI testing software to test our web applications. TestComplete drives a Windows console session, effectively emulating mouse and keyboard, to test how a given browser responds to our code. The problem that we've been having is that there is a

RE: Top 5 mistakes RD managers make when managing open source usage

2014-08-14 Thread Rob Mandeville
I think that it’s both off-topic and marketing a service. Neither are appropriate for this mailing list. --Rob From: jenkinsci-users@googlegroups.com [mailto:jenkinsci-users@googlegroups.com] On Behalf Of patricia.john...@whitesourcesoftware.com Sent: Thursday, August 14, 2014 6:25 AM To:

RE: False positive on Jenkins builds. How to address.

2014-08-08 Thread Rob Mandeville
Ugh, intermittent test failures. I lived in that jungle for years. In a previous life, my company used Jenkins to drive a complete homebrew solution. We wrote a tool to parse the log and write to database, wrote a webapp to read the database and let you know what failed, even wrote a tool to

RE: Could not load program curl

2014-08-04 Thread Rob Mandeville
If you’ve checked on the server, are you sure that the job is running on the server? If the job ran on a slave node running on another machine, you have to check the machine that the slave node is running on. --Rob From: jenkinsci-users@googlegroups.com

RE: Any upper limit on slaves?

2014-07-29 Thread Rob Mandeville
I have personally run about 350 one-executor slaves (each slave represented a unique resource). The hardware was reasonably beefy, at least 128 GB RAM and 1TB storage, and the Jenkins server ran a bunch of other services as well. The limiting factor appeared to be disk I/O; remember that all

RE: Can i revert back the commit in git if the build fails in jenkins or bamboo?

2014-07-21 Thread Rob Mandeville
Maybe you can go about it the other way around. If you haves branch called “r1.0” that you want to protect, don’t let users merge to “r1.0”. Instead, have them merge to “r1.0_candidate”. Put a build job on that, and let it promote from “r1.0_candiate” to “r1.0” if the tests pass. --Rob

RE: How do I stay logged into multiple Jenkins servers

2014-07-18 Thread Rob Mandeville
. On Friday, July 18, 2014, Rob Mandeville rmandevi...@dekaresearch.commailto:rmandevi...@dekaresearch.com wrote: I have two Jenkins servers: one for prime time use (my production environment; my customers’ development environment) and another for my own mad science development. Both are currently

How do I stay logged into multiple Jenkins servers

2014-07-17 Thread Rob Mandeville
I have two Jenkins servers: one for prime time use (my production environment; my customers' development environment) and another for my own mad science development. Both are currently on the same Linux machine and running out of Winstone, but both aspects of that are negotiable. The fact

RE: Java API to get the view name

2014-07-16 Thread Rob Mandeville
Not likely, as there is no view name for a job. It’s an N:M relationship between jobs and views: a view can have any number of jobs, and a job can have any number of views. I suspect that jobs don’t “know” what view they’re in. --Rob From: jenkinsci-users@googlegroups.com

RE: Jenkins setup question

2014-07-14 Thread Rob Mandeville
Obligatory link to Jenkins doc: https://wiki.jenkins-ci.org/display/JENKINS/Distributed+builds. This sounds fairly straightforward for Jenkins. A Jenkins server can have any number of slave agents attached to it (I’ve personally run a server with 300+ agents and there are bigger ones out

RE: Jenkins, BitBucket and MatLab on Ubuntu

2014-07-08 Thread Rob Mandeville
You’ll want to go through the documentation at http://jenkins-ci.org/, clearly. I’m assuming that you have BitBucket and MatLab (two technologies that I am unfamiliar with) on a Ubuntu box. I’m also assuming that you know BitBucket, MatLab, and Ubuntu. Frankly, I’m not sure what TAP is, so I

RE: Jenkins, BitBucket and MatLab on Ubuntu

2014-07-08 Thread Rob Mandeville
, but would you by any chance have any educated guesses on how this script should look like? ​ kl. 14:34:08 UTC+2 tirsdag 8. juli 2014 skrev Rob Mandeville følgende: You’ll want to go through the documentation at http://jenkins-ci.org/, clearly. I’m assuming that you have BitBucket and MatLab (two

RE: Want to build Jenkins job every after 15 seconds

2014-07-02 Thread Rob Mandeville
Right, so you have a good reason to launch every 15 seconds from Jenkins. Presumably, you want to use the Performance Pluginhttps://wiki.jenkins-ci.org/display/JENKINS/Performance+Plugin, and want it to run every 15 seconds. So build your Jmeter job, adding a “Trigger builds remotely (e.g.,

RE: Get build duration using post-build Groovy script

2014-07-02 Thread Rob Mandeville
Install the EnvInject plugin (https://wiki.jenkins-ci.org/display/JENKINS/EnvInject+Plugin). In your job, make your first step get the current time in the format you prefer and write that out to a file called times.properties. Here is how in Linux: touch times.properties # create the file

Can Jenkins forget passwords?

2014-07-01 Thread Rob Mandeville
I'm trying to implement a job that requires each user to enter their own credentials. There is a password parameter, which is all well and good. But if I remember correctly, the Rebuild Plugin allows you to rerun builds with password parameters. This means that Jenkins remembers the password

OWASP Dependency Check plugin DOA?

2014-06-26 Thread Rob Mandeville
When I am configuring a project and attempt to add a build step, one of the choices is Invoke OWASP Dependency-Check analysis. When I select it, I do not get a new build step; nothing happens. My stack is: OWASP Dependency-check plugin 1.2.2 Jenkins 1.554 running as Windows service with no

[xmlsec] Build issues: xmlsec 1.2.8 on mingw32 (xmlsec-ltdl.c)

2006-05-12 Thread Rob Mandeville
in the first place. But it seems impossible to get the static lib without compiling this. Any ideas, people? Thanks in advance! --Rob Mandeville ([EMAIL PROTECTED]) ENTIRE BUILD LOG FOLLOWS cd c:/devel/surround/xmlsec_1.2.8/ SR_build_cygwin c:\devel\surround\xmlsec_1.2.8bash SR_build_cygwin.sh

[xmlsec] Build errors with xmlsec-openssl.a under SPARC-Solaris

2005-09-30 Thread Rob Mandeville
I've been building xmlsec against openssl, and the library I get always comes out unusable. When I build a program with it later, the linker complains about the library and I'm stuck with unfilled references. Here's the setup: uname -a = SunOS {machinename} 5.9 Generic_7171-07 sun4u sparc