Re: Can we calculate the agent element ?

2021-04-23 Thread JonathanRRogers
It looks like you're trying to allow the same pipeline to run using either Kubernetes agents or some other type of agent. Is that realistic? In my experience, there are a number of things one has to pay attention to in a Kubernetes agent, especially if it's a multi-container pod. I'm not sure

Re: How to distinct errors and failures in tests

2021-04-23 Thread JonathanRRogers
I suggest you start using a test runner which can produce JUnit/XUnit output. I've used both nose and pytest, both of which can run unittest tests and produce JUnit-style XML output. On Wednesday, April 21, 2021 at 8:59:36 AM UTC-4 nikola...@gmail.com wrote: > Thank you for the answer. If I

Re: String interpolation in sh command with credentials and (shared lib) function call

2020-11-18 Thread JonathanRRogers
=${GEN_PASSWD}"' + > " clean ${mvnBuildGoal} pmd:pmd pmd:cpd".toString() > -> No warning about insecure interpolation of sensitive variables > -> The build works fine, e.g. all variables get passed to the maven build > as expected > -> Also nice for readab

Re: String interpolation in sh command with credentials and (shared lib) function call

2020-11-17 Thread JonathanRRogers
ng: > > sh script: > "${mvnCommand(m2RepoIdentifier)} “ + > '-f proj-reactor/pom.xml ‘ + > '-P GenerateStorables -DdeployAtEnd=true ‘ + > "-Dproj.build.generatefromdb.url=${jdbcUrlNoData()}” + > '-Dproj.bui

Re: how to get the last commiter in jenkins pipeline

2020-11-17 Thread JonathanRRogers
Have you tried using the Email Extension plugin? AFAICT, it should get committers from whatever SCM you use. https://plugins.jenkins.io/email-ext/ On Monday, November 16, 2020 at 11:52:03 AM UTC-5 jesusfern...@gmail.com wrote: > I have a Jenkins pipeline setup that it works with Perforce as

Re: String interpolation in sh command with credentials and (shared lib) function call

2020-11-17 Thread JonathanRRogers
I don't think you've read the Jenkins pipeline documentation correctly. String interpolation is performed by Groovy. Jenkins doesn't add any interpolation behavior. Jenkins will always treat single-quoted strings as simple literals. The "sh" step calls a shell which can do its own variable

Re: Distributed Tasks

2020-07-28 Thread JonathanRRogers
You can use Jenkins to run tests written in a large variety of languages with a large variety of test runners, so there's no way to answer your question without more details about your tests and how you run them. I run tests written in Python using a custom system that runs pytest concurrently

Re: Is there a cloud version of Jenkins?

2020-04-24 Thread JonathanRRogers
Jenkins is open source, so you can run it wherever you want. I run it in a Google Kubernetes Engine cluster, but you may be looking for a service that manages configuration for you. If you're looking for hosted services, there seem to be quite a few.

Re: Pause and Resume Jobs later in a different agent

2020-04-10 Thread JonathanRRogers
You can directly control which steps execute on which agents via node() in a scripted Pipeline job. Pausing in the middle of a step or moving execution to a different agent is a whole other ball of wax that Jenkins doesn't address at all AFAIK. A typical long-running step executes an external

Re: How can I fix "Unreadable data" errors?

2020-03-31 Thread JonathanRRogers
I usually discard the unreadable data. Such data were usually added by a plugin that has since been uninstalled or upgraded. Don't discard data if you're not sure about its importance. This article outlines the options: https://support.cloudbees.com/hc/en-us/articles/218191768-Unreadable-Data

Re: CI/CD full automation on RHEL - Problems with jenkins configuration regarding security (user and password)

2020-02-14 Thread JonathanRRogers
On Thursday, February 13, 2020 at 8:02:49 PM UTC-5, leginox wrote: > > Hi all, > > I have a question regarding the setup of a full automated Jenkins > configuration and I'm thankful for any help that you might have. > > I created a Container with a RHEL via Docker on which I installed a >

Re: Perform actual hardware tests using jenkins pipeline and kubernetes

