Re: Source safe configuration

2013-07-23 Thread blaz
I'm guessing you are running Jenkins on Windows, probably as service. By 
default service is configured to run under system account. You should use 
dedicated account to run Jenkins and make sure that this account is 
properly configured to access SourceSafe.
Best approach would be to login to build server with Jenkins account and 
start Jenkins from command line. When everything is working fine you can 
run Jenkins as service.

-- 
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...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.




sftp

2013-07-23 Thread Welsh, Neil
Hi All,

from my understanding publish sftp on Jenkins will only send files to a remote 
server?  I am after the opposite.  we have a file on a server which I want to 
be able to pull onto the Jenkins server but im not sure if it is possible using 
Jenkins or not?  has anyone done this before?  or will I need to create a 
script?

a bit of background our Jenkins instance is running on a windows 2008 server 
and the box I wont to get a file from is Solaris.

my thoughts to get this onto the box would be to have a cigwin script which 
sftps to the Solaris box and pulls it to a dir where Jenkins can use it?

Cheers,
Neil

-- 
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...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.




Weird SSH slave bug

2013-07-23 Thread Nigel Magnay
I have a job that has been running for a while, and the sidebar reports it
as running on slave 'jenkins-2'.

This is an SSH slave. The connection, IP c all look fine.

The job is taking a while, So I look at the logfile. It reports:

No such file: 
/home/jenkins/.jenkins/jobs/gerrit-preflight/builds/2013-07-23_06-40-53/log


Umm. So then I notice


Started 3 hr 11 min ago
Build has been executing for 3 hr 11 min on master



Which is odd - we never run jobs on master.

So there seems to be some discrepancy - part of Jenkins thinks it's
running on a slave, and some other part thinks it isn't.

(Latest versions of Jenkins  all plugins...)

-- 
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...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.




custom multi-line warnings parser

2013-07-23 Thread Roland Schulz
Hi,

I would like to define a custom multi-line warnings parser. Searching for 
the question I have found that screenshots show a Multi-line support 
checkbox. Both with versions 4.27 and 418 I don't see that option. I tried 
a multi-line regex (?s)CMake Warning at (.*):(\d+) \((.*)\):\s*(.*?)--. 
In the preview it works correctly but for the job it doesn't find the 
warning. It works correctly with the single line regex CMake (.*?) at 
(.*?):(\d+) \((.*?)\):(.*). Should I see the checkbox? Is multi-line regex 
still supported? Should this regex work.

Also I have non-unique relative filenames. I found issue 
JENKINS-10596https://issues.jenkins-ci.org/browse/JENKINS-10596 which 
is marked as resolved. It seems only resolved specific for gcc+make. Is it 
possible to solve this for a custom parser?

Roland

-- 
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...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.




Re: Weird SSH slave bug

2013-07-23 Thread Nigel Magnay
Further diagnosis:

- the project view shows two jobs building. But the main view showed only
one.

Restarting Jenkins, there's still some odd behaviour:

- I have multiple slaves (jenkins-1  jenkins-5).

Only jenkins-2 is building, everything else is idle. Builds in the queue
say they are being blocked by the build on jenkins-2 (they are not - jobs
are not tied).

When that job finishes, the queue drains, starting jobs on jenkins-1
jenkins5).

This is all very strange..


On Tue, Jul 23, 2013 at 10:54 AM, Nigel Magnay nigel.mag...@gmail.comwrote:

 I have a job that has been running for a while, and the sidebar reports it
 as running on slave 'jenkins-2'.

 This is an SSH slave. The connection, IP c all look fine.

 The job is taking a while, So I look at the logfile. It reports:

 No such file: 
 /home/jenkins/.jenkins/jobs/gerrit-preflight/builds/2013-07-23_06-40-53/log


 Umm. So then I notice


 Started 3 hr 11 min ago
 Build has been executing for 3 hr 11 min on master



 Which is odd - we never run jobs on master.

 So there seems to be some discrepancy - part of Jenkins thinks it's running 
 on a slave, and some other part thinks it isn't.

 (Latest versions of Jenkins  all plugins...)




-- 
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...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.




