Customize failure message in a build

2015-09-08 Thread Adrien Ruffie
Hello all,

I want to customize the failure message at the job ending (you can see it 
in attached file).
My problem is also, I have several "Script shell" steps in the same build, 
but when one of them fail, the failure job report don't specify which one 
failed ...
Do you know one mean to give one number in each "script shell" step in 
order to specify it in the failure message ?

Thank you very much and best regards.

Adrien

-- 
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.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jenkinsci-users/e9bc33be-2be2-47e5-9581-bfec0dffa101%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[Build flow plugin] How to show output console of subbuild into the main build?

2015-09-08 Thread Cyril Gandon
Hi all,

I'm using the build flow plugin 


Let's say I have 3 jobs:

job1 says 

  build( "job2")

And then, job2 says

  build( "job3")

I would like to see the output of each build in the "main" build job1.

In the ideal world, each console output should contains the output of their 
subbuilds.

job1 should contains information on job2 and job3
job2 should contains information on job3.

Is their a way to do that? I see that we have access to the variable out

You can also access some pre-defined variables in the DSL : 
>  - "out" the flow build console


But I have no idea how to use that variable to do what I need.

Thank you,

Cyril.

-- 
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.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jenkinsci-users/a62076c8-f939-4734-84a9-9bcaf86866c1%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


SCM Error with PTC Integrity plugin

2015-09-08 Thread vivek yaragatti
 

Hi all,

 

We are moving to Continuous integration with Jenkins. We use MKS Integrity 
as our source code repository(SCM) and Piketech’s - TPT as a test tool.

I created a job and followed instructions available in Jenkins website. I 
am getting an SQL Exception error with SCM plugin. 

I have tried several troubleshooting steps but all went unsuccessful such 
as downgrading the Integrity plugin version from V1.34 to V1.33 and looking 
into my configuration setup to make sure no errors in my setup.

 

My setup:

 

Jenkins: V1.609.2 run as Windows package

 

MKS integrity software: 

Integrity: 10

Build: 10.7.0.7925

API Version: 4.15.7925

 

Integrity Plugin: V1.34

 

OS: Windows

 

In Jenkins log there is an error, *ERROR 42Y55: 'DROP TABLE' cannot be 
performed on 'SCM_3A91E968_5687_47A4_BA45_2AD99E8029F3' because it does not 
exist*

 

PFA the Jenkins log and console output of the build.

 

Please let me know how to proceed further.

 

Thanks in advance! 

 


Mit freundlichen Grüßen / Kind regards

 

*Vivek Yaragatti*

 

 

*TKI Automotive GmbH*

Ein Gemeinschaftsunternehmen der Audi Electronics Venture GmbH und der 
Ipetronik Eichstätt GmbH

 

Wankelstraße 1

85080 Gaimersheim

Tel.:   +49-841-89-710400

Mob.: +49 1525 / 7710400 

-- 
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.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jenkinsci-users/e25e406e-4027-4114-b12b-390f2b7d1abe%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Sep 04, 2015 12:10:05 PM SCHWERWIEGEND hudson.scm.DerbyUtils 
cleanupProjectCacheSQLException
java.sql.SQLSyntaxErrorException: 'DROP TABLE' cannot be performed on 
'SCM_3D728E47_5312_4ABD_9251_7B0A36E41456' because it does not exist.
at 
org.apache.derby.impl.jdbc.SQLExceptionFactory.getSQLException(Unknown Source)
at org.apache.derby.impl.jdbc.Util.generateCsSQLException(Unknown 
Source)
at 
org.apache.derby.impl.jdbc.TransactionResourceImpl.wrapInSQLException(Unknown 
Source)
at 
org.apache.derby.impl.jdbc.TransactionResourceImpl.handleException(Unknown 
Source)
at org.apache.derby.impl.jdbc.EmbedConnection.handleException(Unknown 
Source)
at org.apache.derby.impl.jdbc.ConnectionChild.handleException(Unknown 
Source)
at org.apache.derby.impl.jdbc.EmbedStatement.execute(Unknown Source)
at org.apache.derby.impl.jdbc.EmbedStatement.execute(Unknown Source)
at hudson.scm.DerbyUtils.executeStmt(DerbyUtils.java:189)
at hudson.scm.DerbyUtils.cleanupProjectCache(DerbyUtils.java:479)
at 
hudson.scm.IntegrityRevisionState.(IntegrityRevisionState.java:25)
at hudson.scm.IntegritySCM.calcRevisionsFromBuild(IntegritySCM.java:569)
at 
hudson.scm.IntegritySCM.compareRemoteRevisionWith(IntegritySCM.java:896)
at hudson.scm.SCM.poll(SCM.java:397)
at hudson.model.AbstractProject._poll(AbstractProject.java:1450)
at hudson.model.AbstractProject.poll(AbstractProject.java:1353)
at hudson.triggers.SCMTrigger$Runner.runPolling(SCMTrigger.java:510)
at hudson.triggers.SCMTrigger$Runner.run(SCMTrigger.java:539)
at 
hudson.util.SequentialExecutionQueue$QueueEntry.run(SequentialExecutionQueue.java:118)
at java.util.concurrent.Executors$RunnableAdapter.call(Unknown Source)
at java.util.concurrent.FutureTask.run(Unknown Source)
at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)
Caused by: ERROR 42Y55: 'DROP TABLE' cannot be performed on 
'SCM_3D728E47_5312_4ABD_9251_7B0A36E41456' because it does not exist.
at org.apache.derby.iapi.error.StandardException.newException(Unknown 
Source)
at org.apache.derby.iapi.error.StandardException.newException(Unknown 
Source)
at 
org.apache.derby.impl.sql.compile.DDLStatementNode.justGetDescriptor(Unknown 
Source)
at 
org.apache.derby.impl.sql.compile.DDLStatementNode.getTableDescriptor(Unknown 
Source)
at 
org.apache.derby.impl.sql.compile.DDLStatementNode.getTableDescriptor(Unknown 
Source)
at 
org.apache.derby.impl.sql.compile.DropTableNode.bindStatement(Unknown Source)
at org.apache.derby.impl.sql.GenericStatement.prepMinion(Unknown Source)
at org.apache.derby.impl.sql.GenericStatement.prepare(Unknown Source)
at 
org.apache.derby.impl.sql.conn.GenericLanguageConnectionContext.prepareInternalStatement(Unknown
 Source)
