Get a build number from a text file

2015-03-24 Thread Phillip Do
I am a new baby to Jenkins and I could not go all the old posts to look for what I need help ! I have a Jenkins setup and my Jenkins monitors a specific file such as the lastbuildfound.txt in builds folder. This text file contains the last successful build no. Whenever this text file is updated

configure for android on jenkins

2015-03-24 Thread Mahi Tirumala
does any body know the process to configure android web-apps test execution using jenkins thanks Mahender -- 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 an email to jen

Re: Promote jobs from test -> staging -> production

2015-03-24 Thread Jochen Hinrichsen
> > Jobs as code - beautiful. Not to say that yaml doesn't cut it, but being a > happy Gradle user the job DSL hits the sweet spot. > Awesome tip, thanks! -- You received this message because you are subscribed to the Google Groups "Jenkins Users" group. To unsubscribe from this group and st

find jobs with high polling frequency?

2015-03-24 Thread Les Mikesell
On a system with a large number of jobs configured, is there a way to find which ones are configured to poll the SCM frequently? -- Les Mikesell lesmikes...@gmail.com -- You received this message because you are subscribed to the Google Groups "Jenkins Users" group. To unsubscribe from

RE: Running Github Java Files

2015-03-24 Thread simon drake
I've not heard of source code management; something to research :-) I'll give this all a go tomorrow, thank you! -- 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 an email

Re: "Source code is unavailable" for coverage on slave nodes

2015-03-24 Thread Nir Bar
What coverage tool are you using? It depends on the tool/plugin you're using since some plugins will collect results to the master while others keep results on the slave node. On Monday, March 23, 2015 at 5:37:57 PM UTC+2, Michał Łowicki wrote: > > Hi, > > How to configure Jenkins in order to b

Re: Pubcookie and Jenkins

2015-03-24 Thread 'Michael Lupo' via Jenkins Users
There is no pub cookie plugin for Jenkins. I looked today Sent from my iPhone > On Mar 24, 2015, at 4:56 PM, Christopher Orr wrote: > > I don't believe so, but most methods of authentication (like LDAP, OAuth, > SAML) are implemented as Jenkins plugins, so it should be possible to > impleme

Re: Pubcookie and Jenkins

2015-03-24 Thread Christopher Orr
I don't believe so, but most methods of authentication (like LDAP, OAuth, SAML) are implemented as Jenkins plugins, so it should be possible to implement the same for Pubcookie. Regards, Chris On 23/03/15 17:51, mikelupo via Jenkins Users wrote: Hi, I am wondering if Jenkins supports using p

Re: Slave not connecting - Windows Server 2012 "Message not found for errorCode: 0x80010105"

2015-03-24 Thread Nir Bar
I find it easier to connect to Windows slaves using SSH. You'll need to setup a SSH server on the Windows machine, and define the environment variables you require on node configuration because SSH server doens't inherit the default Windows environment variables. בתאריך יום שני, 23 במרץ 2015 ב

RE: Running Github Java Files

2015-03-24 Thread Ginga, Dick
SCM- any Source Code Management system - we use Perforce Ant is a build scripting language. In Eclipse: File->Export->General->Ant Build Files -Original Message- From: jenkinsci-users@googlegroups.com [mailto:jenkinsci-users@googlegroups.com] On Behalf Of simon drake Sent: Tuesday, Marc

RE: Running Github Java Files

2015-03-24 Thread simon drake
Sorry what is SCM? Also I've not used Ant build files - I've heard of maven; are these similar? I'm completely confused now :-) -- 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: Running Github Java Files

2015-03-24 Thread Ginga, Dick
I have done this just once. SCM should not matter. Using Eclipse, export to an ant build.xml file. Commit that file. Pull down test sources build and run tests. These were my command lines: call "C:\apache-ant-1.9.4\bin\ant.bat" -file build.xml build call "C:\apache-ant-1.9.4\bin\ant.bat" -file

Running Github Java Files

2015-03-24 Thread simon drake
Good afternoon, Apologies if this is a very Rookie question but I have searched far and wide and haven't been able to find anything of use. I am currently writing JUnit Selenium WebDriver tests, using Eclipse, and then 'committing' to a private Github repository. I cannot seem to find any ins

Re: email-ext 2.39.3

2015-03-24 Thread Daniel Beck
The usual? http://repo.jenkins-ci.org/simple/snapshots/org/jenkins-ci/plugins/email-ext/2.39.4-SNAPSHOT/ On 24.03.2015, at 16:42, Slide wrote: > That's odd...let me double check. > > On Tue, Mar 24, 2015 at 8:19 AM nicolas de loof > wrote: > I can see a tag and release commit in > https://g