[1.509.2 LTS] Job changing oprations take ages to finish

2013-07-23 Thread Steffen Breitbach
Hi everyone!

We're running 1.509.2 LTS inside a Tomcat 6.0.36 with Java 7u25-b15
(altough we also had this problem with 1.509.1 and 7u09) on a Linux
machine.

Operations that change jobs like changing the configuration or renaming
take ages to finish. Eventually the action will terminate, but it takes
10 minutes or more to finish.

There is no evidence in the Jenkins logs, System load is reasonalby low
and I can't detect any deadlocked threads.

I already tried to get a full heap dump but this will crash the VM after
only a few megabytes.

Do you have any idea what might be happening?

Regards
  Steffen

-- 
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...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.




Jenkins 1.509.2 upgrade anomaly - missing jobs

2013-07-23 Thread Bob Bick
Hi,

I upgraded Jenkins from 1.466.12 to 1.509.2. After restarting the Jenkins 
Tomcat server, almost all of the Jobs disappeared from the Jenkins web 
interface. 

The file system still showed that all of the jobs; however, they disappeared 
from the UI. After I restored 1.466.12, the jobs appeared in the Jenkins Web 
interface.

We are using Jenkins Enterprise from CloudBees. Has anyone else seen that 
behavior (i.e. Jobs missing after doing an upgrade)? If so, any ideas on how to 
resolve this?

Thanks,
Bob

*** *** ***
This message contains information which may be confidential and privileged. 
Unless you are the addressee (or authorized to receive for the addressee), you 
may not use, copy or disclose to anyone the message or any information 
contained in the message. If you have received the message in error,  please 
advise the sender by reply e-mail and delete the message.

-- 
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...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.




RE: Jenkins 1.509.2 upgrade anomaly - missing jobs

2013-07-23 Thread david.doughty
I would suggest that some of the core plugins need upgrading at the sametime;

I had exactly the same issue upgrading to 1.509.1 (Enterprise from Cloudbees); 
I upgraded to 1.509.1 and then started upgrading the cloudbees  nectar 
plugins, until all my jobs reappeared :O)

dD

-Original Message-
From: jenkinsci-users@googlegroups.com 
[mailto:jenkinsci-users@googlegroups.com] On Behalf Of Bob Bick
Sent: 23 July 2013 13:44
To: jenkinsci-users@googlegroups.com
Subject: Jenkins 1.509.2 upgrade anomaly - missing jobs

Hi,

I upgraded Jenkins from 1.466.12 to 1.509.2. After restarting the Jenkins 
Tomcat server, almost all of the Jobs disappeared from the Jenkins web 
interface. 

The file system still showed that all of the jobs; however, they disappeared 
from the UI. After I restored 1.466.12, the jobs appeared in the Jenkins Web 
interface.

We are using Jenkins Enterprise from CloudBees. Has anyone else seen that 
behavior (i.e. Jobs missing after doing an upgrade)? If so, any ideas on how to 
resolve this?

Thanks,
Bob

*** *** ***
This message contains information which may be confidential and privileged. 
Unless you are the addressee (or authorized to receive for the addressee), you 
may not use, copy or disclose to anyone the message or any information 
contained in the message. If you have received the message in error,  please 
advise the sender by reply e-mail and delete the message.

-- 
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...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.


This e-mail and any attachments are confidential and intended
solely for the addressee and may also be privileged or exempt from
disclosure under applicable law. If you are not the addressee, or
have received this e-mail in error, please notify the sender
immediately, delete it from your system and do not copy, disclose
or otherwise act upon any part of this e-mail or its attachments.

Internet communications are not guaranteed to be secure or
virus-free.
The Barclays Group does not accept responsibility for any loss
arising from unauthorised access to, or interference with, any
Internet communications by any third party, or from the
transmission of any viruses. Replies to this e-mail may be
monitored by the Barclays Group for operational or business
reasons.

Any opinion or other information in this e-mail or its attachments
that does not relate to the business of the Barclays Group is
personal to the sender and is not given or endorsed by the Barclays
Group.