... 18 more
Gestartet durch Benutzer vivek yaragatti
Baue in Arbeitsbereich C:\Program Files 
(x86)\Jenkins\jobs\BCM1_Klima_STM\workspace
Change Log: http://localhost:8080/job/BCM1_Klima_STM/42/changes
Build 

Re: Jenkins Poll-mailbox-trigger-plugin problem

2015-09-08 Thread Nick
Possibly a duplicate of this issue?

https://issues.jenkins-ci.org/browse/JENKINS-29272 - Add ability to 
continue to poll while job is running

On Thursday, 16 July 2015 13:02:02 UTC+10, skies lee wrote:
>
> Hi,
>
> We are using Poll-mailbox-trigger-plugin in Jenkins but have encountered 
> some problems. while a job is being built, sometimes the plugin does not 
> trigger new jobs which they suppose to be. We then click on the button of 
> "Test Connection" in the plugin and see there are several mails queued. 
> Does anyone get any idea about this? 
>
> However, there are two ways to temporarily recover : 
> - Restart Jenkins.
> - Disable concurrent build and re enable it.
>
>
> Here's a couple of information:
>
> Jenkins 1.612
>
> Poll-mailbox-trigger-plugin 0.16
> Execute concurrent builds if necessary : enabled
> # of executors : 30
>
> schedule value:
> # every 10 minutes between 12:00AM to 08:59AM
> H/10 0-8 * * *
> # every 1 minutes between 09:00 AM to 11:59 PM
> H/1 9-23 * * * 
>
>
> Thank you.
> Skies
>

-- 
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.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jenkinsci-users/3563c259-202e-4b9f-b5ec-8be60e106a09%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[Build-flow plugin]

2015-09-08 Thread Cyril Gandon
Hi all,

I'm using the build flow plugin 


Let's say I have 3 jobs:

job1 says 

  build( "job2")

And then, job2 says

  build( "job3")

I would like to see the output of each build in the "main" build job1.

In the ideal world, each console output should contains the output of their 
subbuilds.

job1 should contains information on job2 and job3
job2 should contains information on job3.

Is their a way to do that? I see that we have access to the variable out

You can also access some pre-defined variables in the DSL : 
>  - "out" the flow build console


But I have no idea how to use that variable to do what I need.

Thank you,

Cyril.

-- 
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.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jenkinsci-users/d85b87d8-c866-4124-80cc-a249662d932f%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: Jenkins HTTP frontend not acceccable, jenkins/java service needs most CPU/RAM capacity on jenkins service

2015-09-08 Thread jje
Don't mind second exception, explenation is marked yellow

Am Dienstag, 8. September 2015 07:44:40 UTC+2 schrieb jje:
>
> Find attached jenkins syslog. I've to admit log is pretty messy. Mainly 
> exceptions are related to following topics:
>
>- connection problems as different nodes are not 
>needed(java.net.NoRouteToHostException)
>-  java.lang.NumberFormatException related to plot plugin. Actually i 
>was wondering, why this exception appeared that much frequently - pls. 
>refer to end of log
>
> Cheers
>

This secondary issue is related to CVS file which actually provides plot 
data held legend label  name as well. This one in turn has been interpreted 
as number which actually led to this exception.

-- 
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.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jenkinsci-users/2ebb48a4-8d24-408c-8645-4bc2ec7299bb%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: periodic backup plugin - start/stop every minute

2015-09-08 Thread jje
Okay. Solved - this issue has been described in comments on jenkins wiki of 
this plugin:

https://wiki.jenkins-ci.org/display/JENKINS/PeriodicBackup+Plugin?showComments=true=true#addcomment

PeriodicBackup is indeed called every minute, and does nothing if it 
doesn't have to. It is because of how *AsyncPeriodicWork* works.

One way to avoid it in the future is using new *AsyncAperiodicWork* 
introduced in Jenkins 1.410 but the plugin will not work for users of older 
versions of Jenkins so we don't want to do it right now. 


