C#/ C++ builds on windows

2012-09-18 Thread Kenneth
Hi all,
 
is there a Jenkins strategy about where should I place the binary results? 
so I can reuse them in other jobs?
 
( I want to make may small jobs, one for each project, and have dependend 
projects build and use the results of other jobs )
thanks 
 


Re: promotion config.xml url

2012-09-18 Thread Nicky Ramone
It doesn't. Last time I checked (a few weeks ago) there was still no way of
getting this info.
There's a feature request open for this and for more complete remote
handling of promotions.

On Fri, Aug 24, 2012 at 1:39 PM, AnthonyJ  wrote:

> we need help figuring out the url to the promotion config.xml
>
> This works for a job:
>
> http://SERVER/job/JOBNAME/config.xml
>
> But this does not work for a promotion config?
>
> http://
> SERVER 
> /job/
> JOBNAME 
> /promotion/PROMOTIONNAME/config.xml
>


Unable to reset jenkins-ci.org password: e-mails are not delivered

2012-09-18 Thread Antti Andreimann
Hi all!

As advised by rtyler on #jenkins I am sending my request to this list.

I am using a form located at https://jenkins-ci.org/account to reset my 
jenkins-ci.org password.
However, the password reset e-mail never arrives. Can somebody please take 
a look to find out
why these e-mails are either bounced or not sent at all.
I am using the ant...@users.sourceforge.net address.

Thank you!

Regards

Antti Andreiman


Re: Windows slave in the cloud ?

2012-09-18 Thread Les Mikesell
On Tue, Sep 18, 2012 at 6:02 PM, Richard J  wrote:
> I have the same question regarding Windows slaves, specifically in Amazon
> E2.
>
> Our Jenkins master is running on a Windows server inside the company
> firewall, not accessible from outside. I can create build machines on E2
> with public IP addresses.
>
> The question is how to get them to talk.
>
> I have gotten OpenVPN 2.2 working on a couple of local machines. It wasn’t
> too hard (after I got it working J).
>
> It seems that the machine that has the public IP would have to be configured
> as the OpenVPN server so that a hidden machine could connect to it. But that
> would mean that the Jenkins server would be configured as an OpenVPN client.
>
> I can see this working for one cloud slave, but not for 20. Tin that case 20
> instances of OpenVPN client would need to run on the server. Right?
>
> Any ideas on this?

I don't think I understand the question.  You need one machine that
all the others can reach.  That normally means running the server on a
host with a public IP or where a router with a public IP can
port-forward the port you are using to the openvpn server.   But there
aren't any restrictions on what/where you route among the openvpn
endpoint addresses once they connect so the openvpn server doesn't
really have to be tie to the jenkins master or slaves and if normal
lan routing works to addtitional targets behind a firewall, that works
too.Openvpn has 2 modes - a point-to-point mode where you need an
instance running for each remote endpoint and a client-server mode
where any number of clients can connect to one instance on a common
server.  On linux I wouldn't think twice about running 20 PTP
instances - not so sure about windows, but client-server would
probably make more sense anyway unless you can route the remote and
local LAN ranges through a single PTP tunnel.

-- 
   Les Mikesell
  lesmikes...@gmail.com


Re: Windows slave in the cloud ?

2012-09-18 Thread Richard J
 

I have the same question regarding Windows slaves, specifically in Amazon 
E2.

Our Jenkins master is running on a Windows server inside the company 
firewall, not accessible from outside. I can create build machines on E2 
with public IP addresses.

The question is how to get them to talk.

I have gotten OpenVPN 2.2 working on a couple of local machines. It wasn’t 
too hard (after I got it working J). 

It seems that the machine that has the public IP would have to be 
configured as the OpenVPN server so that a hidden machine could connect to 
it. But that would mean that the Jenkins server would be configured as an 
OpenVPN client.

I can see this working for one cloud slave, but not for 20. Tin that case 
20 instances of OpenVPN client would need to run on the server. Right?

Any ideas on this?

Thanks
Richard

On Tuesday, August 28, 2012 10:13:31 AM UTC-7, LesMikesell wrote:

> On Tue, Aug 28, 2012 at 11:42 AM, Jerome Lacoste 
> > wrote: 
> > Hei, 
> > 
> > As anyone tried using Windows Azure (or similar) to setup a Windows 
> slave in 
> > the cloud ? 
> > 
> > I am not that comfortable having a cloud computer connect into my 
> company 
> > network. I would prefer it the other way around... 
> > And Windows Azure Connect (for VPN) seems to require a Windows network 
> to 
> > connect to and I don't have any... 
> > 
>
> I don't know anything about azure, but OpenVPN should work as long as 
> at least one end has a public address or can use port-forwarding to 
> reach the other end.   It is fairly nat-friendly and only needs one 
> udp or tcp port. 
>
> -- 
>Les Mikesell 
> lesmi...@gmail.com  
>


Re: Jenkins Windows Slave Service startup is flakey

2012-09-18 Thread Richard Bywater
I'd check the java processes to see what they are doing (e.g. are they
stuck on network connections or something) - I've had issues like that
when the jenkins windows service exe used to be (still is?) signed by
a cert that .Net was trying to go out to the internet to confirm
authenticity.

Richard.

On Tue, Sep 18, 2012 at 2:52 AM, phil swenson  wrote:
> We have troubles with Jenkins Slaves stopping working and having to manually
> restart the windows service on every node (15 nodes).
>
> Last week, windows update ran and all the servers got restarted.  The
> Jenkins Slave service only started on 5 of the 15.  I had to ssh into each
> and start the service.
>
> Today all nodes are marked offline.
>
> The services were not running, I suspect every machine was bounced by
> windows update.
>
>
> It appears that the jenkins service startup is flakey.   Even when I run it
> manually I get stuff like this:
>
> Administrator@DAEAP86187 ~
> $ net start "Jenkins Slave"
> The service is not responding to the control function.
>
> More help is available by typing NET HELPMSG 2186.
>
>
> Administrator@DAEAP86187 ~
> $ net start "Jenkins Slave"
> The Jenkins Slave service is starting.
> The Jenkins Slave service was started successfully.
>
>
> Ideas?  Suggestions?


Multi-Slave plugin + SSH plugin expansions

2012-09-18 Thread Andrew Melo
Hello,

I'm trying to use the multi-slave plugin to fire up a ton of identical
slaves, and it appears the $NAME environment variable doesn't get expanded
in the SSH plugin's 'host' field. is that a known issue?

Thanks,
Andrew

-- 
--
Andrew Melo


Re: Do these features already exist?

2012-09-18 Thread Xavier Nodet
Thanks for the tip! This plugin is indeed very useful for me...
Xavier.

On Mon, Sep 17, 2012 at 3:33 PM, Jacob Robertson <
jacob.robertson.w...@gmail.com> wrote:

> The View Job Filters plugin is related to some of what you are asking
> for.  For example, you could build a View that shows all jobs that have not
> been run in over a month.  You might also be able to address your Hung
> builds scenario by creating a View for jobs that are currently building and
> were started over X hours ago.
>
>
> On Fri, Sep 14, 2012 at 11:50 AM, Xavier Nodet wrote:
>
>> Hi Fred,
>>
>> Yes, I know about this plugin.  But it will only abort the build, instead
>> of notifying me.
>> And this may not always be the correct option.  So I would have to use a
>> very large timeout...
>>
>> Thanks.
>>
>> --
>> Xavier Nodet
>>
>>
>> On Fri, Sep 14, 2012 at 12:25 PM, Fred G wrote:
>>
>>> Hi Xavier,
>>>
>>> Have you tried the Build Timeout plug-in (
>>> https://wiki.jenkins-ci.org/display/JENKINS/Build-timeout+Plugin) yet?
>>> It might help you
>>> with detecting blocked jobs.
>>>
>>> Regards,
>>>
>>> Fred
>>>
>>>
>>> On Thursday, September 13, 2012 12:48:20 PM UTC+2, Xavier Nodet wrote:

 Hi all,

 I've been using Jenkins for a year now, and I'm missing the following
 features...
 Do they exist in a plugin that I missed?

 More context is available at http://xnodet.blogspot.fr/**
 2012/09/suggestions-for-**jenkins-on-multi.html
 Thanks.

 Detect stale jobs
 We sometimes have jobs that stop running (no new run is triggered, or
 no available nodes).  This is of course not intended, and it would be nice
 to be able to detect those easily.  I suppose that adding a 'Last build'
 column to the list view, that would display the time since the job entered
 its current state, would be nice.  Something like 'Ended 8.6 hr' or 'Queued
 1.3 hr' or 'Started 12 min'...

 Then I'd know that if the code changed 3 hours ago, I shouldn't see any
 number larger than 3 hours...

  Detect hung jobs
 We have many jobs running, typically 20 to 30 simultaneously. And some
 builds last for several hours.  It happens that tests hang, or are
 abnormally slow.  These situations should be detected as soon as possible
 for investigation.

 Unfortunately, the 'Build History' list is not very helpful, for two
 reasons. It has too few jobs for us: with 50 builds, only the last 5 hours
 are covered, which is less than the duration of many of our builds. But
 then if this limit was increased, we'd probably need a list of 200 or so
 jobs, which would not be easy to handle.

 I would thus suggest to allow filtering on the 'building' status.  When
 this flag would be set, the 'Build History' would only display the jobs
 that are currently being built.

  A view 'by revision'
 I often need to check if a given revision of the source has been built
 by a given job, or what is the latest revision that is good on a set of
 jobs.  For example, I may want to merge this revision to some 'stable'
 branch for other teams to use.

 I think that a grid view with the following attributes would be very
 useful for this: each line is a commit id or SVN revision, each column is a
 job, each cell is blue, red or gray (or even empty if this revision has not
 yet been part of a run of the job, or the run is not finished yet).


 Do you think these would be useful additions?

 --
 Xavier Nodet


>>
>>
>


-- 
Xavier Nodet


Re: using GIT plugin: cannot clone submodule

2012-09-18 Thread nicolas de loof
submodule indeed are only redirections to external repo and - as such -
still point to the canonical git repository, even you created a local
clone. I don't know any workaround but get access to the target repo.

2012/9/18 Emil Petkov 

> Hello,
>
> I have set up Jenkins and installed the GIT plugin (
> https://wiki.jenkins-ci.org/display/JENKINS/Git+Plugin).
>
> 1. First, I created a depot of my repository by executing:
>
> git clone --bare /home/git_repos/admin_pci.git
> /home/jenkins_bare_repos/admin_pci.git
>
> 2. Added the clone as the remote origin for the original so I can push to
> the clone:
>
> cd /home/git_repos/admin_pci.git
>
> git remote add origin /home/jenkins_bare_repos/admin_pci.git
>
> 3. Then created a job in Jenkins: selected GIT for "Source Code
> Management", Repository URL = /home/jenkins_bare_repos/admin_pci.git,
> "Branches to Build" = 'master', etc
>
> 4. Ran the job and got the following error:
>
> Started by user anonymous 
> Building in workspace /var/lib/jenkins/jobs/admin_pci specs/workspace
> Checkout:workspace / /var/lib/jenkins/jobs/admin_pci specs/workspace - 
> hudson.remoting.LocalChannel@4eeaabad
> Using strategy: Default
> Last Built Revision: Revision 0654d4080e49815ce1869bea3260ecfa2334f5fd 
> (origin/app_testing)
> Fetching changes from 1 remote Git repository
> Fetching upstream changes from /home/jenkins_bare_repos/admin_pci.git
> Commencing build of Revision fee7f8c3386e79bd27459fb76b0085d679ec5012 
> (origin/master)
> Checking out Revision fee7f8c3386e79bd27459fb76b0085d679ec5012 (origin/master)
> FATAL: Command "git submodule update" returned status code 1:
> stdout: Cloning into vendor/plugins/secure_gate...
>
> stderr: Permission denied, please try again.
> Permission denied, please try again.
> Permission denied (publickey,password).
> fatal: The remote end hung up unexpectedly
> Clone of 'ssh://git_deployer@10.100.25.14/home/git_repo/gw_plugin.git' into 
> submodule path 'vendor/plugins/secure_gate' failed
> hudson.plugins.git.GitException 
> :
>  Command "git submodule update" returned status code 1:
> stdout: Cloning into vendor/plugins/secure_gate...
>
> stderr: Permission denied, please try again.
> Permission denied, please try again.
> Permission denied (publickey,password).
> fatal: The remote end hung up unexpectedly
> Clone of 'ssh://git_deployer@10.100.25.14/home/git_repo/gw_plugin.git' into 
> submodule path 'vendor/plugins/secure_gate' failed
>
>   at hudson.plugins.git.GitAPI.launchCommandIn(GitAPI.java:855)
>   at hudson.plugins.git.GitAPI.launchCommand(GitAPI.java:817)
>   at hudson.plugins.git.GitAPI.submoduleUpdate(GitAPI.java:446)
>   at hudson.plugins.git.GitSCM$4.invoke(GitSCM.java:1308)
>   at hudson.plugins.git.GitSCM$4.invoke(GitSCM.java:1269)
>   at hudson.FilePath.act(FilePath.java:842)
>   at hudson.FilePath.act(FilePath.java:824)
>   at hudson.plugins.git.GitSCM.checkout(GitSCM.java:1269)
>   at hudson.model.AbstractProject.checkout(AbstractProject.java:1256)
>   at 
> hudson.model.AbstractBuild$AbstractBuildExecution.defaultCheckout(AbstractBuild.java:589)
>   at jenkins.scm.SCMCheckoutStrategy.checkout(SCMCheckoutStrategy.java:88)
>   at 
> hudson.model.AbstractBuild$AbstractBuildExecution.run(AbstractBuild.java:494)
>   at hudson.model.Run.execute(Run.java:1502)
>   at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:46)
>   at hudson.model.ResourceController.execute(ResourceController.java:88)
>   at hudson.model.Executor.run(Executor.java:236)
>
>
>
> It seems that the submodule of the project cannot be cloned correctly. Is 
> this a well known issue with GIT submodules? Any ideas how to resolve it?
>
>
> Thanks in advance.
>
>
>


Re: The inner workflows of a build steps, post-build actions and nodes

2012-09-18 Thread Kristian
I maybe missed a point.
This is perhaps the desired behavior when running multiple executors on one 
node. But I have the corner case where I run 1 executor on 1 node. The 
reason is not performance, it's the job that needs the machine all by it 
self. 
Also in my specific case, the job B, powers off the machine, and restarts 
it. Thus when a job A starts, it gets aborted when the machine is 
unexpectedly(!) shut off.


Re: Incremental and Complete Build in one Job

2012-09-18 Thread giuliano
You may be able to use a job parameter to control whether to do a complete 
or incremental build. You can look at the parameter from shell file build 
step, and I think you can look at it using the conditional build step to 
determine whether to run other build steps.

Re: Cloudbees Enterprise ?? How useful is it ??

2012-09-18 Thread nicolas de loof
Also consider the template plugin if you have a bunch of job to share same
design (or want to limit user responsibility on job config details)
I also like the git verified commit a lot

the main benefit from Jenkins Enterprise (imho) is the associated support
from major contributors

I admit conflict of interest here, so won't give more opinion :)

2012/9/17 Tom80112 

> I watched a Cloudbees Enterprise webinar today.  This is essentially
> Jenkins
> plus a bunch of their in-house developed plugins.
>
> The VMware plugin seemed interesting for load-balancing Jenkins jobs
> amongst a group of Jenkins slaves but other than that I didn't see anything
> earth shatteringly new here.  Most of the plugins seem like you could
> script
> the same functionality within the shell window.
>
> Oh yes,  I will admit the security roles is a new feature but we don't need
> that level of security.
>
> So has anyone used Cloudbees Enterprise ??
> What have you found that it does that base Jenkins cannot do??
>
> Thanks...
>
>
>
> --
> View this message in context:
> http://jenkins.361315.n4.nabble.com/Cloudbees-Enterprise-How-useful-is-it-tp4640478.html
> Sent from the Jenkins users mailing list archive at Nabble.com.
>


Re: hudson migration: all jobs are gone!

2012-09-18 Thread Stefan Schwoegler
kinda with the active directory perms, but how would i go about porting?

also, just a thought, could i downgrade hudson (not sure if thats even
possible) to where they were closer then migrate to an older version of
jenkins, then upgrade jenkins?

regards,

--
Sent from my mobile device

Stefan Schwoegler
ste...@cryp7.net

On Sep 15, 2012, at 18:58, Alex Earl  wrote:

Are the configs complex? You may need to port by hand since the XML formats
diverged.

Sent from my Windows Phone
--
From: Stefan Schwoegler
Sent: 9/15/2012 5:43 PM
To: Alex Earl
Cc: jenkinsci-users@googlegroups.com
Subject: Re: hudson migration: all jobs are gone!

about 20


--
Sent from my mobile device

Stefan Schwoegler
ste...@cryp7.net

On Sep 15, 2012, at 17:42, Alex Earl  wrote:

The latest Hudson's XML format is VERY different from Jenkin's format from
what I remember. How many jobs do you have?

Sent from my Windows Phone
--
From: Stefan Schwoegler
Sent: 9/15/2012 2:47 PM
To: jenkinsci-users@googlegroups.com
Subject: hudson migration: all jobs are gone!

hello,

i'm attempting to migrate from latest hudson to latest jenkins. after
deploying the new war file to my tomcat instance and firing it up i'm able
to login however all my jobs are missing. when i look at the logs i see
several exceptions "

Caused by: com.thoughtworks.xstream.converters.ConversionException:
TreeMap does not contain  element"

when parsing the jobs build.xml files.

has anybody else seen this issue? any ideas?

thanks in advance,

--stefan


Jenkins - TFS labeling - versioning

2012-09-18 Thread mickeys
I need some inputs from users that use jenkins with Team Foundation Server.

How do you label(tagging) you build. What do you use?

Also do you version you build and how? Any good links to point me to?

Thx



--
View this message in context: 
http://jenkins.361315.n4.nabble.com/Jenkins-TFS-labeling-versioning-tp4640369.html
Sent from the Jenkins users mailing list archive at Nabble.com.


Cloudbees Enterprise ?? How useful is it ??

2012-09-18 Thread Tom80112
I watched a Cloudbees Enterprise webinar today.  This is essentially Jenkins 
plus a bunch of their in-house developed plugins. 

The VMware plugin seemed interesting for load-balancing Jenkins jobs 
amongst a group of Jenkins slaves but other than that I didn't see anything 
earth shatteringly new here.  Most of the plugins seem like you could script 
the same functionality within the shell window.  

Oh yes,  I will admit the security roles is a new feature but we don't need
that level of security.  

So has anyone used Cloudbees Enterprise ??
What have you found that it does that base Jenkins cannot do??

Thanks...



--
View this message in context: 
http://jenkins.361315.n4.nabble.com/Cloudbees-Enterprise-How-useful-is-it-tp4640478.html
Sent from the Jenkins users mailing list archive at Nabble.com.


ERROR: Problem fetching from origin ... : fatal: Authentication failed

2012-09-18 Thread jserup
I am running Jenkins ver. 1.466.1 on an Ubuntu machine with "Jenkins GIT
plugin 1.1.23".

Some of the jobs fetches changes from a git repository on another ubuntu
machine (running git version 1.7.10) using the following format under
"Source code management" in the job configuration:

https://jenkins:pass@host/.../test.git

These jobs run hourly even though there has been no src change.  But now and
then (approx once every 10th build) jenkins gives this error and the build
fails:



Fetching changes from 1 remote Git repository
Fetching upstream changes from https://jenkins:pass@host/git
ERROR: Problem fetching from origin / origin - could be unavailable.
Continuing anyway
hudson.plugins.git.GitException: Command "git fetch -t
https://jenkins:pass@host/git +refs/heads/*:refs/remotes/origin/*"
returned status code 128:
stdout: 
stderr: fatal: Authentication failed

at hudson.plugins.git.GitAPI.launchCommandIn(GitAPI.java:863)
at hudson.plugins.git.GitAPI.launchCommand(GitAPI.java:824)
at hudson.plugins.git.GitAPI.fetch(GitAPI.java:198)
at hudson.plugins.git.GitAPI.fetch(GitAPI.java:1071)
at hudson.plugins.git.GitSCM.fetchFrom(GitSCM.java:810)
at hudson.plugins.git.GitSCM.access$100(GitSCM.java:76)
at hudson.plugins.git.GitSCM$2.invoke(GitSCM.java:1076)
at hudson.plugins.git.GitSCM$2.invoke(GitSCM.java:1044)
at hudson.FilePath$FileCallableWrapper.call(FilePath.java:2193)
at hudson.remoting.UserRequest.perform(UserRequest.java:118)
at hudson.remoting.UserRequest.perform(UserRequest.java:48)
at hudson.remoting.Request$2.run(Request.java:326)
at
hudson.remoting.InterceptingExecutorService$1.call(InterceptingExecutorService.java:72)
at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:334)
at java.util.concurrent.FutureTask.run(FutureTask.java:166)
at
java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1110)
at
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603)
at java.lang.Thread.run(Thread.java:722)
ERROR: Could not fetch from any repository
FATAL: Could not fetch from any repository
hudson.plugins.git.GitException: Could not fetch from any repository
at hudson.plugins.git.GitSCM$2.invoke(GitSCM.java:1083)
at hudson.plugins.git.GitSCM$2.invoke(GitSCM.java:1044)
at hudson.FilePath$FileCallableWrapper.call(FilePath.java:2193)
at hudson.remoting.UserRequest.perform(UserRequest.java:118)
at hudson.remoting.UserRequest.perform(UserRequest.java:48)
at hudson.remoting.Request$2.run(Request.java:326)
at
hudson.remoting.InterceptingExecutorService$1.call(InterceptingExecutorService.java:72)
at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:334)
at java.util.concurrent.FutureTask.run(FutureTask.java:166)
at
java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1110)
at
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603)
at java.lang.Thread.run(Thread.java:722)