Barclays Bank PLC. Registered in England and Wales (registered no.
1026167).
Registered Office: 1 Churchill Place, London, E14 5HP, United
Kingdom.

Barclays Bank PLC is authorised by the Prudential Regulation
Authority and regulated by the Financial Conduct Authority and the
Prudential Regulation Authority (Financial Services Register No.
122702).

-- 
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...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.




Jenkins Testflight plugin error

2013-07-23 Thread Johnny


Hi,

I have been using the Jenkins test flight plugin to upload my builds to 
test flight and it was working fine till yesterday, but from today I am 
seeing the following error:

 

POST Request: 
testflight.TestflightUploader$UploadRequest@175327f0[filePaths=,dsymPath=,apiToken=,teamToken=,notifyTeam=false,buildNotes=newbuild
 available 
,file=/Users/automation/.jenkins/jobs/Test/workspace/build/test.ipa,dsymFile=null,lists=AppDistributionList,replace=false,proxyHost=null,proxyUser=null,proxyPass=,proxyPort=0,debug=true]

java.util.NoSuchElementException

java.util.NoSuchElementException

 at java.util.Scanner.throwFor(Scanner.java:838)

 at java.util.Scanner.next(Scanner.java:1347)

 at 
testflight.TestflightUploader.upload(TestflightUploader.java:144)

 at 
testflight.TestflightRemoteRecorder.uploadWith(TestflightRemoteRecorder.java:67)

 at 
testflight.TestflightRemoteRecorder.call(TestflightRemoteRecorder.java:44)

 at hudson.remoting.LocalChannel.call(LocalChannel.java:45)

 at 
testflight.TestflightRecorder.perform(TestflightRecorder.java:180)

 at 
hudson.tasks.BuildStepMonitor$1.perform(BuildStepMonitor.java:19)

 at 
hudson.model.AbstractBuild$AbstractBuildExecution.perform(AbstractBuild.java:804)

 at 
hudson.model.AbstractBuild$AbstractBuildExecution.performAllBuildSteps(AbstractBuild.java:776)

 at hudson.model.Build$BuildExecution.post2(Build.java:183)

 at 
hudson.model.AbstractBuild$AbstractBuildExecution.post(AbstractBuild.java:726)

 at hudson.model.Run.execute(Run.java:1600)

 at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:46)

 at 
hudson.model.ResourceController.execute(ResourceController.java:88)

 at hudson.model.Executor.run(Executor.java:241)

 

I tried uploading the build manually through the website, and it is 
working. Also I had my Jenkins and all the plugins upgraded to latest 
version, but it is still giving me the same error. Please help!

Jenkins Version: 1.515 (Tried with 1.523 also but not working)

Testflight plugin version: 1.3.8


Thanks,

-- 
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...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.




Historical comparison/animation?

2013-07-23 Thread Greg Moncreaff
Is there any way, for a job splash page or dashboard view, or plugin view, 
to
have Jenkins/plugin be able to generate that presentation for an arbitrary 
date?
 
You basically get a where are we right now presentation with everything,
with maybe some basic delta from previous build,
but sometimes you (or more likely your manager) 
wants to compare that with where you were in the past?
 
Are you getting better or worse? by how much? in what areas?

-- 
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...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.




Re:Jenkins 1.509.2 upgrade anomaly - missing jobs

2013-07-23 Thread Kevin Fleming (BLOOMBERG/ 731 LEXIN)
Most likely if you review the system log you'll see that your jobs could not be 
loaded because one or more plugins are required and they are not present; as 
another poster said, you'll need to go into the Update Center in the new 
Jenkins version and fully upgrade all of your plugins. Doing so will probably 
resolve your problem.

- Original Message -
From: jenkinsci-users@googlegroups.com
To: jenkinsci-users@googlegroups.com
At: Jul 23 2013 08:44:45

Hi,

I upgraded Jenkins from 1.466.12 to 1.509.2. After restarting the Jenkins 
Tomcat server, almost all of the Jobs disappeared from the Jenkins web 
interface. 

The file system still showed that all of the jobs; however, they disappeared 
from the UI. After I restored 1.466.12, the jobs appeared in the Jenkins Web 
interface.

