Promotion: Status Code: 400,Exception: This page expects a form submission

2013-05-31 Thread John Vacz
We have recently problem with manual promotion (/Promoted Builds/ Plugin ), Jenkins returns Status Code: 400 Exception: This page expects a form submission Does anyone see this issue? In last several days we updated Jenkin

Re: trigger job via API

2013-05-31 Thread Louis Roché
Ok, I can send params now, but I have a problem with the charset. If I send "E63H 総組立" as the value of exchange_revision, I receive "E63H �D�". My code: function httpPost(theUrl, Params) { var xmlHttp = null; xmlHttp = new XMLHttpRequest(); alert(Params); xmlHttp.open( "POST",

Re: Two Jenkins Masters for same set of slaves

2013-05-31 Thread B.Latinville
I'm using the same slaves with two different masters. Slaves are accessed via ssh. As scott says,the same slave must have different "Remote FS root" on each master configuration. If there is a risk that the two servers build the same job at the same time, you should use a custom workspace in e

Find out which project uses a specific SCM repository

2013-05-31 Thread Dirk Heinrichs
Hi, is it possible to (programmatically) find out which projects use a given (Mercurial) repository? If so, how? Thanks... Dirk [cid:image003.gif@01CB3EF6.319079E0] Dirk Heinrichs, Senior Systems Engineer, Infrastructure Recommind GmbH, Von-Liebig-Straße 1, 53359 Rheinbach Tel:

Re: Find out which project uses a specific SCM repository

2013-05-31 Thread ogondza
You can grep all config.xmls[1] (I assume that's where mercurial stores repository URLs) or use groovy console to crawl all the projects that use mercurial scm and filter out the ones with given URL. I am not familiar with the Mercurial plugin source but MercurialSCM.getSource()[2] seems li

Re: Find out which project uses a specific SCM repository

2013-05-31 Thread Dirk Heinrichs
Von: ogondza [mailto:ogon...@gmail.com] Gesendet: Freitag, 31. Mai 2013 13:07 > You can grep all config.xmls[1] (I assume that's where mercurial stores > repository URLs) Was my first idea, too, but it's not OS independent and would require a direct login on the Jenkins master. > or use groov

Re: Find out which project uses a specific SCM repository

2013-05-31 Thread Mark Waite
Could you let your server go "quiet", call wget on the notifyCommit URL, then watch which projects respond?   With the git plugin, that will tell me which jobs are using a specific repository URL, but won't tell me conclusively all the jobs using a specific repository, since there are multiple

Re: Find out which project uses a specific SCM repository

2013-05-31 Thread Stephen Connolly
Pattern repo = ...; List> result = new ArrayList>(); for (Item item: Jenkins.getInstance().getAllItems()) { if (item instanceof AbstractProject) { AbstractProject project = (AbstractProject)item; if (item.getSCM() instanceof MercurialSCM) { MercurialSCM hg = (MercurialSCM)item.getS

Re: Find out which project uses a specific SCM repository

2013-05-31 Thread Stephen Connolly
Doeth... slightly better for (AbstractProject project: Jenkins.getInstance().getAllItems(AbstractProject.class)) { if (item.getSCM() instanceof MercurialSCM) { MercurialSCM hg = (MercurialSCM)item.getSCM() if (repo.matcher().matches(hg.getSource())) result.add(project);

Javadoc plugin 1.0 displaying error in plugin manager

2013-05-31 Thread Kamal Ahmed
I installed jenkins LTS 1.501.1 via rpm, on centos 6.4 then upgraded some plugins, and start getting VERY Slow performance, so i manually removed some plugins , dont remember wich ones. Now i uninstalled and reinstalled the rpm, and then copied the core hpi files to /var/lib/jenkins/plugins/ b

Re: Javadoc plugin 1.0 displaying error in plugin manager

2013-05-31 Thread jieryn
Greetings, On Fri, May 31, 2013 at 8:09 AM, Kamal Ahmed wrote: > any idea how to resolve this ? Uninstall the TestSwarm plugin. -- You received this message because you are subscribed to the Google Groups "Jenkins Users" group. To unsubscribe from this group and stop receiving emails from it,

Re: Find out which project uses a specific SCM repository

2013-05-31 Thread Dirk Heinrichs
Great, thanks a lot! [cid:image003.gif@01CB3EF6.319079E0] Dirk Heinrichs, Senior Systems Engineer, Infrastructure Recommind GmbH, Von-Liebig-Straße 1, 53359 Rheinbach Tel: +49 2226 159 1149 Email: dirk.heinri...@recommind.com Skype: dirk.heinrichs.recommind

Re: Javadoc plugin 1.0 displaying error in plugin manager

2013-05-31 Thread Kamal Ahmed
question is how come javadoc, which is a core plugin, depending on testswarm ? > > From: jieryn >To: Jenkins Users >Sent: Friday, May 31, 2013 8:25 AM >Subject: Re: Javadoc plugin 1.0 displaying error in plugin manager > > >Greetings, > >On Fri, May 31, 201

Re: Javadoc plugin 1.0 displaying error in plugin manager

2013-05-31 Thread jieryn
Greetings, On Fri, May 31, 2013 at 9:11 AM, Kamal Ahmed wrote: > question is how come javadoc, which is a core plugin, depending on testswarm? There is absolutely no evidence that you have ever reported that even remotely links javadoc, or the Jenkins Javadoc Plugin, to the issue. So unless you

Wiki down ?

2013-05-31 Thread mpapo - Michaël Pailloncy
Hi, The wiki seems to be down : https://wiki.jenkins-ci.org/display/JENKINS/Remote+access+API = 502 Bad Gateway Michaël -- You received this message because you are subscribed to the Google Groups "Jenkins Users" group. To unsubscribe from this group and stop receiving emails from it, send

No difference in time of archiving artifacts from slave after upgrade to 1.515

2013-05-31 Thread Marcin Zajączkowski
Hi. After upgrade to 1.515 I see no difference in time of archiving artifacts from slave (which should be expected after fix JENKINS-7813). It takes Jenkins 102 seconds to copy 43MB WAR file from slave to master. The same operation with SCP takes 2 seconds - both master and slave are virtual ma

Aw: Wiki down ?

2013-05-31 Thread Christoph Kutzinski
Works for me   Gesendet: Freitag, 31. Mai 2013 um 16:28 Uhr Von: "mpapo - Michaël Pailloncy" An: jenkinsci-users@googlegroups.com Betreff: Wiki down ? Hi,   The wiki seems to be down : https://wiki.jenkins-ci.org/display/JENKINS/Remote+access+API = 502 Bad Gateway     Michaël   -- You rec

Re: Aw: Wiki down ?

2013-05-31 Thread Slide
It was down for me this morning too On May 31, 2013 7:42 AM, "Christoph Kutzinski" wrote: > Works for me > > *Gesendet:* Freitag, 31. Mai 2013 um 16:28 Uhr > *Von:* "mpapo - Michaël Pailloncy" > *An:* jenkinsci-users@googlegroups.com > *Betreff:* Wiki down ? > Hi, > > The wiki seems to be down

Re: Aw: Wiki down ?

2013-05-31 Thread mpapo - Michaël Pailloncy
It's now ok. Thanks ! Le vendredi 31 mai 2013 16:46:49 UTC+2, slide a écrit : > > It was down for me this morning too > On May 31, 2013 7:42 AM, "Christoph Kutzinski" > > wrote: > >> Works for me >> >> *Gesendet:* Freitag, 31. Mai 2013 um 16:28 Uhr >> *Von:* "mpapo - Michaël Pailloncy" > >> *

email-ext pre-send script examples

2013-05-31 Thread Chris Withers
Hi All, When can I find examples of how to use the pre-send script of the email-ext plugin? Specifically, I want to set the email recipients list based on the contents of a parameter passed to the build. How would I do that? cheers, Chris -- Simplistix - Content Management, Batch Processi

Re: email-ext pre-send script examples

2013-05-31 Thread Slide
For getting parameters, you'd want to look at the JavaDoc for AbstractBuild and go from there, the "build" variable can be used to get access to the fields. For changing recipients, you would do something like this: import javax.mail.Message.RecipientType msg.setRecipients(RecipientType.TO, 'em..

Promoted Build Plugin

2013-05-31 Thread David Weintraub
I'm having trouble finding post-deploy tasks that work with the Promoted Build plugin. For example, mail doesn't seem to work, nor does Subversion tagging, the build descriptor plugin, etc. Is there a list of plugins that work with the Promoted Build Plugin? Is there something I should be doing

Parameterizing HTTP request plugin...

2013-05-31 Thread Jeff
I have a parameterized job where I want to set a value to change a portion of the URL in the job config for the HTTP request plugin similar to: http://service/$PARAM1/schedule Where $PARAM1 is passed in when the job is scheduled. However, it doesn't get replaced. I've tried: http://s

how to get Jenkins to see my Parallels vm's?

2013-05-31 Thread David Burson
Hi, When I run: prlctl list --all from Terminal, my vm's are listed. However, when I run the same command from the Jenkins Execute shell Command, I get an empty list. How can I make Jenkins see the vm's, so Jenkins can start and stop them? Thanks, David -- You received this message because

SIGFPE Crash in Jenkins Slave 2.23

2013-05-31 Thread Todd Greer
Is there a known issue that would cause a SIGFPE crash in a Jenkins slave running on Ubuntu Linux 6.0.1? After several successful builds, we had a run of such failures. It's working again now, but I don't know why. If this isn't a known issue, I'll file a bug. siginfo:si_signo=SIGFPE: si_errn

Obtain a Maven path

2013-05-31 Thread David V
We configure our Maven installations in Jenkins using the system-wide Jenkins installer. (Manage Jenkins -> Configuration -> Maven). This works well when building Maven projects. We have two Maven installations which are used on our slaves. We need to script some Maven build steps in some Jenki

Re: Javadoc plugin 1.0 displaying error in plugin manager

2013-05-31 Thread Kamal Ahmed
this was in my original email. the way i interpret is: :file:/var/cache/jenkins/war/WEB-INF/lib/jenkins-core-1.509.1.jar could not include jelly script: file:/var/lib/jenkins/plugins/jenkins-testswarm-plugin/WEB-INF/classes/index.jelly and jenkins-testswarm-plugin is mentioned. Maybe i am mis

subversion merging with Jenkins

2013-05-31 Thread Kamal Ahmed
Hi Group, Sorry for posting a lot today, but i wanted to know your expert opinion. I have a subversion trunk that developers work on , as well as a branch RC-1 now, i want to merge changes from trunk to RC-1 every night, just to see if it is still building if not then revert What is the Jenki

Re: how to run applescript from Jenkins?

2013-05-31 Thread David Burson
Hi Pete, When I run: comm -3 <(declare | sort) <(declare -f | sort) from a terminal, it works fine, but when I run it from Jenkins' Execute shell Command, I get: syntax error near unexpected token `(' I looked at the man page for comm and I'm still lost. Any ideas? Thanks, David On Friday,

Content Encoding Error

2013-05-31 Thread Kamal Ahmed
When trying to access http://local-jenkins:8080/job/app/integration-status/? i get an error: The page you are trying to view cannot be shown because it uses an invalid or unsupported form of compression   Please contact the website owners to inform them of this problem. I am using Jenkins Je

Re: how to run applescript from Jenkins?

2013-05-31 Thread Pete Akey
That's disappointing. I just tried it again on my install and it works just fine. Try the ol' printenv command instead. They both work for me. Pete On May 31, 2013, at 2:00 PM, David Burson wrote: > Hi Pete, > > When I run: comm -3 <(declare | sort) <(declare -f | sort) > from a terminal,

Re:how to get Jenkins to see my Parallels vm's?

2013-05-31 Thread Kevin Fleming (BLOOMBERG/ 731 LEXIN)
This is not a Jenkins issue, it's an OSX/Parallels issue. Clearly the user that you are running Jenkins as does not have the same permissions that you do in your Terminal session, or there is some significant difference in the environment between those sessions. - Original Message - Fro

Re: how to get Jenkins to see my Parallels vm's?

2013-05-31 Thread David Burson
Thanks Kevin, I'm arriving at that same conclusion, but I don't know what to do about it. I'm pretty new to all this. Parallels was installed under an Admin user account. In Terminal under that account, I cd'd to my Parallels directory where I keep all the pvm's, and ran: sudo chmod -R og+r

Re: subversion merging with Jenkins

2013-05-31 Thread Derek Brown
We have big Jenkins instance running 100's of jobs all pulling source from subversion. That said I have not come across a subversion merge package for Jenkins. It seems to me that you need to write a script around the svn merge command and run it from a Jenkins job. Derek . . . On Friday, M

Re: Job migration

2013-05-31 Thread Derek Brown
To elaborate a little: As I understand it you can copy the chosen job folders from $JENKINS_HOME/jobs on one server to $JENKINS_HOME/jobs on the second server and then run "reload configuration form disk" from the Manage Jenkins page. Derek . . . On Thursday, May 30, 2013 8:35:09 AM UTC-7, Ad