I am considering to follow the advice given below but would like to hear if
anyone has experienced the same strange behaviour?

https://issues.jenkins-ci.org/browse/JENKINS-11576

(Gotchas)
https://wiki.jenkins-ci.org/display/JENKINS/Git+Plugin



--
View this message in context: 
http://jenkins.361315.n4.nabble.com/ERROR-Problem-fetching-from-origin-fatal-Authentication-failed-tp4640475.html
Sent from the Jenkins users mailing list archive at Nabble.com.


Incremental and Complete Build in one Job

2012-09-18 Thread robshmoe
Is there a way to have an incremental and complete build in the same job? 
That is, by default, I want to have the job do a complete build regardless
if there are changes or not.  If a user decides to rebuild as an incremental
build, they can do so.  

The reason behind this is to keep the entire history of a build within on
job rather than separate jobs.  I have a very large build, and having to
rebuild the entire build for a nightly build is somewhat cumbersome, but not
out of the question.

The following is something that I'm wishing to do:

1) Destroy old clearcase snapshot
2) Generate new clearcase snapshot
3) Start complete build 
4) If build fails, rebuild, as an incremental build, after files are labeled
NIGHT per discretion of a user


-- Robert.  



--
View this message in context: 
http://jenkins.361315.n4.nabble.com/Incremental-and-Complete-Build-in-one-Job-tp4640446.html
Sent from the Jenkins users mailing list archive at Nabble.com.