We are using Jenkins Enterprise from CloudBees. Has anyone else seen that 
behavior (i.e. Jobs missing after doing an upgrade)? If so, any ideas on how to 
resolve this?

Thanks,
Bob

*** *** ***
This message contains information which may be confidential and privileged. 
Unless you are the addressee (or authorized to receive for the addressee), you 
may not use, copy or disclose to anyone the message or any information 
contained in the message. If you have received the message in error,  please 
advise the sender by reply e-mail and delete the message.

-- 
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...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.


-- 
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...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.




RE: Re:Jenkins 1.509.2 upgrade anomaly - missing jobs

2013-07-23 Thread Bob Bick
Thanks!

I will give this a try tonight.

Bob

From: jenkinsci-users@googlegroups.com 
[mailto:jenkinsci-users@googlegroups.com] On Behalf Of Kevin Fleming 
(BLOOMBERG/ 731 LEXIN)
Sent: Tuesday, July 23, 2013 9:38 AM
To: jenkinsci-users@googlegroups.com
Subject: Re:Jenkins 1.509.2 upgrade anomaly - missing jobs

Most likely if you review the system log you'll see that your jobs could not be 
loaded because one or more plugins are required and they are not present; as 
another poster said, you'll need to go into the Update Center in the new 
Jenkins version and fully upgrade all of your plugins. Doing so will probably 
resolve your problem.

- Original Message -
From: jenkinsci-users@googlegroups.commailto:jenkinsci-users@googlegroups.com
To: jenkinsci-users@googlegroups.commailto:jenkinsci-users@googlegroups.com
At: Jul 23 2013 08:44:45
Hi,

I upgraded Jenkins from 1.466.12 to 1.509.2. After restarting the Jenkins 
Tomcat server, almost all of the Jobs disappeared from the Jenkins web 
interface.

The file system still showed that all of the jobs; however, they disappeared 
from the UI. After I restored 1.466.12, the jobs appeared in the Jenkins Web 
interface.

We are using Jenkins Enterprise from CloudBees. Has anyone else seen that 
behavior (i.e. Jobs missing after doing an upgrade)? If so, any ideas on how to 
resolve this?

Thanks,
Bob

*** *** ***
This message contains information which may be confidential and privileged. 
Unless you are the addressee (or authorized to receive for the addressee), you 
may not use, copy or disclose to anyone the message or any information 
contained in the message. If you have received the message in error, please 
advise the sender by reply e-mail and delete the message.

--
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...@googlegroups.commailto:jenkinsci-users+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.

--
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...@googlegroups.commailto:jenkinsci-users+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.



*** *** ***
This message contains information which may be confidential and privileged. 
Unless you are the addressee (or authorized to receive for the addressee), you 
may not use, copy or disclose to anyone the message or any information 
contained in the message. If you have received the message in error,  please 
advise the sender by reply e-mail and delete the message.

-- 
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...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.




Jenkins and Gitlab

2013-07-23 Thread johncoltrane39
Hi All,

I'm trying to connect Jenkins with Gitlab 5.1. I have seen 
https://wiki.jenkins-ci.org/display/JENKINS/Gitolite but in Gitlab 5.1 
gitolite is dropped in favour of git-shell. Has anybody a kind of recipe 
like the one in the wiki how Jenkins could be connected to Gitlab  5.0 
(with git-shell) ?

Thanks in advance,

-John

-- 
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...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.




doesn't look like a JNLP file ?

2013-07-23 Thread fishnochips
I get this error message

Failing to obtain 
http://my.jenkins.com/jenkins/computer/my-computer/slave-agent.jnlp?encrypt=true
java.io.IOException: 
http://my.jenkins.com/jenkins/computer/my-computer/slave-agent.jnlp?encrypt=true
 
doesn't look like a JNLP file; content type was text/HTML; 
charset=iso-8859-1
  at hudson.rempting.Launcher.parseJnlpArguments(Launcher.java:292)

I used the command found on the jenkins page for my slave after tweaking it 
[1] because I downloaded slave.jar to a particular directory
[2] because my slave needs to use FQDN to refer to the jenkins master