Parameterized Jenkins builds from Git Repo

2015-03-24 Thread Seb M
Hi list, we are currently using jenkins to do some deployment tasks. It works great except for one little problem: We are using the git plugin to fetch our repo. As we sometimes want to deploy a tag and sometimes a branch we added 2 parameters to the build. - One GIT_TAG which uses the Git Tag

Re: Is it OK to link config.xml files?

2015-03-24 Thread James Green
Isn't this what the job-dsl-plugin was designed to "fix"? On 24 March 2015 at 16:01, Steve K wrote: > Hello, > > I have a set of jobs that are identical, except for their names. > For example, I might have a job named "Downstream-Post-Build-Process-Dev" > and "Downstream-Post-Build-Process-Relea

RE: Is this the correct way to manage multiple SCM triggered builds?

2015-03-24 Thread Ginga, Dick
That’s true, if my Jenkins is ever down, I have a problem. From: jenkinsci-users@googlegroups.com [mailto:jenkinsci-users@googlegroups.com] On Behalf Of Brent Scriver Sent: Tuesday, March 24, 2015 12:30 PM To: jenkinsci-users@googlegroups.com Subject: Re: Is this the correct way to manage multipl

Re: Is this the correct way to manage multiple SCM triggered builds?

2015-03-24 Thread Brent Scriver
Cool, thank you! I take it that won't work though if Jenkins is unavailable for some reason however right? While polling would pick up changes when Jenkins returns? Thank you! Brent On Tue, Mar 24, 2015 at 12:22 PM, Ginga, Dick wrote: > A Perforce-side trigger (change-submit) would run once fo

RE: Is this the correct way to manage multiple SCM triggered builds?

2015-03-24 Thread Ginga, Dick
A Perforce-side trigger (change-submit) would run once for each checkin and provide the single associated changelist to sync to. I think this will give you a one-to-one job execution From: jenkinsci-users@googlegroups.com [mailto:jenkinsci-users@googlegroups.com] On Behalf Of Brent Scriver Sent

Is this the correct way to manage multiple SCM triggered builds?

2015-03-24 Thread Brent Scriver
For reference I'm on Jenkins 1.601 with Perforce Plugin v1.3.27. I have a polling interval set for H/5 * ... for Perforce SCM changes on a Job in Jenkins. I also have enabled concurrent builds for the job. If multiple checkins occur during the polling interval then multiple instances of the J

Re: How do I include console colors emitted from .NET applications (windows)

2015-03-24 Thread Brent Scriver
I did some further digging as we had a C++ app behaving the same way: emitting color in a standard console but the color doesn't appear in Jenkins. It turns out the C++ app (and presumably the C# one) is using the low level console APIs such as WriteConsole: https://msdn.microsoft.com/en-us/l

RE: Is it OK to link config.xml files?

2015-03-24 Thread Ginga, Dick
FWIW, I do the same thing but use a generic job. To avoid confusion I set the display name to indicate who/what/which job called it. so a history of the generic job could look like: Post-Build-Process-Dev-23 Post-Build-Process-Dev-22 Post-Build-Process-Dev-21 Post-Build-Process-Release-20 Post-B

Re: Is it OK to link config.xml files?

2015-03-24 Thread Stephen Connolly
The most obvious one I can see is that you will need to reload from disk after each and every change to any of the linked jobs... which will be nasty... as otherwise Jenkins will not know that the other jobs have had their configuration changes and thus will not pick up the change and if you go cha

Re: Is it OK to link config.xml files?

2015-03-24 Thread Nick Stolwijk
I don't know if that will work. Normally I use the Template Project Plugin[1] to keep different types of builds in sync. [1] https://wiki.jenkins-ci.org/display/JENKINS/Template+Project+Plugin Hth, Nick Stolwijk ~~~ Try to leave this world a little better than you found it and, when your turn

Is it OK to link config.xml files?

2015-03-24 Thread Steve K
Hello, I have a set of jobs that are identical, except for their names. For example, I might have a job named "Downstream-Post-Build-Process-Dev" and "Downstream-Post-Build-Process-Release". The upstream jobs that trigger these jobs tell the downstream job what directory to use for the processin

Re: email-ext 2.39.3

2015-03-24 Thread Slide
That's odd...let me double check. On Tue, Mar 24, 2015 at 8:19 AM nicolas de loof wrote: > I can see a tag and release commit in > https://github.com/jenkinsci/email-ext-plugin/tree/email-ext-2.39.3 but > no artifact on https://updates.jenkins-ci.org/download/plugins/email-ext/ > > Anything wron