Am Dienstag, 8. September 2015 07:47:49 UTC+2 schrieb jje:
>
> Syslog looks like this.
>
>
> Aug 23, 2015 6:50:35 AM hudson.model.AsyncPeriodicWork$1 run
> INFORMATION: Started PeriodicBackup
> Aug 23, 2015 6:50:35 AM hudson.model.AsyncPeriodicWork$1 run
> INFORMATION: Finished PeriodicBackup. 1 ms
> Aug 23, 2015 6:51:35 AM hudson.model.AsyncPeriodicWork$1 run
> INFORMATION: Started PeriodicBackup
> Aug 23, 2015 6:51:35 AM hudson.model.AsyncPeriodicWork$1 run
> INFORMATION: Finished PeriodicBackup. 0 ms
> Aug 23, 2015 6:52:35 AM hudson.model.AsyncPeriodicWork$1 run
> INFORMATION: Started PeriodicBackup
> Aug 23, 2015 6:52:35 AM hudson.model.AsyncPeriodicWork$1 run
> INFORMATION: Finished PeriodicBackup. 2 ms
> Aug 23, 2015 6:53:35 AM hudson.model.AsyncPeriodicWork$1 run
> INFORMATION: Started PeriodicBackup
> Aug 23, 2015 6:53:35 AM hudson.model.AsyncPeriodicWork$1 run
> INFORMATION: Finished PeriodicBackup. 1 ms
> Aug 23, 2015 6:54:35 AM hudson.model.AsyncPeriodicWork$1 run
> INFORMATION: Started PeriodicBackup
> Aug 23, 2015 6:54:35 AM hudson.model.AsyncPeriodicWork$1 run
> INFORMATION: Finished PeriodicBackup. 1 ms
> Aug 23, 2015 6:55:35 AM hudson.model.AsyncPeriodicWork$1 run
> INFORMATION: Started PeriodicBackup
> Aug 23, 2015 6:55:35 AM hudson.model.AsyncPeriodicWork$1 run
> INFORMATION: Finished PeriodicBackup. 0 ms
> Aug 23, 2015 6:56:35 AM hudson.model.AsyncPeriodicWork$1 run
> INFORMATION: Started PeriodicBackup
> Aug 23, 2015 6:56:35 AM hudson.model.AsyncPeriodicWork$1 run
> INFORMATION: Finished PeriodicBackup. 0 ms
> Aug 23, 2015 6:57:35 AM hudson.model.AsyncPeriodicWork$1 run
> INFORMATION: Started PeriodicBackup
> Aug 23, 2015 6:57:35 AM hudson.model.AsyncPeriodicWork$1 run
> INFORMATION: Finished PeriodicBackup. 0 ms
> Aug 23, 2015 6:58:35 AM hudson.model.AsyncPeriodicWork$1 run
> INFORMATION: Started PeriodicBackup
> Aug 23, 2015 6:58:35 AM hudson.model.AsyncPeriodicWork$1 run
> INFORMATION: Finished PeriodicBackup. 0 ms
> Aug 23, 2015 6:59:35 AM hudson.model.AsyncPeriodicWork$1 run
> INFORMATION: Started PeriodicBackup
> Aug 23, 2015 6:59:35 AM hudson.model.AsyncPeriodicWork$1 run
>

-- 
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.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jenkinsci-users/1d98d3b8-0b51-4dd1-b253-f571b6e4ec86%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


RE: [Build-flow plugin]

2015-09-08 Thread Ginga, Dick
Start your builds like this:

build2 = build( “job2”)

When that returns, you use the build2 variable to get at the log like this (you 
can use this call to get any number of lines)

var = build2.getLog()

you can use println just to print things to the console so:

println var

will put is in this jobs log.

I keep this link in my favorites. It tells all the functions you can call using 
the build2 object:

http://javadoc.jenkins-ci.org/index.html?hudson/model/AbstractBuild.html


From: jenkinsci-users@googlegroups.com 
[mailto:jenkinsci-users@googlegroups.com] On Behalf Of Cyril Gandon
Sent: Tuesday, September 08, 2015 4:19 AM
To: Jenkins Users
Subject: [Build-flow plugin]

Hi all,

I'm using the build flow 
plugin

Let's say I have 3 jobs:

job1 says

  build( "job2")

And then, job2 says

  build( "job3")

I would like to see the output of each build in the "main" build job1.

In the ideal world, each console output should contains the output of their 
subbuilds.

job1 should contains information on job2 and job3
job2 should contains information on job3.

Is their a way to do that? I see that we have access to the variable out

You can also access some pre-defined variables in the DSL :
 - "out" the flow build console

But I have no idea how to use that variable to do what I need.

Thank you,

Cyril.
--
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.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jenkinsci-users/d85b87d8-c866-4124-80cc-a249662d932f%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

-- 
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.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jenkinsci-users/6C6EE445A6F6CE4E8A0FFB51B071A4E2D8667F6F%40AMERMBX02.PERKINELMER.NET.
For more options, visit https://groups.google.com/d/optout.


Regarding Git Installation on Slaves

2015-09-08 Thread Jaya Nageswar
Hi All,

I am pretty new to Git and Jenkins. Trying to setup automated build system 
in jenkins. Our Source code respository is Git. We support multiple 
platforms (like Linux, AIX, Solaris, HP & Windows ) for our product.

I have installed jenkins as service on Windows. Added all the build 
machines as nodes in jenkins. However I have a question. Do I need to 
install Git client in each of the builds machines for the builds to 
proceed? Or Is it sufficient to have Git in jenkins machine (master) so 
that it can push it to the slaves. 

Any clarification here is very helpful to me. Thank you in advance.


Regards,
-Jaya Nageswar.

-- 
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.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jenkinsci-users/cf52b8e3-e06f-4e99-8fef-806621d6f122%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Editing naming of jenkins runs (Threads)

2015-09-08 Thread Francisco Javier Pulido Vergara
Hi all,

I'm executing a cron job with maven which executes several Java classes and 
each class launchs 8 threads.

My problem is that when I want to check the results I see something like 
this:

 US1449.afterClass:26 NullPointer
com..**.US1449.displayRouteMapToFromSelector(com.*.**.US1449)
  Run 1: US1449.displayRouteMapToFromSelector:50 » NoSuchElement Unable to find 
element...
  Run 2: PASS
  Run 3: US1449.displayRouteMapToFromSelector:50 » NoSuchElement Unable to 
locate eleme...
  Run 4: US1449.displayRouteMapToFromSelector:50 » NoSuchElement Unable to 
locate eleme...
  Run 5: US1449.displayRouteMapToFromSelector:50 » NoSuchElement no such element
  (Ses...
  Run 6: US1449.displayRouteMapToFromSelector:50 » NoSuchElement Could not find 
element...
  Run 7: US1449.displayRouteMapToFromSelector:50 » NoSuchElement Unable to find 
element...
  Run 8: PASS



Is there anyway to override that "Run 1, Run2..." to show the ID of the thread 
or a descriptive text?


Thanks in advance :)