2020-01-27 Thread JonathanRRogers
Jenkins has several methods of running and connecting to agents. The fact that Jenkins master is running in a Kubernetes cluster doesn't limit how it connects to agents. For example, you can use the SSH slaves plugin to connect to any machine running SSH and visible to the Jenkins master.

Re: jenkins job getting failed when trying with rsync

2019-01-27 Thread JonathanRRogers
On Sunday, January 27, 2019 at 8:25:21 AM UTC-5, visar wrote: > > Hi Experts, > > I was trying to perform a rsync copy from my jenkins workspace one job > content to my docker containers (web2py) named volume location. > > my jenkins job is configured with svn repo, so my aim here is to make a >

Re: Jenkins plugin to access Kubernetes API

2018-10-06 Thread JonathanRRogers
On Friday, October 5, 2018 at 4:22:22 AM UTC-4, olivier blanc wrote: > > I have a first version that works fine with scripts, I am trying to figure > out if using API could be easier for my users. > > The point is that I am running Jenkins outside kubernetes. > So to access Kube master, I have to

Re: pod inter connections inside k8s cluster

2018-09-17 Thread JonathanRRogers
On Monday, September 17, 2018 at 11:29:33 AM UTC-4, Tristan FAURE wrote: > > Hello, > I need your advice, i want to achieve integration tests using several pods > : > > pod 1 : database postgresql > pod 2 : build with maven image and test using a connection to pod 2 > > To implement that I

Re: Kubernetes plugin cloud not found error

2018-03-14 Thread JonathanRRogers
On Wednesday, March 14, 2018 at 9:38:23 AM UTC-4, Prasanna Ranganathan wrote: > > Hi, > > I was trying the kubernetes plugin. I installed and configured the > kubernetes setup connection test was successfull. > and tried the below code. > > def label = "mypod-${UUID.randomUUID().toString()}"echo

Re: Pipeline conversion of MSTest to JUnit using XUnit

2017-05-18 Thread JonathanRRogers
I use the junit plugin because it has features xunit doesn't, such as the ability to handle attachments. Despite the name, junit is useful for more than just Java code and can generate reports from any compliant XML files. I use it with files generated by the Python py.test framework. The junit

Re: Question about Jenkins kubernetes plugin

2016-11-18 Thread JonathanRRogers
On Monday, October 24, 2016 at 11:52:12 AM UTC-4, Akagi Norio wrote: > > Hi, > > I'm trying to use Jenkins kubernetes plugin and want to make sure that if > this works even if Jenkins master is not inside a k8s cluster. > On all example on the internet I could find, people set a k8s api

Re: Error 404 on Jenkins using xUnit plugin for CppUnit tests

2014-06-24 Thread JonathanRRogers
On Tuesday, June 24, 2014 8:27:10 AM UTC-4, Jean-Baptiste MARTIN wrote: Hi Jenkins community, I'm using Jenkins v1.558 with xUnit v1.88 plugin and CppUnit v1.12.1 test tool. In my C++ program, a xml report is generated using XmlOutputter function from CppUnit. This report is found by

Re: Is there a way to consolidate multiple test reports?

2014-06-19 Thread JonathanRRogers
On Wednesday, June 18, 2014 11:50:12 AM UTC-4, Jeff Vincent wrote: In our Jenkins system we have about 80 projects and most are just the dependent libraries. For the top-level deliverable projects it would be nice to be able to consolidate all the test reports into a single place. Is

Re: What are you using for modifying a lot of jobs?

2014-06-05 Thread JonathanRRogers
On Wednesday, June 4, 2014 12:08:28 PM UTC-4, Damián José wrote: I built some groovy scripts that requests remotely the REST API of Jenkins. Right now these scripts are only reading data from Jenkins but I plan to also use them to make changes. Each Jenkins job has a file called

Re: xUnit - Failure