Re: Plugin to query the user for input? Or another way to do it??

2012-09-18 Thread Tom80112
Just to report back.  This plugin allows you to add pull-down selection menu
which
is dynamically repopulated each time you run the job.  You just need to
write some
groovy script to tell it how to populate the pick-list.

Extended Choice Parameter plugin

https://wiki.jenkins-ci.org/display/JENKINS/Extended+Choice+Parameter+plugin



--
View this message in context: 
http://jenkins.361315.n4.nabble.com/Plugin-to-query-the-user-for-input-Or-another-way-to-do-it-tp4631964p4640481.html
Sent from the Jenkins users mailing list archive at Nabble.com.


Re: Creating a "deploy job" that allows me to select from a list of build files?

2012-09-18 Thread Tom80112
Just to report back.  This plugin allows you to add pull-down selection menu
which
is dynamically repopulated each time you run the job.  You just need to
write some
groovy script to tell it how to populate the pick-list.

Extended Choice Parameter plugin

https://wiki.jenkins-ci.org/display/JENKINS/Extended+Choice+Parameter+plugin



--
View this message in context: 
http://jenkins.361315.n4.nabble.com/Creating-a-deploy-job-that-allows-me-to-select-from-a-list-of-build-files-tp4631399p4640482.html
Sent from the Jenkins users mailing list archive at Nabble.com.


Re: git+ssh problems?

2012-09-18 Thread Brad Knowles
On Sep 13, 2012, at 12:38 PM, Brad Knowles  wrote:

> If you can point me at any other pages or recommended procedures that I 
> should try, please let me know.  Thanks!

Well, this is distinctly weird -- restarting jenkins itself didn't fix the 
problem (already did that multiple times), but rebooting the server does appear 
to have fixed it.

*facepalm*

--
Brad Knowles 
LinkedIn Profile: 



git+ssh problems?

2012-09-18 Thread Brad Knowles
Folks,

We have an Enterprise github installation, and up until six days ago I was at 
least able to get Jenkins to do a git clone, use the 
SCM+Sync+configuration+plugin to upload changed configuration files to the 
designated repo, etc

But six days ago, something broke.  Now, no matter what I do, any time Jenkins 
tries to interact with git, I get a "status code 128: Permission denied 
(publickey)." error.

I've tried to debug this every way I can.  I've checked the issue navigator at 
,
 I've reverted from 1.1.23 to 1.1.22 of the git plugin, added loggers based on 
the example at 
, 
and so far nothing I've done can add any more information to this error.

I've deleted the ssh keys on our github server, and got the exact same error.  
I generated a new ssh key as the Jenkins user on the Jenkins server then 
uploaded it to the github account, same error.  I changed the password that 
Jenkins was supposed to be using for the ssh key to something I know to be 
incorrect, same error.  It seems that no matter what I do with ssh keys whether 
I am extra careful to make sure that I've done everything correct or if I 
intentionally do something "wrong", I still get the same error.

I'm stumped, and I can't figure out how to get Jenkins to return logging 
information that is actually useful and related to the actual problem I'm 
having.


Yes I did confirm that I could still clone the repos manually with the old key, 
and I have likewise confirmed that I can clone the repos with the new key.  So, 
the key itself works and lets me get into github, the problem seems to be that 
Jenkins is not properly handling git+ssh in this case, and it's not returning 
useful debugging information when I try to figure out what is really going 
wrong.


If you can point me at any other pages or recommended procedures that I should 
try, please let me know.  Thanks!

--
Brad Knowles 
LinkedIn Profile: 



Dependencies in Maven builds all broken after upgrade to 1.482, fixed by downgrade to 1.480

2012-09-18 Thread Jack Haughton
Hello,

After recently upgrading to Jenkins 1.482 from 1.37x (don't have exact 
version to hand), we found that all the 'upstream/downstream dependencies' 
sections in our Maven builds were pointing to different branches. We have a 
lot of similar featurebranched builds, with names of the form " 
 '. The effect of this issue was that all the 
dependencies pointed to one particular branch, instead of pointing to the 
same branch as the job they were on. The artifacts were still correct, it 
was just the branch (which we represent as the Maven version) which was 
incorrect.

I take it this is something to do with the maven versioning change in 1.481?

Thanks
Jack


RE: The inner workflows of a build steps, post-build actions and nodes

2012-09-18 Thread Stanley, Jason
I encountered the same problem when I was deploying my setup.

I got around this by using the “Post build task” feature and triggered a build 
B script to run based on parsing the build log for a certain string.

This way, build A will complete including the post build actions included in 
build B

From: jenkinsci-users@googlegroups.com 
[mailto:jenkinsci-users@googlegroups.com] On Behalf Of krikar
Sent: Tuesday, September 18, 2012 11:59 AM
To: jenkinsci-users@googlegroups.com
Subject: The inner workflows of a build steps, post-build actions and nodes

Hi,

I have a problem, were my node/slave is 'hijacked' by another job prematurely. 
But this may very well be by design. This is what happens:

 *   I have a job A that runs all the build steps successfully.
 *   In the post-build actions, I have a "Trigger parameterized build" B.
Now, my problem is that Jenkins can launch a next build on Job A, before build 
B is done on the previous job A.

 *   I cannot run B as a build step in A, only as a post-build action in A.
 *   But this will cause me problems if a next instance of A is launched before 
B is done in the previous one, on the same node.
 *   And this happens...
Is this a bug, or is this a desired behavior of Jenkins.
I'm running version 1.481

/Kristian


The inner workflows of a build steps, post-build actions and nodes

2012-09-18 Thread krikar
Hi,

I have a problem, were my node/slave is 'hijacked' by another 
job prematurely. But this may very well be by design. This is what happens:

   - I have a job A that runs all the build steps successfully.
   - In the post-build actions, I have a "Trigger parameterized build" B.

Now, my problem is that Jenkins can launch a next build on Job A, before 
build B is done on the previous job A.

   - I cannot run B as a build step in A, only as a post-build action in A.
   - But this will cause me problems if a next instance of A is launched 
   before B is done in the previous one, *on the same node*.
   - And this happens...

Is this a bug, or is this a desired behavior of Jenkins.
I'm running version 1.481