So my command was 

java -jar /some/directory/slave.jar -jnlpUrl 
http://my.jenkins.com/jenkins/computer/my-computer/slave-agent-jnlp -secret 
thesecretfoundonthepageformyslave

The slave is a Mac. The master is a linux box running Jenkins ver. 1.523

What should I do differently? 

-- 
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...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.




Re: Historical comparison/animation?

2013-07-23 Thread Tom D'Aurizio
What kind of information are you looking to trend?   If it's code quality, 
Sonar might be a good fit.   http://www.sonarqube.org

It's easily integrated with Jenkins and will give you trend information on 
a large number of code related metrics.  You can select the values you care 
most about, plot them on a timeline and even throw in milestones to 
designate significant releases, changes in underlying libraries that 
prompted code changes, etc.   



On Tuesday, July 23, 2013 9:24:57 AM UTC-4, Greg Moncreaff wrote:

 Is there any way, for a job splash page or dashboard view, or plugin view, 
 to
 have Jenkins/plugin be able to generate that presentation for an arbitrary 
 date?
  
 You basically get a where are we right now presentation with everything,
 with maybe some basic delta from previous build,
 but sometimes you (or more likely your manager) 
 wants to compare that with where you were in the past?
  
 Are you getting better or worse? by how much? in what areas?


-- 
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...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.




Unique Identifier for Jenkins Projects

2013-07-23 Thread Michael Barbine
Hello,

Does any one know of a place or a field in Jenkins that is static and
unique for each project in the projects list in Jenkins?

Is there a plugin out there that would give me a unique identifier for the
project?

The project name itself is not unique due to the fact that if you rename
the job all of the data about the job is renamed without and effictively 
leaves no trace of the old project name (that I know of). When that happens 
my database plugin (that I am almost finished developing) starts over as if 
it is a new job. I'd like to continue trending the info with the new name. 




For example -

I have a table full of the API/XML for ProjectX
When I rename ProjectX to ProjectY Jenkins see's that ProjectX no longer
exists and renames the entire job.

If I am keeping a history of all of the API/XML and a job is renamed then I
lost track of the history.

What I would need is something like -

Project# 1234
ProjectName *ProjectX*
Build# 45

Then when it is renamecd

Project# 1234
ProjectName* ProjectY*
Build# 45 



I'm currently scraping the data off of of this URL to grab project 
information 

http://JenkinsServer/view/All/cc.xml 

-- 
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...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.




Re:Unique Identifier for Jenkins Projects

2013-07-23 Thread Kevin Fleming (BLOOMBERG/ 731 LEXIN)
I don't believe that such a data element exists. In Jenkins, the project name 
is the key for everything.

- Original Message -
From: jenkinsci-users@googlegroups.com
To: jenkinsci-users@googlegroups.com
At: Jul 23 2013 13:09:50

Hello,

Does any one know of a place or a field in Jenkins that is static and
unique for each project in the projects list in Jenkins?

Is there a plugin out there that would give me a unique identifier for the
project?

The project name itself is not unique due to the fact that if you rename
the job all of the data about the job is renamed without and effictively leaves 
no trace of the old project name (that I know of). When that happens my 
database plugin (that I am almost finished developing) starts over as if it is 
a new job. I'd like to continue trending the info with the new name. 


For example -

I have a table full of the API/XML for ProjectX
When I rename ProjectX to ProjectY Jenkins see's that ProjectX no longer
exists and renames the entire job.

If I am keeping a history of all of the API/XML and a job is renamed then I
lost track of the history.

What I would need is something like -

Project# 1234
ProjectName ProjectX
Build# 45

Then when it is renamecd

Project# 1234
ProjectName ProjectY
Build# 45 


I'm currently scraping the data off of of this URL to grab project information 

http://JenkinsServer/view/All/cc.xml 
 -- 
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...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.
 
 

-- 
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...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.




Re: [1.509.2 LTS] Job changing oprations take ages to finish

2013-07-23 Thread Daniel Beck
Try accessing /threadDump in another browser tab while it's saving, and search 
for '/configSubmit' -- it'll give you an idea why it takes so long.