-- 
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.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jenkinsci-users/0a84cafd-0669-4f17-b66c-037a69945415%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: Jenkins HTTP frontend not acceccable, jenkins/java service needs most CPU/RAM capacity on jenkins service

2015-09-08 Thread jje
Don't mind second exception, explanation is marked yellow

Am Dienstag, 8. September 2015 07:44:40 UTC+2 schrieb jje:
>
> Find attached jenkins syslog. I've to admit log is pretty messy. Mainly 
> exceptions are related to following topics:
>
>- connection problems as different nodes are not 
>needed(java.net.NoRouteToHostException)
>-  java.lang.NumberFormatException related to plot plugin. Actually i 
>was wondering, why this exception appeared that much frequently - pls. 
>refer to end of log
>
> Cheers
>

This secondary issue is related to CSV file which actually provides plot 
data held legend label  name as well. This one in turn has been interpreted 
as number which actually led to this exception.

-- 
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.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jenkinsci-users/0cc3519a-80c3-4810-b950-200f0dc24736%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: System environments not recognized in Jenkins job

2015-09-08 Thread Francisco Javier Pulido Vergara
Hi,

I'm trying to figure out why is this happening, in the meanwhile you can 
check on your jenkins which parameters is receiving from your system.

you can do so by accesing to {jenkinsURL}:8080/systemInfo and look for the 
environment variables.

El lunes, 7 de septiembre de 2015, 11:20:46 (UTC+2), Uroš Kočevar escribió:
>
> All of a sudden, Jenkins (ver. 1.627) job which start batch file is 
> failing because system environments is not recognized.
>
> E.g. 'svn' is not recognized as an internal or external command, operable 
> program or batch file.
>
>
>
> If I execute the batch file manually it works OK. Any ideas what could cause 
> such behaviour?
>
>
>
>

-- 
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.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jenkinsci-users/d61fc3a5-8669-4a46-bc42-e37219b3611c%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: Customize failure message in a build

2015-09-08 Thread Victor Martinez
Hi,

  IMO "script shell" step should contain a few lines, and if you need 
further logic you might need to store those scripts in your SCM tool, then 
you can call that script. There are different approaches:
 
  1) You could merge those "Script shell" in one shell and use your SCM to 
store those scripts: then you could trap those errors and add some error 
messages
  2) You could use the groovy post build actions in order to manipulate 
those failures and add further details about those errors in the main job 
dashboard: https://wiki.jenkins-ci.org/display/JENKINS/Groovy+Postbuild+Plugin
  3) You could use the console parser 
plugin: https://wiki.jenkins-ci.org/display/JENKINS/Log+Parser+Plugin
  4) You could use the build failure plugin in order to categorize those 
errors and add indicators in your 
job: https://wiki.jenkins-ci.org/display/JENKINS/Build+Failure+Analyzer

Those plugins already describe some examples of parsing the console output.

Cheers


On Tuesday, 8 September 2015 10:56:36 UTC+2, Adrien Ruffie wrote:
>
> Hello all,
>
> I want to customize the failure message at the job ending (you can see it 
> in attached file).
> My problem is also, I have several "Script shell" steps in the same build, 
> but when one of them fail, the failure job report don't specify which one 
> failed ...
> Do you know one mean to give one number in each "script shell" step in 
> order to specify it in the failure message ?
>
> Thank you very much and best regards.
>
> Adrien
>

-- 
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.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jenkinsci-users/6815e9d7-044f-4291-bc70-ceb5334d995c%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Most Jobs Disappear on Matrix Plugin Upgrade

2015-09-08 Thread Dan
Jenkins version: 1.609.3 Long-Term Support Release
Matrix Project Plugin: version 1.4

Every time I upgrade the Matrix Project plug-in (to version 1.6), all but a 
couple of my ~2 dozen jobs disappear.  This has been the case for probably 
a year or so, and I keep hoping one of these upgrades will fix it.  I 
generally upgrade the other plug-ins with each Jenkins update.

What is the easiest way to fix or at least diagnose this?
I'm guessing there is some plug-in dependency that is causing problems...

-- 
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.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jenkinsci-users/3bd2a658-ae51-4d29-b4e8-1f722a65dd41%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Jenkins UI

2015-09-08 Thread Gus Reiber
https://plus.google.com/+GusReiberUI/videos
https://plus.google.com/u/0/events/c0tscio0p109rl4dbo03a4n625s?authkey=CIuhovzqkNvQhAE

Hey all,
   I am presenting at the Jenkins OSS Office Hours, tomorrow, Sept 9 at 6pm GMT 
/ 11am PDT. Above are links to the hangout event and video presentations.

-- 
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.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jenkinsci-users/57ac33f0-9ae4-4f17-a82f-4f050d8d120a%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: Regarding Git Installation on Slaves

2015-09-08 Thread Mark Waite
You can either install command line git on each of the slaves, or you can
enable the JGit implementation from the global Jenkins configuration page,
then use JGit on all those slaves without installing command line git.

There are certain use cases which JGit does not support in the Jenkins git
plugin, but those cases which it supports are generally reliable.

Mark Waite

On Tue, Sep 8, 2015 at 6:50 AM Jaya Nageswar 
wrote:

> Hi All,
>
> I am pretty new to Git and Jenkins. Trying to setup automated build system
> in jenkins. Our Source code respository is Git. We support multiple
> platforms (like Linux, AIX, Solaris, HP & Windows ) for our product.
>
> I have installed jenkins as service on Windows. Added all the build
> machines as nodes in jenkins. However I have a question. Do I need to
> install Git client in each of the builds machines for the builds to
> proceed? Or Is it sufficient to have Git in jenkins machine (master) so
> that it can push it to the slaves.
>
> Any clarification here is very helpful to me. Thank you in advance.
>
>
> Regards,
> -Jaya Nageswar.
>
> --
> 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.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/jenkinsci-users/cf52b8e3-e06f-4e99-8fef-806621d6f122%40googlegroups.com
> 
> .
> For more options, visit https://groups.google.com/d/optout.
>