/Kristian


using GIT plugin: cannot clone submodule

2012-09-18 Thread Emil Petkov
Hello,

I have set up Jenkins and installed the GIT plugin 
(https://wiki.jenkins-ci.org/display/JENKINS/Git+Plugin).

1. First, I created a depot of my repository by executing:

git clone --bare /home/git_repos/admin_pci.git 
/home/jenkins_bare_repos/admin_pci.git

2. Added the clone as the remote origin for the original so I can push to 
the clone:

cd /home/git_repos/admin_pci.git

git remote add origin /home/jenkins_bare_repos/admin_pci.git

3. Then created a job in Jenkins: selected GIT for "Source Code 
Management", Repository URL = /home/jenkins_bare_repos/admin_pci.git, 
"Branches to Build" = 'master', etc

4. Ran the job and got the following error:

Started by user anonymous 
Building in workspace /var/lib/jenkins/jobs/admin_pci specs/workspace
Checkout:workspace / /var/lib/jenkins/jobs/admin_pci specs/workspace - 
hudson.remoting.LocalChannel@4eeaabad
Using strategy: Default
Last Built Revision: Revision 0654d4080e49815ce1869bea3260ecfa2334f5fd 
(origin/app_testing)
Fetching changes from 1 remote Git repository
Fetching upstream changes from /home/jenkins_bare_repos/admin_pci.git
Commencing build of Revision fee7f8c3386e79bd27459fb76b0085d679ec5012 
(origin/master)
Checking out Revision fee7f8c3386e79bd27459fb76b0085d679ec5012 (origin/master)
FATAL: Command "git submodule update" returned status code 1:
stdout: Cloning into vendor/plugins/secure_gate...

stderr: Permission denied, please try again.
Permission denied, please try again.
Permission denied (publickey,password).
fatal: The remote end hung up unexpectedly
Clone of 'ssh://git_deployer@10.100.25.14/home/git_repo/gw_plugin.git' into 
submodule path 'vendor/plugins/secure_gate' failed
hudson.plugins.git.GitException 
:
 Command "git submodule update" returned status code 1:
stdout: Cloning into vendor/plugins/secure_gate...

stderr: Permission denied, please try again.
Permission denied, please try again.
Permission denied (publickey,password).
fatal: The remote end hung up unexpectedly
Clone of 'ssh://git_deployer@10.100.25.14/home/git_repo/gw_plugin.git' into 
submodule path 'vendor/plugins/secure_gate' failed

at hudson.plugins.git.GitAPI.launchCommandIn(GitAPI.java:855)
at hudson.plugins.git.GitAPI.launchCommand(GitAPI.java:817)
at hudson.plugins.git.GitAPI.submoduleUpdate(GitAPI.java:446)
at hudson.plugins.git.GitSCM$4.invoke(GitSCM.java:1308)
at hudson.plugins.git.GitSCM$4.invoke(GitSCM.java:1269)
at hudson.FilePath.act(FilePath.java:842)
at hudson.FilePath.act(FilePath.java:824)
at hudson.plugins.git.GitSCM.checkout(GitSCM.java:1269)
at hudson.model.AbstractProject.checkout(AbstractProject.java:1256)
at 
hudson.model.AbstractBuild$AbstractBuildExecution.defaultCheckout(AbstractBuild.java:589)
at jenkins.scm.SCMCheckoutStrategy.checkout(SCMCheckoutStrategy.java:88)
at 
hudson.model.AbstractBuild$AbstractBuildExecution.run(AbstractBuild.java:494)
at hudson.model.Run.execute(Run.java:1502)
at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:46)
at hudson.model.ResourceController.execute(ResourceController.java:88)
at hudson.model.Executor.run(Executor.java:236)


It seems that the submodule of the project cannot be cloned correctly. Is this 
a well known issue with GIT submodules? Any ideas how to resolve it?


Thanks in advance.




Re: Custom configuration slicing help ....

2012-09-18 Thread Jacob Robertson
The custom workspace slicer maps directly to the "Advanced Project Options
> Use custom workspace" feature of a job.

On Tue, Sep 18, 2012 at 9:42 AM, Jeff  wrote:

> I guess I misread the label for the "Custom Workspace Slicer" and assumed
> that it could set arbitrary values.
>
> Regardless, that particular option is not clear to me how to use it, at
> least I'm missing what values are expected.
> On Sep 18, 2012 8:26 AM, "Jacob Robertson" 
> wrote:
>
>> I think the wiki docs are pretty decent for this plugin.  Let me know if
>> anything is unclear.
>>
>> https://wiki.jenkins-ci.org/display/JENKINS/Configuration+Slicing+Plugin
>>
>>
>> On Tue, Sep 18, 2012 at 9:16 AM, Jeff  wrote:
>>
>>> I assumed that the custom slicer could do that.  I manually edited the
>>> config.xml files.
>>>
>>> I guess I'm missing something...what does the custom configuration
>>> slicer do?
>>> On Sep 18, 2012 7:16 AM, "Jacob Robertson" <
>>> jacob.robertson.w...@gmail.com> wrote:
>>>
 Are you saying you want to contribute code to the plugin?  (The plugin
 cannot currently do what you are describing.)  If you add an issue to JIRA
 it is possible that your change will get implemented in the next release.

 https://issues.jenkins-ci.org/browse/JENKINS/component/15597


 On Mon, Sep 17, 2012 at 5:50 PM, Jeff  wrote:

> I want to use the Configuration Slicing Plugin to enable:
>
> "Build whenever a SNAPSHOT dependency is built"
>
> for all projects.
>
> I think this correlates to the following line in the job's config.xml:
>
> false
>
> so I need to set ignorUpstremChanges from true to false in all jobs.
>
> I assume that i need to use the "Custom Workspace Slicer" but I don't
> know the syntax.
>
> Can anyone offer an example of how to do this?
>
> Thanks!!
>
> --
> Jeff Vincent
> predato...@gmail.com
> See my LinkedIn profile at:
> http://www.linkedin.com/in/rjeffreyvincent
> I ♥ DropBox  !!
>
>

>>


html markup in test result page.

2012-09-18 Thread Nathani Rk
Hi,
I am trying to include a html markup to include a screen shot as a link in 
test result page of jenkins. Follow is what I am doing in the code.

I have an errorList for soft assertion and an error is added to it 
incase if I see a mismatch between actual and expected and in case of a 
missmatch I take a screen shot and add 
errorList.add("\nError snapshot :" + error + "") so that on browser it can appear as 
link instead of test however, in jenkins testresult page I see it as a text 

Error snapshot :Error not a hyper link. can anyone tell me how to make it 
work to show as a link instead of just text.


Thanks.






Re: Custom configuration slicing help ....

2012-09-18 Thread Jeff
I guess I misread the label for the "Custom Workspace Slicer" and assumed
that it could set arbitrary values.

Regardless, that particular option is not clear to me how to use it, at
least I'm missing what values are expected.
On Sep 18, 2012 8:26 AM, "Jacob Robertson" 
wrote:

> I think the wiki docs are pretty decent for this plugin.  Let me know if
> anything is unclear.
>
> https://wiki.jenkins-ci.org/display/JENKINS/Configuration+Slicing+Plugin
>
>
> On Tue, Sep 18, 2012 at 9:16 AM, Jeff  wrote:
>
>> I assumed that the custom slicer could do that.  I manually edited the
>> config.xml files.
>>
>> I guess I'm missing something...what does the custom configuration slicer
>> do?
>> On Sep 18, 2012 7:16 AM, "Jacob Robertson" <
>> jacob.robertson.w...@gmail.com> wrote:
>>
>>> Are you saying you want to contribute code to the plugin?  (The plugin
>>> cannot currently do what you are describing.)  If you add an issue to JIRA
>>> it is possible that your change will get implemented in the next release.
>>>
>>> https://issues.jenkins-ci.org/browse/JENKINS/component/15597
>>>
>>>
>>> On Mon, Sep 17, 2012 at 5:50 PM, Jeff  wrote:
>>>
 I want to use the Configuration Slicing Plugin to enable:

 "Build whenever a SNAPSHOT dependency is built"

 for all projects.

 I think this correlates to the following line in the job's config.xml:

 false

 so I need to set ignorUpstremChanges from true to false in all jobs.

 I assume that i need to use the "Custom Workspace Slicer" but I don't
 know the syntax.

 Can anyone offer an example of how to do this?

 Thanks!!

 --
 Jeff Vincent
 predato...@gmail.com
 See my LinkedIn profile at:
 http://www.linkedin.com/in/rjeffreyvincent
 I ♥ DropBox  !!


>>>
>


Re: Custom configuration slicing help ....

2012-09-18 Thread Jacob Robertson
I think the wiki docs are pretty decent for this plugin.  Let me know if
anything is unclear.

https://wiki.jenkins-ci.org/display/JENKINS/Configuration+Slicing+Plugin


On Tue, Sep 18, 2012 at 9:16 AM, Jeff  wrote:

> I assumed that the custom slicer could do that.  I manually edited the
> config.xml files.
>
> I guess I'm missing something...what does the custom configuration slicer
> do?
> On Sep 18, 2012 7:16 AM, "Jacob Robertson" 
> wrote:
>
>> Are you saying you want to contribute code to the plugin?  (The plugin
>> cannot currently do what you are describing.)  If you add an issue to JIRA
>> it is possible that your change will get implemented in the next release.
>>
>> https://issues.jenkins-ci.org/browse/JENKINS/component/15597
>>
>>
>> On Mon, Sep 17, 2012 at 5:50 PM, Jeff  wrote:
>>
>>> I want to use the Configuration Slicing Plugin to enable:
>>>
>>> "Build whenever a SNAPSHOT dependency is built"
>>>
>>> for all projects.
>>>
>>> I think this correlates to the following line in the job's config.xml:
>>>
>>> false
>>>
>>> so I need to set ignorUpstremChanges from true to false in all jobs.
>>>
>>> I assume that i need to use the "Custom Workspace Slicer" but I don't
>>> know the syntax.
>>>
>>> Can anyone offer an example of how to do this?
>>>
>>> Thanks!!
>>>
>>> --
>>> Jeff Vincent
>>> predato...@gmail.com
>>> See my LinkedIn profile at:
>>> http://www.linkedin.com/in/rjeffreyvincent
>>> I ♥ DropBox  !!
>>>
>>>
>>


Re: Custom configuration slicing help ....

2012-09-18 Thread Jeff
I assumed that the custom slicer could do that.  I manually edited the
config.xml files.

I guess I'm missing something...what does the custom configuration slicer
do?
On Sep 18, 2012 7:16 AM, "Jacob Robertson" 
wrote:

> Are you saying you want to contribute code to the plugin?  (The plugin
> cannot currently do what you are describing.)  If you add an issue to JIRA
> it is possible that your change will get implemented in the next release.
>
> https://issues.jenkins-ci.org/browse/JENKINS/component/15597
>
>
> On Mon, Sep 17, 2012 at 5:50 PM, Jeff  wrote:
>
>> I want to use the Configuration Slicing Plugin to enable:
>>
>> "Build whenever a SNAPSHOT dependency is built"
>>
>> for all projects.
>>
>> I think this correlates to the following line in the job's config.xml:
>>
>> false
>>
>> so I need to set ignorUpstremChanges from true to false in all jobs.
>>
>> I assume that i need to use the "Custom Workspace Slicer" but I don't
>> know the syntax.
>>
>> Can anyone offer an example of how to do this?
>>
>> Thanks!!
>>
>> --
>> Jeff Vincent
>> predato...@gmail.com
>> See my LinkedIn profile at:
>> http://www.linkedin.com/in/rjeffreyvincent
>> I ♥ DropBox  !!
>>
>>
>


Jenkins load stats / monitoring

2012-09-18 Thread funkydude
Hi,

Using Jenkins v1.474 on windows

I'd like to obtain some historical stats reporting the load on my Jenkins 
CI server, showing info on the number of waiting jobs, busy executors etc - 
the load statistics page has this info, but the graphing is a bit basic and 
some of the stats I'm seeing are contradictory. Does anyone know of any 
plugin's that will provide this kind of info in a more 
presentable/configurable manner, or perhaps a simple way of getting at the 
raw data so that I can format it myself?

Thanks.


Re: Custom configuration slicing help ....

2012-09-18 Thread Jacob Robertson
Are you saying you want to contribute code to the plugin?  (The plugin
cannot currently do what you are describing.)  If you add an issue to JIRA
it is possible that your change will get implemented in the next release.

https://issues.jenkins-ci.org/browse/JENKINS/component/15597


On Mon, Sep 17, 2012 at 5:50 PM, Jeff  wrote:

> I want to use the Configuration Slicing Plugin to enable:
>
> "Build whenever a SNAPSHOT dependency is built"
>
> for all projects.
>
> I think this correlates to the following line in the job's config.xml:
>
> false
>
> so I need to set ignorUpstremChanges from true to false in all jobs.
>
> I assume that i need to use the "Custom Workspace Slicer" but I don't know
> the syntax.
>
> Can anyone offer an example of how to do this?
>
> Thanks!!
>
> --
> Jeff Vincent
> predato...@gmail.com
> See my LinkedIn profile at:
> http://www.linkedin.com/in/rjeffreyvincent
> I ♥ DropBox  !!
>
>


Re: RE: Jenkins 1.466.2 LTS Changelog

2012-09-18 Thread Vojtech Juranek
Hi,
I'm not sure how to fix changelog for already release version, but the only 
change was security bug fix, for details see [1]
Vojta

[1] https://wiki.jenkins-
ci.org/display/SECURITY/Jenkins+Security+Advisory+2012-09-17

On Tuesday 18 September 2012 07:51:44 David Aldrich wrote:
> I would also be grateful for the 1.466.2 change log.  Can it be provided
> please?
> 
> David
> 
> From: jenkinsci-users@googlegroups.com
> [mailto:jenkinsci-users@googlegroups.com] On Behalf Of SETCH, Adam Sent: 16
> September 2012 23:52
> To: jenkinsci-users@googlegroups.com
> Subject: Jenkins 1.466.2 LTS Changelog
> 
> Hi all,
> 
> I noticed that a new LTS was released on the 13th Sep - v1.466.2. Is there a
> changelog for this release. http://jenkins-ci.org/changelog-stable has
> 1.466.1 as the latest changelog.
> 
> 
> Cheers
> 
> Adam
> 
> 
> 
> 
> This e-mail is sent by Suncorp Group Limited ABN 66 145 290 124 or one of
> its related entities "Suncorp". Suncorp may be contacted at Level 18, 36
> Wickham Terrace, Brisbane or on 13 11 55 or at suncorp.com.au. The content
> of this e-mail is the view of the sender or stated author and does not
> necessarily reflect the view of Suncorp. The content, including
> attachments, is a confidential communication between Suncorp and the
> intended recipient. If you are not the intended recipient, any use,
> interference with, disclosure or copying of this e-mail, including
> attachments, is unauthorised and expressly prohibited. If you have received
> this e-mail in error please contact the sender immediately and delete the
> e-mail and any attachments from your system.
> 
> 
> Click
> here 9pkPWMUMRLSHISgp0qYMzqs7lNwyJJHovqv9LwdQMGDtFKA==> to report this email as
> spam.