I was experiencing a similar issue a few days ago. Are you using Job Config 
History plugin, maybe Copy Artifact plugin as well? There's a bug in Copy 
Artifact's current release that was fixed in 
https://github.com/jenkinsci/copyartifact-plugin/commit/f149daaaf26d83c4126f13b41e4965997ed3c45a
 which caused all projects to be saved whenever one was renamed.

Job Config History's implementation of 'Do not save duplicate history' is 
rather inefficient, as it checks every existing history entry of the item 
you're saving. If your instance has a few thousand history entries for the 
global config.xml, that'll cause saving that to take quite long. And if you 
rename jobs, with Copy Artifact causing all jobs to be saved... well...

If it's indeed the save listener in Job Config History, consider one or more of 
the following:

- Limit history to fewer entries than you have now (check the folders on disk 
for the number of saved states)
- Update Copy Artifact to a snapshot with the linked fix
- Disable 'Do not save duplicate history'

On 23.07.2013, at 14:22, Steffen Breitbach steffen.breitb...@1und1.de wrote:

 Hi everyone!
 
 We're running 1.509.2 LTS inside a Tomcat 6.0.36 with Java 7u25-b15
 (altough we also had this problem with 1.509.1 and 7u09) on a Linux
 machine.
 
 Operations that change jobs like changing the configuration or renaming
 take ages to finish. Eventually the action will terminate, but it takes
 10 minutes or more to finish.
 
 There is no evidence in the Jenkins logs, System load is reasonalby low
 and I can't detect any deadlocked threads.
 
 I already tried to get a full heap dump but this will crash the VM after
 only a few megabytes.
 
 Do you have any idea what might be happening?
 
 Regards
  Steffen
 
 -- 
 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...@googlegroups.com.
 For more options, visit https://groups.google.com/groups/opt_out.
 
 
 

-- 
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...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.




Help with BuildResultTrigger Plugin behavior

2013-07-23 Thread Eduardo Dias
Hi All,

I am using the BuildResultTrigger Plugin, to trigger if a build happened is
success during the day and promote the last build to next step.
The problem that I am experiencing is that if I have a build and the
Jenkins is rebooted for any reaso before the trigger time, the trigger
doesn´t work.

Any help will appreciated.

Regards,

Eduardo

-- 
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...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.




Re: Job Config History Plugin and Jenkins Enterprise from CloudBees

2013-07-23 Thread ehas...@transunion.com
One problem I ran into when using this is that the Move action didn't work
through the UI at first, so I moved the jobs in the jobs directory by
hand.  I then realized that there is a parallel directory structure under
the config-history directory, and all of those need to be moved too.




--
View this message in context: 
http://jenkins-ci.361315.n4.nabble.com/Job-Config-History-Plugin-and-Jenkins-Enterprise-from-CloudBees-tp4666783p4674210.html
Sent from the Jenkins users mailing list archive at Nabble.com.

-- 
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...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.




Indefinite Jenkins CI Server contract opportunity in Tampa, FL

2013-07-23 Thread alyssa . m . sebastian
I have a big client in the Tampa area that is looking for a Jenkins expert. 
If you are looking for new opportunities or know anyone that is, feel free 
to contact me for more information at asebast...@techusa.net !

-- 
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...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.




Re: Jenkins Testflight plugin error

2013-07-23 Thread mtjake
I am also having this issue today. Jenkins version 1.514 and Testflight
plugin version 1.3.5. Would also be interested in ideas for a solution.

Thanks.



--
View this message in context: 
http://jenkins-ci.361315.n4.nabble.com/Jenkins-Testflight-plugin-error-tp4674121p4674212.html
Sent from the Jenkins users mailing list archive at Nabble.com.

-- 
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...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.




Run existing AVD using Android Emulator Plugin

2013-07-23 Thread Ling-Yi Kung
Hello! I'm trying to specify an AVD for the emulator plugin to run, but it 
seems to be looking in the wrong place.

I have an AVD called Image - it is located in ~/.android/avd/Image.ini 
and ~/.android/avd/Image.avd as normal.