2014-05-08 Thread JonathanRRogers
On Wednesday, May 7, 2014 11:23:10 PM UTC-4, Vivek wrote: One of the possibilities can be that the some of the generated files may not be in proper junit format, this may happen when the test cases didnt run for a particular class so the xml is generated but is not complete (i.e., it

Re: Jenkins can't connect to a Git server via SSH using username/password

2014-05-08 Thread JonathanRRogers
- Original Message - From: jenkins...@googlegroups.com javascript: To: jenkins...@googlegroups.com javascript: At: May 7 2014 12:25:38 We are trying to connect to a Git repository via SSH (not Github) using username/password (we're not using keys) and the Git plugin but we're

Re: upload ssl keys jenkins

2014-04-11 Thread JonathanRRogers
On Friday, April 11, 2014 8:03:37 AM UTC-4, parakrama55 wrote: Hi guys i have valid certificate *jenkin.key* and *jenkin.crt* can you guys tell me how can i upload ssl keys to jenkins keystore Read the Using HTTPS with an existing certificate section at the bottom of this page:

Re: Jenkins cannot connect to X server on Debain 7.1

2014-04-07 Thread JonathanRRogers
On Monday, April 7, 2014 1:31:57 AM UTC-4, Fatemeh Mehdizadeh wrote: Hi, Although i read your useful training but I can't still run my tests, so I go to /var/lib/jenkins/jobs/My-job in terminal to test if all things working well. then I run nosetests -v it has some errror that I think

Re: Can I use a jenkins slave with ssh forwarding?

2014-04-04 Thread JonathanRRogers
On Thursday, April 3, 2014 12:49:42 PM UTC-4, Duncan McNaught wrote: Dear Jenkins Users, The ssh command to connect to the jenkins slave is: ssh -A -t -q x.x.x.x ssh -A -p 51322 user@x.x.x.x so I selected the slave launch method Launch slave via execution of command on the Master and

Re: Jenkins API

2014-03-07 Thread JonathanRRogers
On Thursday, March 6, 2014 3:01:04 PM UTC-5, Andrew Sumner wrote: Couple of questions: 1. Where can I find a list of functions I can call? eg I found toggleOffline while searching the internet, I don't think its strictly an api method, but where can I find documentation for this and

Re: Cannot access the jenkins service running on redhat linux

2014-03-04 Thread JonathanRRogers
On Monday, March 3, 2014 1:08:55 PM UTC-5, eric...@rocketmail.com wrote: Yes. That was it. Thank you. Since this was a test server running in an internal network, I just shut off the firewall by running service iptables stop Although it's slightly more complicated, I think it's worth

Re: How do I keep a slave disconnected?

2014-02-25 Thread JonathanRRogers
On Tuesday, February 25, 2014 5:43:38 AM UTC-5, matthew...@diamond.ac.uk wrote: Does anyone know how I can keep a slave disconnected ??? Use the Mark this node temporarily offline button. -- You received this message because you are subscribed to the Google Groups Jenkins Users group. To

Re: Junit Attachment Plugin

2014-02-05 Thread JonathanRRogers
On Wednesday, February 5, 2014 5:53:59 AM UTC-5, metalmo...@gmail.com wrote: I had the same isssues as you did. Couldn't find a proper example of the Junit XML file. Finally made it work. Maybe XML example below might help ?xml version=1.0 encoding=UTF-8? testsuite name=suite01 testcase

Re: How to pass java compiler option on slave ?

2014-02-03 Thread JonathanRRogers
On Monday, February 3, 2014 12:24:21 AM UTC-5, mpc8250 wrote: Hi All How do we pass additional javac option to a slave running running a job using Ant ? The node configuration has a JVM Options field which does control the options use the run the remote JVM. I use Execute shell build

Re: unit testing from shell scripts?

2014-01-31 Thread JonathanRRogers
On Friday, December 7, 2012 10:48:48 AM UTC-5, Bill Trost wrote: Hi, I need to run a set of unit tests that simply consist of seeing if two files are identical. There are all kinds of Unix tools (diff, cmp, comm, etc.) that can provide the basic information, but how do I translate that

Re: What is Jenkins and how do I get rid of it? (URGENT PLEASE HELP ME)

2014-01-31 Thread JonathanRRogers
On Wednesday, January 29, 2014 11:41:59 PM UTC-5, Ed Jesus Preposterous wrote: I had never heard of Jenkins until today, until it was somehow added to my computer. I never installed it, and I never visited the website until a friend of mine found out what Jenkins was and sent me a link to

Re: Problem with Downloading *.war-Files from Jenkins - IE treats them as ZIP-File, not as War-File

2014-01-24 Thread JonathanRRogers
On Friday, January 24, 2014 3:28:30 AM UTC-5, Alexander Köhler wrote: Hello Folks, I have a problem with my jenkins server. Its a recent build on ubuntu. Everything works except that if you want to download the *.war-package with any version of Interne Explorer, it will be treated as a zip

Re: xUnit and ctest results

2014-01-21 Thread JonathanRRogers
On Tuesday, January 21, 2014 8:03:00 AM UTC-5, ycollet wrote: Hello, I've configured a project using cmake and I use ctest to generate xml test results file. This test results file is sent to jenkins xUnit plugin. Each time I start jenkins, a new directory is created in my build

Re: jenkins warnings plugin pclint linux

2014-01-17 Thread JonathanRRogers
On Wednesday, January 15, 2014 9:51:25 AM UTC-5, Stijn wrote: Hi, I'm using pclint together with jenkins warnings plugin on linux. However, pclint is a windows executable executed by wine. Therefore, the output of pclint is something like

Re: Supress windows gui/output via Jenkins job

2014-01-08 Thread JonathanRRogers
On Wednesday, January 8, 2014 6:49:13 AM UTC-5, david@barclays.com wrote: So, the question finally is; is there any way to supress/redirect the gui output via Jenkins on a windows slave? I don't use Jenkins on Windows but I'm going to go out on a limb and say that I'm pretty sure

Re: Attaching extra informations to tests for display

2014-01-08 Thread JonathanRRogers
On Wednesday, January 8, 2014 6:46:55 AM UTC-5, Mathieu Malaterre wrote: Hi, I am trying to understand if this is possible to attach arbitrary information to a test and then submit this to jenkins. In my case, I use googletest to store information from a test:

Re: Unable to run flashplayer under Jenkins

2014-01-08 Thread JonathanRRogers
On Wednesday, January 8, 2014 3:10:22 AM UTC-5, Wim Deblauwe wrote: Hi, Thanks for testing this. But how come it can work if I start flashplayer manually from the command line into Xvnc ? I haven't tried running flashplayer under Wine connected to a vncserver so I can't say if it's

Re: Jenkins in non internet connected environment

2014-01-08 Thread JonathanRRogers
On Tuesday, January 7, 2014 9:26:06 PM UTC-5, John Gornowich wrote: I am currently trying to deploy Jenkins in an environment that will never have a connection to the internet. We have a DNS server on the network that handles all the internal traffic. After installing Jenkins I have

Re: Best Practice with virtualenv

2013-12-20 Thread JonathanRRogers
On Thursday, December 19, 2013 8:56:59 AM UTC-7, Ci-Ci Thomson wrote: I have a Jenkins instance setup for our Django projects where we create a virtualenv as a deployable artifact. All of our code is owned by a user called webapp and so the virtualenv has to be created with that user.

Re: Jenkins on OpenJDK vs Oracle JDK?

2013-12-13 Thread JonathanRRogers
On Wednesday, December 11, 2013 10:39:25 PM UTC-5, Mark Waite wrote: There were versions of OpenJDK 6 which did not run Jenkins well for me. The Oracle JDK has always run it well. I have been using OpenJDK 7 on some machines and Oracle JDK 7 on others with equally good results. What

Re: Is it possible to integrate with other tools for automatic creation of projects?

2013-12-06 Thread JonathanRRogers
On Tuesday, December 3, 2013 7:47:46 AM UTC-5, suresh kamini wrote: Hi Kannan, How to get report through Jenkins api xml/json/python Jenkins failure rate, success rate How many builds done perday Build is triggered by manual or timer AFAIK, that functionality is not built into

Re: How to Install Jenknis API for Python

2013-12-04 Thread JonathanRRogers
On Tuesday, December 3, 2013 6:37:46 PM UTC-5, joshuam...@gmail.com wrote: Hello, I'm new to Jenkins and use python only to run test scripts on our custom test executive. We use Python 3.2 and we wrote software to allow python to communicate with our test executive. I'm trying to

Re: Is it possible to integrate with other tools for automatic creation of projects?

2013-12-03 Thread JonathanRRogers
On Tuesday, December 3, 2013 7:47:46 AM UTC-5, suresh kamini wrote: Hi Kannan, How to get report through Jenkins api xml/json/python Jenkins failure rate, success rate How many builds done perday Build is triggered by manual or timer Check out this earlier discussion:

Re: Running daemon processes

2013-11-21 Thread JonathanRRogers
On Wednesday, November 20, 2013 6:48:26 AM UTC-5, andrea crotti wrote: Hello everyone, I'm trying to move some integration tests for our django app to Jenkins. I already succesfully managed to run integration tests for our business logic doing with coverage and violations as well, using

Re: Jenkins screenshots usage policy

2013-11-07 Thread JonathanRRogers
On Wednesday, November 6, 2013 4:12:57 PM UTC-5, tziele...@gmail.com wrote: Hello, Please clarify if it is allowed to use Jenkins screenshots in the following situations (please point restrictions if they apply): 1) Internal organization/company usage, 2) Usage within ecosystem, partners