-- 
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.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jenkinsci-users/CAO49JtHOGc2YQZcvw%3DjDcbXgEJRKxO8qfJrsnUP4kYbT4B%2BsBA%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


Can quiet period be used to suppress multiple builds on same branch

2015-09-08 Thread Yiyang Fei
I am using Jenkins with a Git repository.  I have configured the quiet 
period to 5 minutes for my project.  Pushing a change on a branch causes a 
new build to be queued as expected and it does wait in the queue for 5min. 
 However, if I push another change to the same branch within the quiet 
period, I see that Jenkins queues up a new build.  I would like Jenkins to 
reset the quiet period of the first build rather than queue a new build. 
 Is it possible to queue a single build for a given branch in this scenario?

-- 
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.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jenkinsci-users/f173c77a-8bf7-4a15-a579-3f6a1c06af7a%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: How to disable automatic scheduling of the Git Plugin

2015-09-08 Thread mike
We, too, would like the option to prevent the GIT plugin from triggering 
new builds on its own.

We have a number of management jobs which we manually run; These jobs use 
the GIT SCM plugin to pull the latest version of our management script 
repository. As I understand it, if I push changes to my scripts and then 
(perhaps weeks later) run the job, Jenkins will trigger an _additional_ run 
using default(?) parameters.

I understand that Jenkins is primarily a CI tool, and in that case, you 
would _expect_ jobs to be triggered on SCM changes, but there should be an 
option for disabling this behavior, especially when "Poll SCM is 
disabled"...
-Mike


On Thursday, January 29, 2015 at 3:59:24 AM UTC+2, Martin d'Anjou wrote:
>
> Yes, Mark was also suggesting that that as a probable cause, however, I 
> think the problem is different. I decided to open a feature request, where 
> I show that the Branch Specifier is set by a build parameter variable:
> https://issues.jenkins-ci.org/browse/JENKINS-26664
>
> Martin
>
> > You might try leaving the "branches to build" field 
>>
>> You need to put the specific branch in the box, that causes it to ignore 
>> all other branches. 
>>
>>
>>
>> It is because you have multiple branches matching the: 
>>
>> Branches to build: Branch Specifier (blank for 'any'): 
>>
>>
-- 


*This email and any files transmitted with it are confidential and intended 
solely for the use of the individual or entity to whom they are 
addressed. Please note that any disclosure, copying or distribution of the 
content of this information is strictly forbidden. If you have received 
this email message in error, please destroy it immediately and notify its 
sender.*

-- 
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.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jenkinsci-users/6c6afbf7-7368-4866-b538-fb7ba96f8e75%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: SDL init failure, reason is: No available video device

2015-09-08 Thread Kirshan Luhana
Thank you very very much for this guide, my emulator finally started but 
now I am getting this error , is this due vnc ? as before when I was tested 
with different user, it was working fine.

 Error in `/home/jenkins/tools/android-sdk-linux/tools/emulator64-x86': 
double free or corruption (fasttop): 0x7f1ecf2a8000 ***
*

*$ /home/jenkins/tools/android-sdk-linux/platform-tools/adb kill-server
Terminating xvnc.
$ vncserver -kill :93
Killing Xvnc4 process ID 5807*



here is my complete log

started by user anonymous 
[EnvInject] - Loading node environment variables.
Building in workspace /home/jenkins/workspace/emulatorTest
$ pkill Xvnc
pkill: killing pid 10536 failed: Operation not permitted
pkill: killing pid 10614 failed: Operation not permitted
pkill: killing pid 10674 failed: Operation not permitted
$ pkill Xrealvnc
$ sh -c "rm -f /tmp/.X*-lock /tmp/.X11-unix/X*"
rm: cannot remove ‘/tmp/.X11-lock’: Operation not permitted
rm: cannot remove ‘/tmp/.X12-lock’: Operation not permitted
rm: cannot remove ‘/tmp/.X13-lock’: Operation not permitted
rm: cannot remove ‘/tmp/.X11-unix/X0’: Operation not permitted
rm: cannot remove ‘/tmp/.X11-unix/X11’: Operation not permitted
rm: cannot remove ‘/tmp/.X11-unix/X12’: Operation not permitted
rm: cannot remove ‘/tmp/.X11-unix/X13’: Operation not permitted
Starting xvnc
[emulatorTest] $ vncserver :93 -localhost -nolisten tcp

New 'luhana:93 (catroid)' desktop is luhana:93

Starting applications specified in /home/catroid/.vnc/xstartup
Log file is /home/catroid/.vnc/luhana:93.log

$ /home/jenkins/tools/android-sdk-linux/tools/android list target
[android] Using Android SDK: /home/jenkins/tools/android-sdk-linux
$ /home/jenkins/tools/android-sdk-linux/platform-tools/adb start-server
* daemon not running. starting it now on port 8212 *
* daemon started successfully *
$ /home/jenkins/tools/android-sdk-linux/platform-tools/adb start-server
[android] Starting Android emulator
[android] Erasing existing emulator data...
$ /home/jenkins/tools/android-sdk-linux/tools/emulator -ports 8210,8211 -prop 
persist.sys.language=en -prop persist.sys.country=US -avd 
hudson_en-US_213_HVGA_android-18_x86 -no-snapshot-load -no-snapshot-save 
-wipe-data -camera-back emulated -camera-front emulated -gpu on -qemu -m 800 
-enable-kvm

unhandled buffer attach event, attachment type 20
unhandled buffer attach event, attachment type 20

$ /home/jenkins/tools/android-sdk-linux/platform-tools/adb connect 
localhost:8211
connected to localhost:8211
[android] Waiting for emulator to finish booting...
$ /home/jenkins/tools/android-sdk-linux/platform-tools/adb -s localhost:8211 
shell getprop init.svc.bootanim
error: device offline
$ /home/jenkins/tools/android-sdk-linux/platform-tools/adb connect 
localhost:8211

unhandled buffer attach event, attachment type 26
unhandled buffer attach event, attachment type 28

$ /home/jenkins/tools/android-sdk-linux/platform-tools/adb -s localhost:8211 
shell getprop init.svc.bootanim
error: device offline
$ /home/jenkins/tools/android-sdk-linux/platform-tools/adb connect 
localhost:8211

unhandled buffer attach event, attachment type 30

unhandled buffer attach event, attachment type 32

unhandled buffer attach event, attachment type 32

$ /home/jenkins/tools/android-sdk-linux/platform-tools/adb -s localhost:8211 
shell getprop init.svc.bootanim
$ /home/jenkins/tools/android-sdk-linux/platform-tools/adb -s localhost:8211 
logcat -v time
$ /home/jenkins/tools/android-sdk-linux/platform-tools/adb connect 
localhost:8211
[android] Emulator is ready for use (took 32 seconds)
$ /home/jenkins/tools/android-sdk-linux/platform-tools/adb disconnect 
localhost:8211
[android] Stopping Android emulator
*** Error in `/home/jenkins/tools/android-sdk-linux/tools/emulator64-x86': 
double free or corruption (fasttop): 0x7f1ecf2a8000 ***