Re: java.util.regex.PatternSyntaxException during publish of Selenium test results

2012-09-18 Thread TecDocPope
Hello,

it seems that i found the error:
The path of the test file is
"c:\selenium\derby\internal\application\store\E358B9DE5B7B6F19C91F1126B5F42F8CCC6F3AF9\test/DeleteRecordsTestCase.html"

Within the publishing of the selenium result file in selenium server a 
regex is used to build the test files href:

snippet.replaceFirst("\\Q" + href + "\\E", "#testresult" + i);

My path also has the pattern \E included. So there is an error during the 
quoting. I will report it in the Selenium bug tracking.

Thanks anyway. TecDocPope

Am Dienstag, 18. September 2012 09:58:51 UTC+2 schrieb TecDocPope:
>
> Hello everybody,
>
> i am using Jenkins 1.478 with the Selenium Plugins "Hudson Seleniumhq 
> plugin" and "Selenium html report". The Selenium tests are executed with 
> selenium server jar 2.25.0.
> During the publish process of the result file i get following Exception
>
> 18.09.2012 09:37:28 org.openqa.grid.selenium.GridLauncher main
> INFO: Launching a standalone server
> 09:37:28.741 INFO - Java: Sun Microsystems Inc. 20.1-b02
> 09:37:28.743 INFO - OS: Windows Server 2008 R2 6.1 x86
> 09:37:28.751 INFO - v2.25.0, with Core v2.25.0. Built from revision 17482
> 09:37:28.847 INFO - RemoteWebDriver instances should connect to: 
> http://127.0.0.1:/wd/hub
> 09:37:28.848 INFO - Version Jetty/5.1.x
> 09:37:28.849 INFO - Started 
> HttpContext[/selenium-server/driver,/selenium-server/driver]
> 09:37:28.849 INFO - Started HttpContext[/selenium-server,/selenium-server]
> 09:37:28.850 INFO - Started HttpContext[/,/]
> 09:37:28.876 INFO - Started 
> org.openqa.jetty.jetty.servlet.ServletHandler@1bd7848
> 09:37:28.876 INFO - Started HttpContext[/wd,/wd]
> 09:37:28.878 INFO - Started SocketListener on 0.0.0.0:
> 09:37:28.878 INFO - Started org.openqa.jetty.jetty.Server@134bed0
>
> jar:file:/C:/Jenkins/1.450/workspace/6000-svn-getHelperAndTestApplications/test-helper/lib/selenium-server-standalone-2.25.0.jar!/customProfileDirCUSTFFCHROME
> 09:37:29.026 INFO - Preparing Firefox profile...
> 09:37:30.415 INFO - Launching Firefox...
> 09:37:31.263 INFO - Checking Resource aliases
> 09:45:19.803 INFO - Checking Resource aliases
> 09:45:19.804 INFO - Received posted results
> 09:45:19.893 WARN - POST /selenium-server/postResults HTTP/1.1
> java.util.regex.PatternSyntaxException: Illegal/unsupported escape 
> sequence near index 135
>
> \Qfile:///c:\selenium\derby\internal\application\store\E358B9DE5B7B6F19C91F1126B5F42F8CCC6F3AF9\test/DeleteRecordsTestCase.html\E
>   
>  
> 
>   ^
> at java.util.regex.Pattern.error(Unknown Source)
> at java.util.regex.Pattern.escape(Unknown Source)
> at java.util.regex.Pattern.atom(Unknown Source)
> at java.util.regex.Pattern.sequence(Unknown Source)
> at java.util.regex.Pattern.expr(Unknown Source)
> at java.util.regex.Pattern.compile(Unknown Source)
> at java.util.regex.Pattern.(Unknown Source)
> at java.util.regex.Pattern.compile(Unknown Source)
> at java.lang.String.replaceFirst(Unknown Source)
> at 
> org.openqa.selenium.server.htmlrunner.HTMLSuiteResult.(HTMLSuiteResult.java:60)
> at 
> org.openqa.selenium.server.htmlrunner.HTMLTestResults.(HTMLTestResults.java:124)
> at 
> org.openqa.selenium.server.htmlrunner.SeleniumHTMLRunnerResultsHandler.handle(SeleniumHTMLRunnerResultsHandler.java:88)
> at org.openqa.jetty.http.HttpContext.handle(HttpContext.java:1526)
> at org.openqa.jetty.http.HttpContext.handle(HttpContext.java:1479)
> at org.openqa.jetty.http.HttpServer.service(HttpServer.java:914)
> at 
> org.openqa.jetty.http.HttpConnection.service(HttpConnection.java:820)
> at 
> org.openqa.jetty.http.HttpConnection.handleNext(HttpConnection.java:986)
> at org.openqa.jetty.http.HttpConnection.handle(HttpConnection.java:837)
> at 
> org.openqa.jetty.http.SocketListener.handleConnection(SocketListener.java:243)
> at org.openqa.jetty.util.ThreadedServer.handle(ThreadedServer.java:357)
> at org.openqa.jetty.util.ThreadPool$PoolThread.run(ThreadPool.java:534)
>
> The tests and the result publishing worked fine for the last time. I don't 
> know, why this exceptions keeps coming now. Can anybody help me to get 
> further information? 
>
> Thanks in advance



java.util.regex.PatternSyntaxException during publish of Selenium test results

2012-09-18 Thread TecDocPope
Hello everybody,

i am using Jenkins 1.478 with the Selenium Plugins "Hudson Seleniumhq 
plugin" and "Selenium html report". The Selenium tests are executed with 
selenium server jar 2.25.0.
During the publish process of the result file i get following Exception

18.09.2012 09:37:28 org.openqa.grid.selenium.GridLauncher main
INFO: Launching a standalone server
09:37:28.741 INFO - Java: Sun Microsystems Inc. 20.1-b02
09:37:28.743 INFO - OS: Windows Server 2008 R2 6.1 x86
09:37:28.751 INFO - v2.25.0, with Core v2.25.0. Built from revision 17482
09:37:28.847 INFO - RemoteWebDriver instances should connect to: 
http://127.0.0.1:/wd/hub
09:37:28.848 INFO - Version Jetty/5.1.x
09:37:28.849 INFO - Started 
HttpContext[/selenium-server/driver,/selenium-server/driver]
09:37:28.849 INFO - Started HttpContext[/selenium-server,/selenium-server]
09:37:28.850 INFO - Started HttpContext[/,/]
09:37:28.876 INFO - Started 
org.openqa.jetty.jetty.servlet.ServletHandler@1bd7848
09:37:28.876 INFO - Started HttpContext[/wd,/wd]
09:37:28.878 INFO - Started SocketListener on 0.0.0.0:
09:37:28.878 INFO - Started org.openqa.jetty.jetty.Server@134bed0
jar:file:/C:/Jenkins/1.450/workspace/6000-svn-getHelperAndTestApplications/test-helper/lib/selenium-server-standalone-2.25.0.jar!/customProfileDirCUSTFFCHROME
09:37:29.026 INFO - Preparing Firefox profile...
09:37:30.415 INFO - Launching Firefox...
09:37:31.263 INFO - Checking Resource aliases
09:45:19.803 INFO - Checking Resource aliases
09:45:19.804 INFO - Received posted results
09:45:19.893 WARN - POST /selenium-server/postResults HTTP/1.1
java.util.regex.PatternSyntaxException: Illegal/unsupported escape sequence 
near index 135
\Qfile:///c:\selenium\derby\internal\application\store\E358B9DE5B7B6F19C91F1126B5F42F8CCC6F3AF9\test/DeleteRecordsTestCase.html\E

   

  ^