Re: Selenium/Firefox under Jenkins finds wrong libstdc++ version

2013-11-06 Thread JonathanRRogers
On Tuesday, November 5, 2013 12:03:46 PM UTC-5, rop wrote: We are trying to make a maven-project with Selenium-tests run **headless** in Jenkins on a Linux-box. We installed the xvfb-plugin in Jenkins. But when Selenium tries to invoke Firefox we get this error: XPCOMGlueLoad

Re: Scheduler selenium testing with jenkins

2013-10-25 Thread JonathanRRogers
On Friday, October 25, 2013 8:55:17 AM UTC-4, raf das wrote: I'm currently using quartz scheduler to run selenium every 5 minutes, so I generate a file. JAR and run in quartz. If the test has an error, I get an email. how can I get this same functionality in jenkins? You can make a job

Re: Different behavior while executing puppet lint through jenkins

2013-10-23 Thread JonathanRRogers
On Tuesday, October 22, 2013 2:00:44 PM UTC-4, Maneesh M P wrote: I did that, I tried providing all path through slave properties as well. But still no luck. Is there a way I can make jenkins use same shell environment? Set any variables that matter explicitly within the Jenkins job. I

Re: Jenkins : Add passphrase key to jenkins user for Git pull from jenkins job

2013-10-21 Thread JonathanRRogers
On Monday, October 21, 2013 8:47:20 AM UTC-4, Mitul Parmar wrote: Hi, I am new to jenkins. I have created a job which tries to pull changes from git repositories using ssh. I have created SSH key for the jenkins user and I am able to do ls-remote -h ssh://git@myhost/repo.git