$ /home/jenkins/tools/android-sdk-linux/platform-tools/adb kill-server
Terminating xvnc.
$ vncserver -kill :93
Killing Xvnc4 process ID 5807
Finished: SUCCESS



On Monday, 7 September 2015 17:07:28 UTC+2, Mark Waite wrote:
>
> Refer to https://wiki.jenkins-ci.org/display/JENKINS/Xvnc+Plugin for 
> plenty of details on Xvnc.
>
> The simple steps:
>
>1. Install vncserver package for your operating systems (sudo apt-get 
>install tightvncserver on Debian)
>2. Install the Xvnc Jenkins plugin (from Jenkins Update Center)
>3. Configure the Xvnc Jenkins plugin globally (part of "Configure 
>System" under the "Manage Jenkins" link)
>4. Configure each job that needs Xvnc to start a VNC server when the 
>job starts (check box in the job definition)
>
> Thanks,
> Mark Waite
>
> On Mon, Sep 7, 2015 at 8:59 AM Kirshan Luhana  > wrote:
>
>> Yes you are right, after restart I lost access to Display :=0.
>> Is this anyway to get access after every boot?
>> Can you share some more on XVNC ? I just started exploring Jenkins :)
>>
>> Thank you very ,much.
>>
>>
>> On 

Re: Hudson to Jenkins

2015-09-08 Thread Slide
This is not supported by Jenkins. The format of the job information and
plugin information stored on disk is quite different between Jenkins and
Hudson post split.

On Tue, Sep 8, 2015 at 6:57 PM Terry Zheng  wrote:

> Hi,
>
> How to migrate to Jenkins from Hudson 3.3.0 ver,
>
> I tried use plugin (Job Import and ThinBackup), copy files to jenkins_home
> form hudson, hudson cli without get-job command, unsatisfactory results all
> of above, always has configuration information of hudson's job is missing.
> Here is a same problem (not my post) Migrate latest stable HUDSON to
> latest stable LTS JENKINS
> 
>
> How can i restore the lost config of hudson's job in jenkins?
>
> Thanks & Regards
>
> 在 2013年6月5日星期三 UTC+8下午4:21:38,Romain Deborde写道:
>
>> Hi,
>>
>> I'm sorry for my english. if you have any comprehension problem, just ask
>> me for precisions.
>>
>> Like Arvind, i've migrated Jobs from hudson to jenkins.
>>
>> I think about 3 differents ways to make it
>> - xsl transformation (thanks Marcel for your work)
>> - using jenkins cli (get-job) or groovy code
>> - using JobImport or ThinBackup Plugin
>>
>> Have you any experiences about :
>> - using Plugin between jenkins and hudson ?
>> - using Cli/groovy command ?
>>
>> One more question, is it the same xml export format with Cli/groovy
>> command between jenkins and hudson (one probleme is that get-job command is
>> not implemented on hudson) ?
>>
>> Thanks a lot for your help
>>
> --
> 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.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/jenkinsci-users/67cc387c-e421-44b3-b531-be68e25b5b80%40googlegroups.com
> 
> .
> For more options, visit https://groups.google.com/d/optout.
>

-- 
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.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jenkinsci-users/CAPiUgVfP_A0%3DaNoFwpy%3D8SaP1aLbynrrehW_sZZD4zCKULHffA%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


Re: Triggering Jenkins job (behind firewall)

2015-09-08 Thread Robert Grześkowiak
Sure, I should have been more specific. 

I would like to trigger jobs manually. One of the solutions is that email 
triggering plugin, but would be even better to trigger that via curl, or 
have some additional layer which extracts the interface. The firewall 
unfortunately blocks a lot But there is a small chance I could convince 
IT to open some ports for that. I just need to know which one would be safe 
and easy.

Thanks!