After ticking Run an Android emulator during build and inputing Image 
in the AVD name field, running the job gives me this error:

*13:00:03* FATAL: 
/Users/lkung/workspace/appium-android-test/.android/avd/Image.ini (No such file 
or directory)


The plugin is looking in the workspace rather than the Android AVD 
directory. How do I solve this? I've tried inputting the full path as an 
environment variable, but that did not work.

-- 
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...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.




Re: Unique Identifier for Jenkins Projects

2013-07-23 Thread Eric Pyle
I think Kevin is right about this. The only way I could see to make a 
connection is to catch the event when a job is renamed. It does throw up 
an Are you sure alert, so I wonder if you could piggyback on that code 
in your extension, and send an update to your database. Looks like 
hudson/model/Job/rename.jelly may be the spot, though I am not really up 
on how things like this work behind the scenes.


Regards,
Eric


On 7/23/2013 1:51 PM, Kevin Fleming (BLOOMBERG/ 731 LEXIN) wrote:
I don't believe that such a data element exists. In Jenkins, the 
project name is the key for everything.


- Original Message -
From: jenkinsci-users@googlegroups.com 
mailto:jenkinsci-users@googlegroups.com
To: jenkinsci-users@googlegroups.com 
mailto:jenkinsci-users@googlegroups.com

At: Jul 23 2013 13:09:50

Hello,

Does any one know of a place or a field in Jenkins that is static and
unique for each project in the projects list in Jenkins?

Is there a plugin out there that would give me a unique identifier
for the
project?

The project name itself is not unique due to the fact that if you
rename
the job all of the data about the job is renamed without and
effictively leaves no trace of the old project name (that I know
of). When that happens my database plugin (that I am almost
finished developing) starts over as if it is a new job. I'd like
to continue trending the info with the new name.




For example -

I have a table full of the API/XML for ProjectX
When I rename ProjectX to ProjectY Jenkins see's that ProjectX no
longer
exists and renames the entire job.

If I am keeping a history of all of the API/XML and a job is
renamed then I
lost track of the history.

What I would need is something like -

Project# 1234
ProjectName *ProjectX*
Build# 45

Then when it is renamecd

Project# 1234
ProjectName*ProjectY*
Build# 45



I'm currently scraping the data off of of this URL to grab project
information

http://JenkinsServer/view/All/cc.xml
-- 
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...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.


--
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...@googlegroups.com.

For more options, visit https://groups.google.com/groups/opt_out.




--
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...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.




Re: Unique Identifier for Jenkins Projects

2013-07-23 Thread Stephen Connolly
The best I can think of is to add a hidden reconfigurable property that
stores a UUID...

It would need some guards, eg

If a job is copied, generate a new UUID

If a job is modified by POST of the config.xml, generate a new UUID if
there is already a different UUID for a job in the instance.

Not unpossible but a bit of a pain

- Stephen