Re: Browser gets opening without proxy

2013-10-08 Thread JonathanRRogers
On Monday, October 7, 2013 8:30:56 AM UTC-4, pradeep kattekola wrote: Hi team, i am new to jenkins. i developed one selenium script which runs properly when its gets executed from eclipse. But when i started the same job using jenkins , its not working proper. In browser , there are

Re: Tests randomly failing on slaves

2013-10-08 Thread JonathanRRogers
On Monday, October 7, 2013 8:25:42 AM UTC-4, incubusattax wrote: Hey guys, I have some Webdriver tests that run perfectly when I run them via Eclipse but when I run them via Jenkins on a slave, they seem to fail randomly. Any ideas on how I can troubleshoot this? It's not really a

Re: apt-get install jenkins on Ubuntu giving '404 Not Found'

2013-10-08 Thread JonathanRRogers
Based on what you've said, a Debian binary package on the Jenkins web server was missing and now it exists. What do you need to work around? On Monday, October 7, 2013 6:22:25 PM UTC-4, Cortez wrote: Ha, it's there now. I just managed to install it... Is there a workaround to avoid getting

Re: Hundreds of modules

2013-10-04 Thread JonathanRRogers
On Friday, October 4, 2013 6:08:12 AM UTC-4, Maciej Jaros wrote: Cain Kilgore (2013-10-04 10:56): You should be able to setup a cron job that will remove any old builds within 30 days manually, provided it's running on Linux. Or a Jenkins job on any system ;-) Indeed, one way to

Re: Questions about ideology of complex project: 3 OS compile + 3 OS package installers + upload to FTP

