Re: Template Project plugin

2013-07-10 Thread Maureen Barger
Right, thanks, we do use that and it works well. But this works best when one job triggers another. In my case the processes are fired off at different times. The same parameters have to be set on each top job which seems like too many moving parts to me. Ideally I could set up a job which only def

Re: Template Project plugin

2013-07-10 Thread Daniel Beck
In a similar situation I defined one job ("Configuration") that created a .properties file with the relevant options based on job paraemters and archived it as artifact. The other jobs then used the Copy Artifact plugin to get the file ("Copy from last successful build" uses the current option

Re: Template Project plugin

2013-07-10 Thread Maureen Barger
I like it! I was thinking about a properties file but never thought of creating it as an artifact! Thanks for the idea! On Wed, Jul 10, 2013 at 6:09 AM, Daniel Beck wrote: > In a similar situation I defined one job ("Configuration") that created a > .properties file with the relevant options bas

Re: Execute shell withoout -xe in jenkins job

2013-07-10 Thread VinodKumar
Thanks Sami!! that was helpfull -- View this message in context: http://jenkins-ci.361315.n4.nabble.com/Execute-shell-withoout-xe-in-jenkins-job-tp4671266p4672390.html Sent from the Jenkins users mailing list archive at Nabble.com. -- You received this message because you are subscribed to th

Re: Execute shell withoout -xe in jenkins job

2013-07-10 Thread VinodKumar
Thanks for your reply Richard, my problem was actually that it shows up ppk files used in ssh or scp commands, plus It was not a good view of console if it prints each line of script in cosole. Thanks & Regards -- View this message in context: http://jenkins-ci.361315.n4.nabble.com/Execute-she

Failed to instantiate class org.jenkinsci.plugins.conditionalbuildstep.singlestep.SingleConditionalBuilder

2013-07-10 Thread Bob Bick
When trying to save a build with a single step condition, get the following error: Exception: java.lang.RuntimeException: Failed to instantiate class org.jenkinsci.plugins.conditionalbuildstep.singlestep.SingleConditionalBuilder from {"":["2","0","1"],"buildStep":{"classPath":"","groovyName":"

How to "link" a particular job with the promotion process without physically copying the artifacts

2013-07-10 Thread Marcin Zajączkowski
Hi, I'm currently playing with Promoted Build plugin in the pipeline managed by Build Flow plugin. In a simplified form I have three jobs (called from the master job using Build Flow plugin): - a normal build of a project - job B - a deploy WAR artifact to a remote Tomcat - job D - a smok

Re: email notification in case of new warnings

2013-07-10 Thread Johannes Wienke
On 09.07.13 17:16 schrieb Geoff Cummings: > Try using something like the following script in the Email Ext script > trigger: Thank you very much. That helped a lot. Cheers, Johannes signature.asc Description: OpenPGP digital signature

Re: Execute shell withoout -xe in jenkins job

2013-07-10 Thread Sami Tikka
If you're worries about something semi-secret being visible in the console, perhaps https://wiki.jenkins-ci.org/display/JENKINS/Mask+Passwords+Plugin is something you could check. -- Sami VinodKumar kirjoitti 10.7.2013 kello 15.47: > Thanks for your reply Richard, > my problem was actually th

Accumulate points for downstream jobs

2013-07-10 Thread Shaykin Anton
Is it possible to accumulate the points for downstream jobs, that don't perform SVN checkout, but instead operate on existing workspace? I think this should be theoretically possible by using Jenkins fingerprinting mechanism. Regards, Anton Shaykin. -- You received this message because you ar

Re: Template Project plugin

2013-07-10 Thread syl20bnr
You can also use the build parameterized trigger plugin you already use to read from the property file using "Parameters from properties file". The plus sides are that build parameters are recorded in build histories and the values will be set before that the SCM step occurs. Cheers, syl20bnr

Re: Template Project plugin

2013-07-10 Thread Daniel Beck
How would this solve the complexity problem of manually triggering downstream jobs? Quoting Maureen: > In my case the processes are fired off at different times. The same > parameters have to be set on each top job which seems like too many moving > parts to me. --- Adding an Env-Inject buil

New to Jenkins: Can you connect to a remote non-github repository?

2013-07-10 Thread Laura McCord
Hi, I'm trying to setup a remote git repository with Jenkins and most of the examples I stumble upon are using github. I'm assuming it's possible to use Jenkins with a non-github remote repo but I can't find what I'm looking for. Can someone point me to the right direction please? Thanks, La

Re: New to Jenkins: Can you connect to a remote non-github repository?

2013-07-10 Thread Slide
Hi Laura, All you should need to know is the repo URL and put that information into the Git plugin configuration. Is there something specific you are trying to do that you need help with? Do you have a screenshot of what you are seeing that is causing you issues? Thanks, slide On Wed, Jul 10,

Re: New to Jenkins: Can you connect to a remote non-github repository?

2013-07-10 Thread Laura McCord
Hi, The issue that I am facing is the following error: *Failed to connect to repository : Command /usr/bin/git ls-remote -h g...@my.repo.com:myproject.git HEAD" returned status code 128:* *stdout: * *stderr: ERROR:…..serve.main:Repository read access denied* *fatal: The remote end hung up une

Re: New to Jenkins: Can you connect to a remote non-github repository?

2013-07-10 Thread Slide
Hi, You probably need to add the key to whatever user Jenkins is running as. Can you run the same command from the command line as that user and have it work? Thanks, Slide On Jul 10, 2013 1:59 PM, "Laura McCord" wrote: > Hi, > > The issue that I am facing is the following error: > > *Failed t

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 dat

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

Re: Jenkins with a DB?

2013-07-10 Thread Ballantyne, Bob
This sounds remarkably similar to a task on my current 'to-do' list. Even the PostgresQL db and the analysts use case. I had intended using Groovy. Any chance if posting this somewhere on the Jenkins plugin site, or on Scriptler? I'm sure there are probably many others who would be VERY interes

Re: Jenkins with a DB?

2013-07-10 Thread Jonathan Rogers
Yes, I'm quite willing to share the simple script I wrote. Keep in mind that it is not a general solution, but addressed my needs in a very specific Jenkins setup. The Python script relies on the psycopg2 library to talk to Postgres and the jenkinsapi package to talk to Jenkins. Put all attached f