On Monday, September 7, 2015 at 4:02:16 PM UTC+1, Mark Waite wrote:
>
> You'll probably need to further describe what you want to use for the 
> trigger, and what is allowed to cross your firewall.
>
> For example, the GitHub Webhook (from the GitHub plugin) will allow a 
> GitHub repository outside your firewall to cause the Jenkins job inside 
> your firewall to poll GitHub checking for changes.  A similar capability is 
> available for other providers (like BitBucket).
>
>
>
> On Mon, Sep 7, 2015 at 8:41 AM Robert Grześkowiak  > wrote:
>
>> Hi,
>>
>> I am currently trying to solve problem with triggering Jenkins jobs, 
>> which is behind firewall. Is there any good way to do that?
>> I found a plugin 
>> https://wiki.jenkins-ci.org/display/JENKINS/poll-mailbox-trigger-plugin 
>> but I am looking for some other solution.
>> There are many jenkins servers behind firewalls in different 
>> corporations, I am pretty sure that someone found that problem as well.
>>
>> I am looking forward for any suggestions.
>>
>> Thank you in advance!
>>
>> Robert
>>
>> -- 
>> 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-use...@googlegroups.com .
>> To view this discussion on the web visit 
>> https://groups.google.com/d/msgid/jenkinsci-users/3c0bf7c2-666c-416a-a896-490421918005%40googlegroups.com
>>  
>> 
>> .
>> For more options, visit https://groups.google.com/d/optout.
>>
>

-- 
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.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jenkinsci-users/c4140d09-2d3d-41f6-8c69-72075f5a9c68%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: How to disable automatic scheduling of the Git Plugin

2015-09-08 Thread Björn Pedersen
Hi,

The problem are the default build strategies. They try to be clever. As I 
am using  gerrit here I only use the gerrit-trigger stragety that ensure 
only the specified REF (The refspec field in the advanced settings) is 
built.  YOu could probably factor the  strategy into its own plugin or just 
install the gerrit trigger plugin and use its strategy.

Björn

Am Dienstag, 8. September 2015 15:49:14 UTC+2 schrieb mi...@scene53.com:
>
> We, too, would like the option to prevent the GIT plugin from triggering 
> new builds on its own.
>
> We have a number of management jobs which we manually run; These jobs use 
> the GIT SCM plugin to pull the latest version of our management script 
> repository. As I understand it, if I push changes to my scripts and then 
> (perhaps weeks later) run the job, Jenkins will trigger an _additional_ run 
> using default(?) parameters.
>
> I understand that Jenkins is primarily a CI tool, and in that case, you 
> would _expect_ jobs to be triggered on SCM changes, but there should be an 
> option for disabling this behavior, especially when "Poll SCM is 
> disabled"...
> -Mike
>
>
> On Thursday, January 29, 2015 at 3:59:24 AM UTC+2, Martin d'Anjou wrote:
>>
>> Yes, Mark was also suggesting that that as a probable cause, however, I 
>> think the problem is different. I decided to open a feature request, where 
>> I show that the Branch Specifier is set by a build parameter variable:
>> https://issues.jenkins-ci.org/browse/JENKINS-26664
>>
>> Martin
>>
>> > You might try leaving the "branches to build" field 
>>>
>>> You need to put the specific branch in the box, that causes it to ignore 
>>> all other branches. 
>>>
>>>
>>>
>>> It is because you have multiple branches matching the: 
>>>
>>> Branches to build: Branch Specifier (blank for 'any'): 
>>>
>>>

-- 
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.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jenkinsci-users/34ec30b9-a83a-4be4-b483-c7229df86b69%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


web UI hangs as app reads all old junitResult..xml files

2015-09-08 Thread Kevin Goess
The first time we click on a link to see a build, the web UI hangs for 
about ten minutes.  stracing the thread that's got 100% of the cpu shows 
that it's reading each one of the 500 junitResult.xml files:

...
open("/var/lib/jenkins/jobs/www/builds/42596/junitResult.xml", O_RDONLY) = 
382
open("/var/lib/jenkins/jobs/www/builds/42595/build.xml", O_RDONLY) = 382
...

Each junitResult.xml file is about 17MB and takes about a second to load, 
so the 500 files take almost ten minutes to load the page.

Any subsequent page loads for that particular build are immediate, and 
jenkins doesn't go troll all the old junitResult.xml files. In fact loading 
that build again even while the first one is still doing its thing is 
immediate.

We're running v1.613.  It seems like the change is recent-ish (last month 
or two?) but we can't tie it to any particular change.

Has anyone else seen this? Any idea what might be going on?

-- 
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.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jenkinsci-users/f05f84c1-1c30-4145-b6e7-050b114850bd%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: SDL init failure, reason is: No available video device

2015-09-08 Thread Mark Waite
I don't think that is related to Xvnc, but it could be.  A double free
message could be from many different places.

Mark Waite

On Tue, Sep 8, 2015 at 8:52 AM Kirshan Luhana 
wrote:

> Thank you very very much for this guide, my emulator finally started but
> now I am getting this error , is this due vnc ? as before when I was tested
> with different user, it was working fine.
>
>  Error in `/home/jenkins/tools/android-sdk-linux/tools/emulator64-x86': 
> double free or corruption (fasttop): 0x7f1ecf2a8000 ***
> *
>
> *$ /home/jenkins/tools/android-sdk-linux/platform-tools/adb kill-server
> Terminating xvnc.
> $ vncserver -kill :93
> Killing Xvnc4 process ID 5807*
>
>
>
> here is my complete log
>
> started by user anonymous 
> [EnvInject] - Loading node environment variables.
> Building in workspace /home/jenkins/workspace/emulatorTest
> $ pkill Xvnc
> pkill: killing pid 10536 failed: Operation not permitted
> pkill: killing pid 10614 failed: Operation not permitted
> pkill: killing pid 10674 failed: Operation not permitted
> $ pkill Xrealvnc
> $ sh -c "rm -f /tmp/.X*-lock /tmp/.X11-unix/X*"
> rm: cannot remove ‘/tmp/.X11-lock’: Operation not permitted
> rm: cannot remove ‘/tmp/.X12-lock’: Operation not permitted
> rm: cannot remove ‘/tmp/.X13-lock’: Operation not permitted
> rm: cannot remove ‘/tmp/.X11-unix/X0’: Operation not permitted
> rm: cannot remove ‘/tmp/.X11-unix/X11’: Operation not permitted
> rm: cannot remove ‘/tmp/.X11-unix/X12’: Operation not permitted
> rm: cannot remove ‘/tmp/.X11-unix/X13’: Operation not permitted
> Starting xvnc
> [emulatorTest] $ vncserver :93 -localhost -nolisten tcp
>
> New 'luhana:93 (catroid)' desktop is luhana:93
>
> Starting applications specified in /home/catroid/.vnc/xstartup
> Log file is /home/catroid/.vnc/luhana:93.log
>
> $ /home/jenkins/tools/android-sdk-linux/tools/android list target
> [android] Using Android SDK: /home/jenkins/tools/android-sdk-linux
> $ /home/jenkins/tools/android-sdk-linux/platform-tools/adb start-server
> * daemon not running. starting it now on port 8212 *
> * daemon started successfully *
> $ /home/jenkins/tools/android-sdk-linux/platform-tools/adb start-server
> [android] Starting Android emulator
> [android] Erasing existing emulator data...
> $ /home/jenkins/tools/android-sdk-linux/tools/emulator -ports 8210,8211 -prop 
> persist.sys.language=en -prop persist.sys.country=US -avd 
> hudson_en-US_213_HVGA_android-18_x86 -no-snapshot-load -no-snapshot-save 
> -wipe-data -camera-back emulated -camera-front emulated -gpu on -qemu -m 800 
> -enable-kvm
>
> unhandled buffer attach event, attachment type 20
> unhandled buffer attach event, attachment type 20
>
> $ /home/jenkins/tools/android-sdk-linux/platform-tools/adb connect 
> localhost:8211
> connected to localhost:8211
> [android] Waiting for emulator to finish booting...
> $ /home/jenkins/tools/android-sdk-linux/platform-tools/adb -s localhost:8211 
> shell getprop init.svc.bootanim
> error: device offline
> $ /home/jenkins/tools/android-sdk-linux/platform-tools/adb connect 
> localhost:8211
>
> unhandled buffer attach event, attachment type 26
> unhandled buffer attach event, attachment type 28
>
> $ /home/jenkins/tools/android-sdk-linux/platform-tools/adb -s localhost:8211 
> shell getprop init.svc.bootanim
> error: device offline
> $ /home/jenkins/tools/android-sdk-linux/platform-tools/adb connect 
> localhost:8211
>
> unhandled buffer attach event, attachment type 30
>
> unhandled buffer attach event, attachment type 32
>
> unhandled buffer attach event, attachment type 32
>
> $ /home/jenkins/tools/android-sdk-linux/platform-tools/adb -s localhost:8211 
> shell getprop init.svc.bootanim
> $ /home/jenkins/tools/android-sdk-linux/platform-tools/adb -s localhost:8211 
> logcat -v time
> $ /home/jenkins/tools/android-sdk-linux/platform-tools/adb connect 
> localhost:8211
> [android] Emulator is ready for use (took 32 seconds)
> $ /home/jenkins/tools/android-sdk-linux/platform-tools/adb disconnect 
> localhost:8211
> [android] Stopping Android emulator
> *** Error in `/home/jenkins/tools/android-sdk-linux/tools/emulator64-x86': 
> double free or corruption (fasttop): 0x7f1ecf2a8000 ***
>
> $ /home/jenkins/tools/android-sdk-linux/platform-tools/adb kill-server
> Terminating xvnc.
> $ vncserver -kill :93
> Killing Xvnc4 process ID 5807
> Finished: SUCCESS
>
>
>
> On Monday, 7 September 2015 17:07:28 UTC+2, Mark Waite wrote:
>
>> Refer to https://wiki.jenkins-ci.org/display/JENKINS/Xvnc+Plugin for
>> plenty of details on Xvnc.
>>
>> The simple steps:
>>
>>1. Install vncserver package for your operating systems (sudo apt-get
>>install tightvncserver on Debian)
>>2. Install the Xvnc Jenkins plugin (from Jenkins Update Center)
>>3. Configure the Xvnc Jenkins plugin globally (part of "Configure
>>System" under the "Manage Jenkins" link)
>>4. Configure each job that needs Xvnc to start a VNC 

Jenkins job "Recent Changes" information

2015-09-08 Thread neil t1u
Hi All,

I would like to ask how the "Changes" information are pulled from source 
control location.

Here is my setup. I am using Team Foundation Server plugin and use poll for 
change every hour. There is a Gated Build Definition configured in our TFS 
Server that builds the project before any developer can check-in their code 
to TFS. So our process is to make sure there will no compilation errors 
before a developer checks in a code. Every hour if there is a change we run 
a CI process using Jenkins to run more tests.

I found that the "changes' information like who checked-in the latest code 
was using a build account name, not the actual developer who checked-in the 
code. Here is an example:

Summary
   
   1. Testing CI tests run

* Version 123456 by builder_account: *
Testing CI tests run 
[image: The file was modified]$/TeamProject/ProjectA/login.js
I check the changeset details via VS IDE and the change 123456 was 
checked-in by developerA. How come in the "changes" it listed the 
builder_account which is our tfs build user account? I also did a quick "tf 
history" command and it listed that developerA checked in that latest 
changeset 123456.

This behavior only shows if I have a "Gated" build setup in the TFS Server 
side. If I don't have a gated build definition setup, it shows the correct 
information in the "Changes" details.

Summary
   
   1. Testing CI tests run

* Version 123456 by developerA: *
Testing CI tests run 
[image: The file was modified]$/TeamProject/ProjectA/login.js



Is there a way that I can retrieve the correct user if I use a Gated Build 
Definition? Do I need to reconfigure something in my setup? 

Would appreciate for any inputs.

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.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jenkinsci-users/3f988153-89f0-4d3c-8397-8b445550401d%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.