2013-10-02 Thread JonathanRRogers
On Tuesday, October 1, 2013 1:14:05 PM UTC-4, ruslan_zasukhin wrote: I try discuss why Jenkins -- so mature, many years in development, 85Mb installer only SOFTWARE, do not allow me such simple case? I underline that MANY developers on inet, as far as can I see from Google searches,

Re: Reading HTTP request body from triggered parameterized job

2013-09-19 Thread JonathanRRogers
On Wednesday, September 18, 2013 5:46:15 PM UTC-4, Alex Kira wrote: Hi, Is there a way to read the request body from a triggered job? I am trying to integrate with another service that posts the request parameters as JSON in the raw body. This is a curl request that generates a

Re: Overlook the exit code as part of a shell or batch script

2013-09-17 Thread JonathanRRogers
On Tuesday, September 17, 2013 9:47:13 AM UTC-4, alok kumar wrote: Hi All, I have a requirement in which I am executing some executable from the shell or batch command build step. Now, there is a known bug due to which the exit code of that shell or batch command build step is non-zero,

Re: Plugin require for BTS

2013-09-08 Thread JonathanRRogers
On Friday, September 6, 2013 12:39:54 AM UTC-4, Gaurang shah wrote: Hi Guys, I have my automation project configured on the Jenkins, Now everytime a test case fails management is interested in knowing the reason. Is it a bug in automation ? is it a product bug ? is it a timing or

Re: Important Doubt - about how configurate jenkins with Django application in windows xp as server

2013-09-05 Thread JonathanRRogers
On Tuesday, September 3, 2013 4:50:15 PM UTC-4, Carlos Palomares Campos wrote: Hi everyboby, First I am sorry if this message or question is upset for you, but I dont know where can I look for answers to this question. In my case I have been working with hudson and java projects using ANT

Re: Browser not opening in Other machine

2013-09-03 Thread JonathanRRogers
To which browser do you refer? As you know, Jenkins is web server application so normally, the only browser involved is the one you use to view and interact with Jenkins. Are you referring to a browser used to run tests, such as one controlled by WebDriver? Without more detail, it's going to

Re: rsync instead of archiving?

2013-08-29 Thread JonathanRRogers
On Wednesday, August 28, 2013 5:10:38 PM UTC-4, Avihay Eyal wrote: Hi, I have a job that builds a debug version, and a job that runs regression tests and publish code coverage. The code coverage (gcovr) needs *access to the code base* itself, which is close to *3 GB.* I've tried *archiving*

Re: Bring nodes online

2013-08-27 Thread JonathanRRogers
On Tuesday, August 27, 2013 5:41:57 AM UTC-4, Tânia Magalhães wrote: Hi there! Sometimes, during my jobs, if they failed, I turn some nodes offline. I want, from times to times, to look for nodes in that state and bring them back online. How can I do it via script or plugin? The wiki is

Re: Coping files from slave to a particular folder in the master

2013-08-27 Thread JonathanRRogers
On Monday, August 26, 2013 5:43:51 PM UTC-4, Veer Mati wrote: As part of my jenkins setup, the jenkins slave builds a couple of user guides in different locations in the workspace. I then need to copy the guides located at different places on the slave (in the workspace) to a different

Re: Jenkins with Webdriver falil to launch browser

2013-08-27 Thread JonathanRRogers
On Monday, August 26, 2013 5:32:08 AM UTC-4, Gaurang shah wrote: Hi Guys, I have configured my maven project with jenkins. This maven project is a webdriver automation project. Project works find when i run from the command line, it launches the browser and then shows that test

Re: [Jenkins][ruby]: how to integrate my ruby test cases to jenkins and see the build flow

2013-08-23 Thread JonathanRRogers
On Thursday, August 22, 2013 12:30:21 PM UTC-4, Krishna Gundala wrote: Hi Jenks, I need help in integrating my ruby functional test cases to run on Jenkins against dev builds. My project is Maven project and Functional test cases are written in Ruby. Can any one help on this? You'll

Re: jenkins as jobscheduler