email-ext 2.39.3

2015-03-24 Thread nicolas de loof
I can see a tag and release commit in https://github.com/jenkinsci/email-ext-plugin/tree/email-ext-2.39.3 but no artifact on https://updates.jenkins-ci.org/download/plugins/email-ext/ Anything wrong with this release ? I'm looking for a fix to JENKINS-25940 -- You received this message because y

Re: CVS Authentication failed!

2015-03-24 Thread Pavel Kudrys
Hi folks, I'm too experiencing this issue with authentication. We are using *pserver* access (instead of SSH) with username/password. No matter what, cvs plugin tries to connect via SSH. This is how looks my CVSROOT configuration: pserver:username@host:/cvsroot/path Authentication and checkout

Re: Jenkins 1.599 oracle JDK no longer populates a drop down list

2015-03-24 Thread Daniel Beck
On 24.03.2015, at 11:59, Clifford Sanders wrote: > Thanks Daniel. I also found this related Jira isuue: > > "Auto-installer for JDK no longer works": > https://issues.jenkins-ci.org/browse/JENKINS-26780 Right, it contains a bit of background info. Note that that was before the version that n

Re: Jenkins 1.599 oracle JDK no longer populates a drop down list

2015-03-24 Thread Clifford Sanders
Thanks Daniel. I also found this related Jira isuue: "Auto-installer for JDK no longer works": https://issues.jenkins-ci.org/browse/JENKINS-26780 Am Dienstag, 24. März 2015 11:50:05 UTC+1 schrieb Daniel Beck: > > > On 24.03.2015, at 11:39, Clifford Sanders > wrote: > > > Is there a Jira issue

Re: Jenkins 1.599 oracle JDK no longer populates a drop down list

2015-03-24 Thread Daniel Beck
On 24.03.2015, at 11:39, Clifford Sanders wrote: > Is there a Jira issue for the fix in 1.596? The original poster wrote that > the error still occures in 1.599. I got the versions wrong, it's 1.596.1 (LT)S and 1.600 that are fixed. They require the administrator to disable browser-based down

Re: Jenkins 1.599 oracle JDK no longer populates a drop down list

2015-03-24 Thread Clifford Sanders
Updating or restarting can't be done during office hours. I solved it by copying the file 'hudson.tools.JDKInstaller' from my local Jenkins to the 'updates' directory on the remote Jenkins. Is there a Jira issue for the fix in 1.596? The original poster wrote that the error still occures in 1.5

Re: Jenkins 1.599 oracle JDK no longer populates a drop down list

2015-03-24 Thread Daniel Beck
> > Then I looked at the file 'hudson.tools.JDKInstaller' that was mentioned in > the issue. The contents was exactly the same as the file > 'hudson.tasks.Maven.MavenInstaller' which is very strange but could be the > reason for the error. Fixed in 1.596 with server-based download. > I delete

Re: Jenkins 1.599 oracle JDK no longer populates a drop down list

2015-03-24 Thread Clifford Sanders
clicking on 'Check Now' didn't help and we are located in Germany. As Jenkins is started with '--logfile=/home/jenkins/logs/jenkins.log' you mean this logfile? Nothing relevant in there. I downloaded jenkins-1.594.war and started it locally. The drop-down was populated with all JDKs. I found t

Re: Jenkins 1.599 oracle JDK no longer populates a drop down list

2015-03-24 Thread Daniel Beck
Go to Manage Jenkins » Manage Plugins » Advanced and click 'Check Now'. If that doesn't help, check the log at /log/all for possibly relevant messages. Are you in China or a neighboring country? On 24.03.2015, at 09:59, Clifford Sanders wrote: > We use version 1.594 and have the same problem.

Re: Jenkins 1.599 oracle JDK no longer populates a drop down list

2015-03-24 Thread Clifford Sanders
The JDKs that were already configured to download from java.sun now all have the same 'JDK ID': jdk-8u40-oth-JPR (see attached screenshot) Clifford Am Dienstag, 24. März 2015 09:59:37 UTC+1 schrieb Clifford Sanders: > > We use version 1.594 and have the same problem. I attached a screenshot. > >

Re: Jenkins 1.599 oracle JDK no longer populates a drop down list

2015-03-24 Thread Clifford Sanders
We use version 1.594 and have the same problem. I attached a screenshot. Clifford -- 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 an email to jenkinsci-users+unsubscr...@g