On Tuesday, 23 July 2013, Eric Pyle wrote:

  I think Kevin is right about this. The only way I could see to make a
 connection is to catch the event when a job is renamed. It does throw up an
 Are you sure alert, so I wonder if you could piggyback on that code in
 your extension, and send an update to your database. Looks like
 hudson/model/Job/rename.jelly may be the spot, though I am not really up on
 how things like this work behind the scenes.

 Regards,
 Eric


 On 7/23/2013 1:51 PM, Kevin Fleming (BLOOMBERG/ 731 LEXIN) wrote:

  I don't believe that such a data element exists. In Jenkins, the project
 name is the key for everything.

 - Original Message -
 From: jenkinsci-users@googlegroups.com javascript:_e({}, 'cvml',
 'jenkinsci-users@googlegroups.com');
 To: jenkinsci-users@googlegroups.com javascript:_e({}, 'cvml',
 'jenkinsci-users@googlegroups.com');
 At: Jul 23 2013 13:09:50

 Hello,

 Does any one know of a place or a field in Jenkins that is static and
 unique for each project in the projects list in Jenkins?

 Is there a plugin out there that would give me a unique identifier for the
 project?

 The project name itself is not unique due to the fact that if you rename
 the job all of the data about the job is renamed without and effictively
 leaves no trace of the old project name (that I know of). When that happens
 my database plugin (that I am almost finished developing) starts over as if
 it is a new job. I'd like to continue trending the info with the new name.




 For example -

 I have a table full of the API/XML for ProjectX
 When I rename ProjectX to ProjectY Jenkins see's that ProjectX no longer
 exists and renames the entire job.

 If I am keeping a history of all of the API/XML and a job is renamed then I
 lost track of the history.

 What I would need is something like -

 Project# 1234
 ProjectName *ProjectX*
 Build# 45

 Then when it is renamecd

 Project# 1234
 ProjectName* ProjectY*
 Build# 45



 I'm currently scraping the data off of of this URL to grab project
 information

 http://JenkinsServer/view/All/cc.xml
 --
 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...@googlegroups.com javascript:_e({},
 'cvml', 'jenkinsci-users+unsubscr...@googlegroups.com');.
 For more options, visit https://groups.google.com/groups/opt_out.



   --
 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...@googlegroups.com javascript:_e({},
 'cvml', 'jenkinsci-users+unsubscr...@googlegroups.com');.
 For more options, visit https://groups.google.com/groups/opt_out.




  --
 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...@googlegroups.com javascript:_e({},
 'cvml', 'jenkinsci-users%2bunsubscr...@googlegroups.com');.
 For more options, visit https://groups.google.com/groups/opt_out.





-- 
Sent from my phone

-- 
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...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.




Re: Historical comparison/animation?

2013-07-23 Thread Richard Bywater
I second that - unless you store all builds going back to the past, you
won't be able to see the trends in the various plugins. Also the more
builds you have the slower Jenkins starts I've found although perhaps that
has been solved since the version I've been using?

Richard.


On Wed, Jul 24, 2013 at 4:11 AM, Tom D'Aurizio dauri...@gmail.com wrote:

 What kind of information are you looking to trend?   If it's code quality,
 Sonar might be a good fit.   http://www.sonarqube.org

 It's easily integrated with Jenkins and will give you trend information on
 a large number of code related metrics.  You can select the values you care
 most about, plot them on a timeline and even throw in milestones to
 designate significant releases, changes in underlying libraries that
 prompted code changes, etc.



 On Tuesday, July 23, 2013 9:24:57 AM UTC-4, Greg Moncreaff wrote:

 Is there any way, for a job splash page or dashboard view, or plugin
 view, to
 have Jenkins/plugin be able to generate that presentation for an
 arbitrary date?

 You basically get a where are we right now presentation with everything,
 with maybe some basic delta from previous build,
 but sometimes you (or more likely your manager)
 wants to compare that with where you were in the past?

 Are you getting better or worse? by how much? in what areas?

  --
 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...@googlegroups.com.
 For more options, visit https://groups.google.com/groups/opt_out.




-- 
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...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.




How to setup JaCoco plugin to exclude a maven module

2013-07-23 Thread Niranjan Rao
For my deployment, I have one master pom which includes bunch of other 
modules. Basically standard setup which,  works from maven command line 
just fine.


I have setup jenkins to record JaCoCo coverage report. Problem is one 
the pom file is just a placeholder maven project which does not have any 
source associated with it. Its used for deploying multiple web 
applications in one shot. Reasoning is my deployment settings are only 
at one location. This pom declares dependency on other web applications 
and uses maven cargo plugin to deploy many war files.


When I run this in hudson, JaCoco plugin complains about missing classes 
directory.


org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute goal 
org.jacoco:jacoco-maven-plugin:0.6.1.201212231917:report (post-unit-test) on 
project qaDeployer: Execution post-unit-test of goal 
org.jacoco:jacoco-maven-plugin:0.6.1.201212231917:report failed: basedir 
/var/lib/jenkins/jobs/Snapshot_build/workspace/qaDeployer/target/classes does 
not exist
at 
org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:225)

What do I need to do so that this module is excluded from JaCoCo 
settings. I have tried settings exclusion pattern as **/qaDeployer/**/* 
but it does not help.


Regards,

Niranjan

--
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...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.