2013-08-05 Thread JonathanRRogers
On Monday, August 5, 2013 9:24:49 AM UTC-4, Federico Paolantoni wrote: Dear list, We are planning to switch from jobscheduler ( http://www.sos-berlin.com/modules/cjaycontent/index.php?id=62page=osource_scheduler_introduction_en.htm) to Jenkins. Since I have no idea of best approach to

Re: Slave SSH Publickey authentication failed

2013-08-05 Thread JonathanRRogers
On Monday, August 5, 2013 11:09:33 AM UTC-4, Avihay Eyal wrote: Hi, I'm trying to setup a build slave, but when failing to connect to it. I receive a IOException: Publickey authentication failed. The setup looks like this: 1. Jenkins Master runs under user 'avihay' in machine A. 2.

Re: Multiple threads restricted to a single core

2013-07-25 Thread JonathanRRogers
On Thursday, July 25, 2013 7:41:44 AM UTC-4, David Auzinger wrote: Hello! I've run into a problem while using Jenkins as a means to automate a JUnit/Selenium test. I'm working on an automated test for a Webshop using the Selenium WebDriver. I wrote the test multithreaded to us all

Re: Avoid script shell build failure

2013-07-24 Thread JonathanRRogers
On Wednesday, July 24, 2013 5:49:46 AM UTC-4, Dirk Heinrichs wrote: Am Mittwoch, 24. Juli 2013, 11:25:10 schrieb Adrien Ruffié: Do you have an idea, how I can avoid this failure and continu other build step and enter into else statement ? It's because the script is started with -xe.

Re: Avoid script shell build failure

2013-07-24 Thread JonathanRRogers
On Wednesday, July 24, 2013 12:53:09 PM UTC-4, JonathanRRogers wrote: On Wednesday, July 24, 2013 5:49:46 AM UTC-4, Dirk Heinrichs wrote: Am Mittwoch, 24. Juli 2013, 11:25:10 schrieb Adrien Ruffié: Do you have an idea, how I can avoid this failure and continu other build step

Re: curl: (7) couldn't connect to host error in Execute shell build step

2013-07-16 Thread JonathanRRogers
On Monday, July 15, 2013 5:06:02 PM UTC-4, Ling-Yi Kung wrote: Hello! I'm trying to run some simple shell commands. However, curl is giving me an error. I'm a bit confused on why that is? From the terminal of the slave, I can execute the commands without error. Started by user lkung

Re: Jenkins with a DB?

2013-07-10 Thread JonathanRRogers
On Friday, June 28, 2013 4:14:46 PM UTC-4, Michael Barbine wrote: Hello! I'm looking for some input on a proven way to put all of the data contained in the Jenkins XML or API into a RDBMS. Doesn't matter which one... I can move it around later. What do you mean by all the data? More

Re: Jenkins with a DB?

2013-07-10 Thread JonathanRRogers
On Sunday, June 30, 2013 5:57:30 PM UTC-4, R Tyler Croy wrote: On Fri, 28 Jun 2013, Michael Barbine wrote: Hello! I'm looking for some input on a proven way to put all of the data contained in the Jenkins XML or API into a RDBMS. Doesn't matter which one... I can move it

Re: Mass Jenkins job updates

2013-05-24 Thread JonathanRRogers
On Monday, May 20, 2013 5:44:48 PM UTC-4, Bob Bick wrote: We have many Jenkins jobs defined that were copied from a “template” Jenkins job. Now, I discovered that I’d like to add a new build step to most (not all) of the jobs. I used the Job DSL plugin for a while but that turned out

Re: Is Jenkins the right tool for hundreds of repositories

2013-05-10 Thread JonathanRRogers
On Friday, May 10, 2013 1:23:41 PM UTC-4, Jon Drukman wrote: I am looking into using Jenkins as a tool for continuous deployment. A commit to a git repository triggers building of rpms, updating a yum repo, possibly triggering production machines to do a yum update, etc. I've set up a

Re: can't start slaves anymore, ssh auth failing

2013-05-02 Thread JonathanRRogers
On Thursday, May 2, 2013 2:50:44 PM UTC-4, LesMikesell wrote: On Thu, May 2, 2013 at 1:26 PM, Kevin Fleming (BLOOMBERG/ 731 LEXIN) kpfl...@bloomberg.net javascript: wrote: This change would not have been in the Jenkins changelog, because it wasn't technically a Jenkins change. It's a

Re: Parallel builds

2013-05-02 Thread JonathanRRogers
On Thursday, May 2, 2013 5:02:58 AM UTC-4, Mohan Radhakrishnan wrote: Hi, What is the recommended way to run parallel builds on multi-core systems ? Mine has 4 cores with capability of 2 hardware threads on each core. Is master/slave mode recommended ? How does a single ANT script

Re: Store build meta data in a db

2013-04-12 Thread JonathanRRogers
On Friday, April 12, 2013 12:02:48 PM UTC-4, Ipoo Doh wrote: Thanks, we do have a valid reason for storing data in the db, we will create a build step with groovy plugin to specifically put some the data into the db Another approach is to use an external program to extract build data using

Re: jenkins build hangs while trying to check for modifications on git

2013-04-05 Thread JonathanRRogers
On Friday, April 5, 2013 3:55:24 AM UTC-4, Antonio Terreno wrote: Hi all, we are occasionally incurring a problem with our builds, basically the build process hangs till a timeout occurs while doing git clone. This problem is affecting us more and more frequent, our jenkins has just

Re: Keeping disconnected slave nodes from reconnecting.

2013-04-03 Thread JonathanRRogers
On Tuesday, April 2, 2013 12:00:09 PM UTC-4, Timothy Appnel wrote: I'm having the same issue as in this unanswered post: http://jenkins.361315.n4.nabble.com/automatic-reconnec-after-manual-disconnec-windows-service-slave-td4643215.html I needed to loan out one of my slaves to a group

Re: Looking for good Linux bash script examples

2013-03-29 Thread JonathanRRogers
On Thursday, March 28, 2013 3:51:23 PM UTC-4, Michael wrote: Hello, I've got a couple of bash scripts, which I'm ashamed to admit, happily chug along as the phrase goes. To get it basically working anyway. I haven't yet added much in the way of error handling, return exit codes, etc.

Re: Xvnc plugin

2013-03-27 Thread JonathanRRogers
On Tuesday, March 26, 2013 4:35:33 PM UTC-4, JohnA wrote: I had a similar (but not exactly the same) problem on Ubuntu 10.04. I solved it by using this command line: /usr/bin/Xvfb :$DISPLAY_NUMBER -ac -screen 0 1024x768x16 Set it in Manage Jenkins | Xvnc | Command Line. The Xvfb utility

Re: How to publish results of automated tests

2013-03-11 Thread JonathanRRogers
On Monday, March 11, 2013 8:25:23 AM UTC-4, zakyn wrote: Hello, I would like to ask you for your experience about publishing the GUI tests or postbuild results. We have this situation: 1. run build 2. on the dedeicated machine we run automated gui tests using build results and I would

Re: Optionally Archive Artifacts

2013-03-09 Thread JonathanRRogers
On Friday, March 8, 2013 12:45:24 PM UTC-5, old hooky wrote: Quoting Christian Baumann bau...@eudemonia-solutions.de javascript:: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hi! I am running Selenium tests that capture a screenshot whenever a test fails. Now, I would

Re: Parallel execution of builds

2013-02-08 Thread JonathanRRogers
There are several ways to run jobs in parallel. I'm currently using a matrix job for this. On Thursday, February 7, 2013 7:38:49 AM UTC-5, alvin Antony wrote: Hi Jenkins users, I am new to this user group and new on administrating the jenkins. I have requirement to enable the parallel

Re: how to ensure a job executes on all slaves.

2013-02-06 Thread JonathanRRogers
On Wednesday, February 6, 2013 1:57:02 AM UTC-5, Kenneth Nielsen wrote: Hi all, We have just upgraded some 3rd party libraries we use. I would like a Jenkins job to pull them from subversion onto all our windows build slaves. I have them grouped under a label. thanks kenneth I use

Re: Converting paths with spaces

2013-01-22 Thread JonathanRRogers
On Tuesday, January 22, 2013 10:54:40 AM UTC-5, SA Evans wrote: Within my ant build script, I have a legacy program that is failing because the workspace name has a space in it, and so it's failing as the whole path isn't getting passed in as an argument to this program. It really isn't a