at java.util.regex.Pattern.error(Unknown Source)
at java.util.regex.Pattern.escape(Unknown Source)
at java.util.regex.Pattern.atom(Unknown Source)
at java.util.regex.Pattern.sequence(Unknown Source)
at java.util.regex.Pattern.expr(Unknown Source)
at java.util.regex.Pattern.compile(Unknown Source)
at java.util.regex.Pattern.(Unknown Source)
at java.util.regex.Pattern.compile(Unknown Source)
at java.lang.String.replaceFirst(Unknown Source)
at 
org.openqa.selenium.server.htmlrunner.HTMLSuiteResult.(HTMLSuiteResult.java:60)
at 
org.openqa.selenium.server.htmlrunner.HTMLTestResults.(HTMLTestResults.java:124)
at 
org.openqa.selenium.server.htmlrunner.SeleniumHTMLRunnerResultsHandler.handle(SeleniumHTMLRunnerResultsHandler.java:88)
at org.openqa.jetty.http.HttpContext.handle(HttpContext.java:1526)
at org.openqa.jetty.http.HttpContext.handle(HttpContext.java:1479)
at org.openqa.jetty.http.HttpServer.service(HttpServer.java:914)
at org.openqa.jetty.http.HttpConnection.service(HttpConnection.java:820)
at 
org.openqa.jetty.http.HttpConnection.handleNext(HttpConnection.java:986)
at org.openqa.jetty.http.HttpConnection.handle(HttpConnection.java:837)
at 
org.openqa.jetty.http.SocketListener.handleConnection(SocketListener.java:243)
at org.openqa.jetty.util.ThreadedServer.handle(ThreadedServer.java:357)
at org.openqa.jetty.util.ThreadPool$PoolThread.run(ThreadPool.java:534)

The tests and the result publishing worked fine for the last time. I don't 
know, why this exceptions keeps coming now. Can anybody help me to get 
further information? 

Thanks in advance

RE: Jenkins 1.466.2 LTS Changelog

2012-09-18 Thread David Aldrich
I would also be grateful for the 1.466.2 change log.  Can it be provided please?

David

From: jenkinsci-users@googlegroups.com 
[mailto:jenkinsci-users@googlegroups.com] On Behalf Of SETCH, Adam
Sent: 16 September 2012 23:52
To: jenkinsci-users@googlegroups.com
Subject: Jenkins 1.466.2 LTS Changelog

Hi all,

I noticed that a new LTS was released on the 13th Sep - v1.466.2. Is there a 
changelog for this release. http://jenkins-ci.org/changelog-stable has 1.466.1 
as the latest changelog.


Cheers

Adam




This e-mail is sent by Suncorp Group Limited ABN 66 145 290 124 or one of its 
related entities "Suncorp".
Suncorp may be contacted at Level 18, 36 Wickham Terrace, Brisbane or on 13 11 
55 or at suncorp.com.au.
The content of this e-mail is the view of the sender or stated author and does 
not necessarily reflect the view of Suncorp. The content, including 
attachments, is a confidential communication between Suncorp and the intended 
recipient. If you are not the intended recipient, any use, interference with, 
disclosure or copying of this e-mail, including attachments, is unauthorised 
and expressly prohibited. If you have received this e-mail in error please 
contact the sender immediately and delete the e-mail and any attachments from 
your system.


Click 
here
 to report this email as spam.


Re: Parameterized CVS Tag Name

2012-09-18 Thread Olivier Chorier
Great, thanks a lot for your reply. I'll check the next release then.
Olivier.

2012/9/18 Fred G 

> I have the exact same problem and opened a issue for it here:
> https://issues.jenkins-ci.org/browse/JENKINS-15208
>
>
> On Monday, September 17, 2012 2:22:41 PM UTC+2, Olivier Chorier wrote:
>>
>> Well, it still happens ; average every two builds.
>> If anyone had a suggestion...
>>
>> Thanks a lot !
>>
>> Le lundi 10 septembre 2012 09:47:54 UTC+2, Olivier Chorier a écrit :
>>>
>>> It seems to be a bug.
>>> I tried once more and it worked.
>>>
>>> Olivier.
>>>
>>> Le lundi 10 septembre 2012 09:37:00 UTC+2, Olivier Chorier a écrit :

 Hello,

 I'm trying to make a new Job in Jenkins, based on CVS plugin.
 The scenario first asks for the tag name to use in CVS, and then uses
 this value in the CVS section (Jenkins' form)

 Here is how I did :
 - This build has parameters : String parameter / Name : TAGNAME /
 Default Value ; Description
 - In source code management, I selected "CVS" and typed ${TAGNAME} in
 the Tag Name field (I saw the syntax in a blog after googling).

 It worked last week, but today I have the following error :

> FATAL: Illegal repetition near index 0
> ${TAGNAME}: (([0-9]+\.)+)0\.([0-9]+)
> ^java.util.regex.**PatternSyntaxException 
> :
>  Illegal repetition near index 0
> ${TAGNAME}: (([0-9]+\.)+)0\.([0-9]+)
> ^
>   at java.util.regex.Pattern.error(**Pattern.java:1713)
>   at java.util.regex.Pattern.**closure(Pattern.java:2775)
>   at java.util.regex.Pattern.**sequence(Pattern.java:1889)
>   at java.util.regex.Pattern.expr(**Pattern.java:1752)
>   at java.util.regex.Pattern.**compile(Pattern.java:1460)
>   at java.util.regex.Pattern.**(Pattern.java:1133)
>   at java.util.regex.Pattern.**compile(Pattern.java:847)
>   at 
> hudson.scm.CvsChangeLogHelper.**getCurrentFileVersion(**CvsChangeLogHelper.java:266)
>   at 
> hudson.scm.CvsChangeLogHelper.**mapCvsLog(CvsChangeLogHelper.**java:151)
>   at hudson.scm.CVSSCM.**calculateChangeLog(CVSSCM.**java:419)
>   at hudson.scm.CVSSCM.checkout(**CVSSCM.java:831)
>   at hudson.model.AbstractProject.**checkout(AbstractProject.java:**1248)
>   at 
> hudson.model.AbstractBuild$**AbstractBuildExecution.**defaultCheckout(AbstractBuild.**java:589)
>   at 
> jenkins.scm.**SCMCheckoutStrategy.checkout(**SCMCheckoutStrategy.java:88)
>   at 
> hudson.model.AbstractBuild$**AbstractBuildExecution.run(**AbstractBuild.java:494)
>   at hudson.model.Run.execute(Run.**java:1484)
>   at hudson.model.FreeStyleBuild.**run(FreeStyleBuild.java:46)
>   at 
> hudson.model.**ResourceController.execute(**ResourceController.java:88)
>   at hudson.model.Executor.run(**Executor.java:236)
>
>
 Thanks for help !

>>>