Jenkins que and node labels

2015-01-12 Thread Andrej Gukov
Hello,

We have a tricky structure of parallel flows inside flows and we need to 
lock some of the flows after they finish.
The solution currently is to change node label of the flow to non existent 
one via API, and change it back when all the flows finish. Somehow while 
builds are in que they can still get the changes in Restrict where this 
project can be run field
The question is: Is anyone familiar with this feature (qued jobs updating 
parameter of node label) and if anyone knows is it a bug or a feature, is 
it safe to base our logic on this feature and not fear that it will be 
fixed somewhere down the line

-- 
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/cd2eeb13-b083-42f6-afed-d1c96ccbca74%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


CLI regression or new error?

2015-01-12 Thread Barry Anderson
I just upgraded from 1.572 to 1.596 and a shell job that I have that uses 
the CLI and update-job to load about 23 jobs that has always worked 
flawlessly in the past now runs for about 8 jobs then fails with the 
following error for a couple of commands then succeeds for a few then fails 
for a few more and so on: (I'm assuming this is a queuing issue?)

Jan 10, 2015 2:00:15 PM 
hudson.remoting.SynchronousCommandTransport$ReaderThread run
SEVERE: I/O error in channel CLI connection to http://localhost:8080
java.net.SocketException: Connection reset
at java.net.SocketInputStream.read(SocketInputStream.java:185)
at java.io.FilterInputStream.read(FilterInputStream.java:133)
at java.io.FilterInputStream.read(FilterInputStream.java:107)
at javax.crypto.CipherInputStream.getMoreData(CipherInputStream.java:107)
at javax.crypto.CipherInputStream.read(CipherInputStream.java:236)
at java.io.BufferedInputStream.fill(BufferedInputStream.java:235)
at java.io.BufferedInputStream.read(BufferedInputStream.java:254)
at 
hudson.remoting.FlightRecorderInputStream.read(FlightRecorderInputStream.java:82)
at hudson.remoting.ChunkedInputStream.readHeader(ChunkedInputStream.java:72)
at 
hudson.remoting.ChunkedInputStream.readUntilBreak(ChunkedInputStream.java:103)
at 
hudson.remoting.ChunkedCommandTransport.readBlock(ChunkedCommandTransport.java:39)
at 
hudson.remoting.AbstractSynchronousByteArrayCommandTransport.read(AbstractSynchronousByteArrayCommandTransport.java:34)
at 
hudson.remoting.SynchronousCommandTransport$ReaderThread.run(SynchronousCommandTransport.java:48)


Thanks and regards,
Barry

-- 
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/e2ac3bff-62e0-4ad1-8181-8dca435a920c%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


getting build number of started multijob projects

2015-01-12 Thread niraj nandane
Hi,
I have a multijob in which there are different phases. I need to get the 
build number of each job which is started during multiphase. How i can get 
buildnumber of each multiphased job?
The jobs which are multiphase may be called by any other project in 
between. I just want the build number of multiphased job dusing this 
multiphase job .
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.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jenkinsci-users/55a7d338-c729-45ad-a183-cb6c4804d2d9%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Fwd: FW: core java developer

2015-01-12 Thread hitesh sharma
Hi,
Hope you are doing well

Jobs Details:


 Role :  core java developer with Mule  ESB

Experience Level  :   5-8YEAR


 Skills:


 Required Skill(s) : ESB (L3) , Open Source ESB (L3)

Essential Skill(s) :   Mule ESB (L4)

Additional Skill(s) :   Core Java (L1) , iBATIS (L1) , Java-J2EE
(L1) , Webservices-SOA (L1)

View more details

Other Details :


 Location Of Posting :

CountryUSACityCharlotte - North Carolina

Contract Duration116 Days  Number Of People
Required 1



Job Description:

7+ years Core Java server side development experience

Mule ESB experience
Enterprise Integration SOA and SaaS
EAI Architecting
Application Integration
Strong Java/J2EE skills and design patterns: Singleton, Faç ade, Observer,
etc.
Strong database skills ndash Group is currently using SQL Server and
moving to Oracle
Hands-on experience with multi-threading and debugging threads --
Immutability, locking, synchronization
Maven: application predominantly uses Maven, understand how the
dependencies and depository works
Spring
Strong SQL skills: many-many relationships, inner/outer queries, writing
complex queries
Distributed cache, coherence, ehcache
Jira to track issues
SVN for code/version control
Exposure to ESB (preferably Mule) ndash solid understanding of general
messaging / queues concepts



Skill and Experience Details:
*Minimum Experience Required:* 5-8 YEARS *Mandatory Skills:* Mule ESB ESB,
Open Source ESB *Desirable Skills:* Webservices-SOA, Java-J2EE, Core Java,
iBATIS *Language Skills:* English Language


Thanks


Hitesh Kumar Sharma

Contact: 609-897-9670 ext 2183

-- 
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/CAD-G%2Bcu%2By5ygbSBMHH66ZsS6Ocy6Sgsa7MQ2e%3DsYa5aqWJMhKw%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


Safe way to migrate from OpenID2 plugin

2015-01-12 Thread dyoung
We intend to migrate from the deprecated OpenID2 plugin to the github 
authentication plugin. Does anyone know of a safe way to do this to avoid 
getting locked out of Jenkins? I'm looking for a best practices approach 
to doing this.

Thanks very much.

-- david

-- 
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/5e5ae52c-82a6-4724-89fd-4372c283fb23%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[workflow-plugin] Java.lang.NoSuchMethodError: No such DSL method

2015-01-12 Thread Bill Smith
I am working my way through the workflow plugin tutorial 
at https://github.com/jenkinsci/workflow-plugin/blob/master/TUTORIAL.md.   
When I try to execute the script 
at 
https://github.com/jenkinsci/workflow-plugin/blob/master/TUTORIAL.md#checking-out-and-building-sources,
 
I get the stack trace shown below.

This is Jenkins ver. 1.580.2, using a Jenkins Docker image that I pulled 
down about an hour ago.  

Any suggestions on how to fix this?

Bill Smith
Austin, TX


Started by user anonymous http://localhost:8080/user/null
Running: Allocate node : Start
Running on master in /var/jenkins_home/jobs/workflow example/workspace
Running: Allocate node : Body : Start
Running: Allocate node : Body : End
Running: Allocate node : End
Running: End of Workflow
java.lang.NoSuchMethodError: No such DSL method git found among [archive, bat, 
build, catchError, checkout, dir, echo, input, load, node, parallel, pwd, 
readFile, retry, sh, stage, step, svn, timeout, tool, unarchive, writeFile, ws]
at org.jenkinsci.plugins.workflow.cps.DSL.invokeMethod(DSL.java:107)
at 
org.jenkinsci.plugins.workflow.cps.CpsScript.invokeMethod(CpsScript.java:98)
at 
org.codehaus.groovy.runtime.callsite.PogoMetaClassSite.call(PogoMetaClassSite.java:45)
at 
org.codehaus.groovy.runtime.callsite.CallSiteArray.defaultCall(CallSiteArray.java:42)
at 
org.codehaus.groovy.runtime.callsite.AbstractCallSite.call(AbstractCallSite.java:108)
at 
com.cloudbees.groovy.cps.sandbox.DefaultInvoker.methodCall(DefaultInvoker.java:15)
at WorkflowScript.run(WorkflowScript:2)
at Unknown.Unknown(Unknown)
at ___cps.transform___(Native Method)
at 
com.cloudbees.groovy.cps.impl.ContinuationGroup.methodCall(ContinuationGroup.java:69)
at 
com.cloudbees.groovy.cps.impl.FunctionCallBlock$ContinuationImpl.dispatchOrArg(FunctionCallBlock.java:100)
at 
com.cloudbees.groovy.cps.impl.FunctionCallBlock$ContinuationImpl.fixArg(FunctionCallBlock.java:76)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at 
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:606)
at 
com.cloudbees.groovy.cps.impl.ContinuationPtr$ContinuationImpl.receive(ContinuationPtr.java:72)
at 
com.cloudbees.groovy.cps.impl.CollectionLiteralBlock$ContinuationImpl.dispatch(CollectionLiteralBlock.java:55)
at 
com.cloudbees.groovy.cps.impl.CollectionLiteralBlock$ContinuationImpl.item(CollectionLiteralBlock.java:45)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at 
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:606)
at 
com.cloudbees.groovy.cps.impl.ContinuationPtr$ContinuationImpl.receive(ContinuationPtr.java:72)
at 
com.cloudbees.groovy.cps.impl.ConstantBlock.eval(ConstantBlock.java:21)
at com.cloudbees.groovy.cps.Next.step(Next.java:58)
at com.cloudbees.groovy.cps.Continuable.run0(Continuable.java:145)
at 
org.jenkinsci.plugins.workflow.cps.CpsThread.runNextChunk(CpsThread.java:164)
at 
org.jenkinsci.plugins.workflow.cps.CpsThreadGroup.run(CpsThreadGroup.java:267)
at 
org.jenkinsci.plugins.workflow.cps.CpsThreadGroup.access$000(CpsThreadGroup.java:70)
at 
org.jenkinsci.plugins.workflow.cps.CpsThreadGroup$2.call(CpsThreadGroup.java:176)
at 
org.jenkinsci.plugins.workflow.cps.CpsThreadGroup$2.call(CpsThreadGroup.java:174)
at 
org.jenkinsci.plugins.workflow.cps.CpsVmExecutorService$2.call(CpsVmExecutorService.java:47)
at java.util.concurrent.FutureTask.run(FutureTask.java:262)
at 
hudson.remoting.SingleLaneExecutorService$1.run(SingleLaneExecutorService.java:111)
at 
jenkins.util.ContextResettingExecutorService$1.run(ContextResettingExecutorService.java:28)
at 
java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471)
at java.util.concurrent.FutureTask.run(FutureTask.java:262)
at 
java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
at 
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
at java.lang.Thread.run(Thread.java:745)
Finished: FAILURE

-- 
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/4c604a83-1ec8-4530-8321-1ab0dfb2a6fc%40googlegroups.com.
For more options, visit 

Re: [workflow-plugin] Java.lang.NoSuchMethodError: No such DSL method

2015-01-12 Thread Slide
This is a shot in the dark since I have never used the workflow plugin, but
do you have the git plugin and git client plugin installed?

On Mon Jan 12 2015 at 8:12:15 AM Bill Smith william.m.sm...@gmail.com
wrote:

 I am working my way through the workflow plugin tutorial at
 https://github.com/jenkinsci/workflow-plugin/blob/master/TUTORIAL.md.
 When I try to execute the script at
 https://github.com/jenkinsci/workflow-plugin/blob/master/TUTORIAL.md#checking-out-and-building-sources,
 I get the stack trace shown below.

 This is Jenkins ver. 1.580.2, using a Jenkins Docker image that I pulled
 down about an hour ago.

 Any suggestions on how to fix this?

 Bill Smith
 Austin, TX


 Started by user anonymous http://localhost:8080/user/null
 Running: Allocate node : Start
 Running on master in /var/jenkins_home/jobs/workflow example/workspace
 Running: Allocate node : Body : Start
 Running: Allocate node : Body : End
 Running: Allocate node : End
 Running: End of Workflow
 java.lang.NoSuchMethodError: No such DSL method git found among [archive, 
 bat, build, catchError, checkout, dir, echo, input, load, node, parallel, 
 pwd, readFile, retry, sh, stage, step, svn, timeout, tool, unarchive, 
 writeFile, ws]
   at org.jenkinsci.plugins.workflow.cps.DSL.invokeMethod(DSL.java:107)
   at 
 org.jenkinsci.plugins.workflow.cps.CpsScript.invokeMethod(CpsScript.java:98)
   at 
 org.codehaus.groovy.runtime.callsite.PogoMetaClassSite.call(PogoMetaClassSite.java:45)
   at 
 org.codehaus.groovy.runtime.callsite.CallSiteArray.defaultCall(CallSiteArray.java:42)
   at 
 org.codehaus.groovy.runtime.callsite.AbstractCallSite.call(AbstractCallSite.java:108)
   at 
 com.cloudbees.groovy.cps.sandbox.DefaultInvoker.methodCall(DefaultInvoker.java:15)
   at WorkflowScript.run(WorkflowScript:2)
   at Unknown.Unknown(Unknown)
   at ___cps.transform___(Native Method)
   at 
 com.cloudbees.groovy.cps.impl.ContinuationGroup.methodCall(ContinuationGroup.java:69)
   at 
 com.cloudbees.groovy.cps.impl.FunctionCallBlock$ContinuationImpl.dispatchOrArg(FunctionCallBlock.java:100)
   at 
 com.cloudbees.groovy.cps.impl.FunctionCallBlock$ContinuationImpl.fixArg(FunctionCallBlock.java:76)
   at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
   at 
 sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
   at 
 sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
   at java.lang.reflect.Method.invoke(Method.java:606)
   at 
 com.cloudbees.groovy.cps.impl.ContinuationPtr$ContinuationImpl.receive(ContinuationPtr.java:72)
   at 
 com.cloudbees.groovy.cps.impl.CollectionLiteralBlock$ContinuationImpl.dispatch(CollectionLiteralBlock.java:55)
   at 
 com.cloudbees.groovy.cps.impl.CollectionLiteralBlock$ContinuationImpl.item(CollectionLiteralBlock.java:45)
   at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
   at 
 sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
   at 
 sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
   at java.lang.reflect.Method.invoke(Method.java:606)
   at 
 com.cloudbees.groovy.cps.impl.ContinuationPtr$ContinuationImpl.receive(ContinuationPtr.java:72)
   at 
 com.cloudbees.groovy.cps.impl.ConstantBlock.eval(ConstantBlock.java:21)
   at com.cloudbees.groovy.cps.Next.step(Next.java:58)
   at com.cloudbees.groovy.cps.Continuable.run0(Continuable.java:145)
   at 
 org.jenkinsci.plugins.workflow.cps.CpsThread.runNextChunk(CpsThread.java:164)
   at 
 org.jenkinsci.plugins.workflow.cps.CpsThreadGroup.run(CpsThreadGroup.java:267)
   at 
 org.jenkinsci.plugins.workflow.cps.CpsThreadGroup.access$000(CpsThreadGroup.java:70)
   at 
 org.jenkinsci.plugins.workflow.cps.CpsThreadGroup$2.call(CpsThreadGroup.java:176)
   at 
 org.jenkinsci.plugins.workflow.cps.CpsThreadGroup$2.call(CpsThreadGroup.java:174)
   at 
 org.jenkinsci.plugins.workflow.cps.CpsVmExecutorService$2.call(CpsVmExecutorService.java:47)
   at java.util.concurrent.FutureTask.run(FutureTask.java:262)
   at 
 hudson.remoting.SingleLaneExecutorService$1.run(SingleLaneExecutorService.java:111)
   at 
 jenkins.util.ContextResettingExecutorService$1.run(ContextResettingExecutorService.java:28)
   at 
 java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471)
   at java.util.concurrent.FutureTask.run(FutureTask.java:262)
   at 
 java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
   at 
 java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
   at java.lang.Thread.run(Thread.java:745)
 Finished: FAILURE

  --
 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 

Automating Jenkins Deployments with Chef

2015-01-12 Thread Kenneth Baltrinic
I am working on creating a chef cookbook to automate our Jenkins 
infrastructure.  I am using the opscode Jenkins cookbook as my starting 
point but it only has a few basic resources.  I can see I am going to need 
use the cookbook's jenkins_script resource to configure Jenkins via groovy. 

That would be fine except I am having considerable difficulty figuring out 
how to configure Jenkins via groovy.  There does not seem to be a lot of 
information out there either in the Jenkins docs nor in blogs, etc.  None 
of the plug-ins document their API, etc.  There are API docs for main 
Jenkins which help but only if you already understand the big picture, 
which is what I am struggling with right now.  I understand how to 
configure all of our Jenkins boxes via the UI, but how do I learn to 
translate that into knowledge of writing groovy scripts?  Right now the 
only means I am seeing is to spend a very long time digging my way through 
the source code itself and learning from trial and error.  Is there another 
way? 

How do people out there learn and use the Jenkins API?

-- 
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/a3c7f63e-578b-4104-b45e-61f646d04bff%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Fwd: MySQL DBA

2015-01-12 Thread hitesh sharma
Hi,
Hope you are doing great .



 *Role:- MySQL DBA*

*Location: NY City ,NY*

*Duration:-6+ months*



Responsibilities:

   - Develop and optimize physical and logical design of fault-tolerant
   distributed database systems
   - Proactive administration of production database environment
   - Tuning production databases for better performance and reliability
   - Installation and administration of the corresponding MySQL database
   systems and servers
   - Identifying and fixing bottleneck and reliability problems in live
   environment
   - Estimate database capacities; develop methods for monitoring database
   capacity and usage
   - Develop and support database replication
   - Establish mechanisms for data backup/restore of databases
   - Considering both 'back end' organization of data and 'front end'
   accessibility for users
   - Writing database documentation, including data standards, procedures
   and definitions for the data dictionary
   - Deploying new databases into production
   - Years of professional experienced required: 8+ years of experience as
   a Windows or Linux Systems Administrator, or similar role

Technical Competencies:

   - Very good knowledge of MySQL
   - Knowledge of schema design, stored procedures,
   - Knowledge in optimizing the performance of databases
   - Knowledge of database administration, backups, replication,
   performance reporting





*Thanks  Regards*



*Hitesk  kumar sharma*

*Phone: 609-897-9670 x 2183*


*Gmail: hitesh.sysm...@gmail.com hitesh.sysm...@gmail.com*

*Fax: 609-228-5522*

*Address: 38 Washington Road, Princeton Jn, NJ 08550 *

-- 
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/CAD-G%2BctOW556WLjO8uBc8eHSMUH_5MLdEC9AJLkE%3DSvpV9Q8JQ%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


Re: [workflow-plugin] Java.lang.NoSuchMethodError: No such DSL method

2015-01-12 Thread Bill Smith
Thank you for the suggestion.  According to the systemInfo page, these are
enabled: git-client 1.15.0 and git-server 1.6.

On Mon, Jan 12, 2015 at 9:19 AM, Slide slide.o@gmail.com wrote:

 This is a shot in the dark since I have never used the workflow plugin,
 but do you have the git plugin and git client plugin installed?


 On Mon Jan 12 2015 at 8:12:15 AM Bill Smith william.m.sm...@gmail.com
 wrote:

 I am working my way through the workflow plugin tutorial at
 https://github.com/jenkinsci/workflow-plugin/blob/master/TUTORIAL.md.
 When I try to execute the script at
 https://github.com/jenkinsci/workflow-plugin/blob/master/TUTORIAL.md#checking-out-and-building-sources,
 I get the stack trace shown below.

 This is Jenkins ver. 1.580.2, using a Jenkins Docker image that I pulled
 down about an hour ago.

 Any suggestions on how to fix this?

 Bill Smith
 Austin, TX


 Started by user anonymous http://localhost:8080/user/null
 Running: Allocate node : Start
 Running on master in /var/jenkins_home/jobs/workflow example/workspace
 Running: Allocate node : Body : Start
 Running: Allocate node : Body : End
 Running: Allocate node : End
 Running: End of Workflow
 java.lang.NoSuchMethodError: No such DSL method git found among [archive, 
 bat, build, catchError, checkout, dir, echo, input, load, node, parallel, 
 pwd, readFile, retry, sh, stage, step, svn, timeout, tool, unarchive, 
 writeFile, ws]
  at org.jenkinsci.plugins.workflow.cps.DSL.invokeMethod(DSL.java:107)
  at 
 org.jenkinsci.plugins.workflow.cps.CpsScript.invokeMethod(CpsScript.java:98)
  at 
 org.codehaus.groovy.runtime.callsite.PogoMetaClassSite.call(PogoMetaClassSite.java:45)
  at 
 org.codehaus.groovy.runtime.callsite.CallSiteArray.defaultCall(CallSiteArray.java:42)
  at 
 org.codehaus.groovy.runtime.callsite.AbstractCallSite.call(AbstractCallSite.java:108)
  at 
 com.cloudbees.groovy.cps.sandbox.DefaultInvoker.methodCall(DefaultInvoker.java:15)
  at WorkflowScript.run(WorkflowScript:2)
  at Unknown.Unknown(Unknown)
  at ___cps.transform___(Native Method)
  at 
 com.cloudbees.groovy.cps.impl.ContinuationGroup.methodCall(ContinuationGroup.java:69)
  at 
 com.cloudbees.groovy.cps.impl.FunctionCallBlock$ContinuationImpl.dispatchOrArg(FunctionCallBlock.java:100)
  at 
 com.cloudbees.groovy.cps.impl.FunctionCallBlock$ContinuationImpl.fixArg(FunctionCallBlock.java:76)
  at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
  at 
 sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
  at 
 sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
  at java.lang.reflect.Method.invoke(Method.java:606)
  at 
 com.cloudbees.groovy.cps.impl.ContinuationPtr$ContinuationImpl.receive(ContinuationPtr.java:72)
  at 
 com.cloudbees.groovy.cps.impl.CollectionLiteralBlock$ContinuationImpl.dispatch(CollectionLiteralBlock.java:55)
  at 
 com.cloudbees.groovy.cps.impl.CollectionLiteralBlock$ContinuationImpl.item(CollectionLiteralBlock.java:45)
  at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
  at 
 sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
  at 
 sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
  at java.lang.reflect.Method.invoke(Method.java:606)
  at 
 com.cloudbees.groovy.cps.impl.ContinuationPtr$ContinuationImpl.receive(ContinuationPtr.java:72)
  at 
 com.cloudbees.groovy.cps.impl.ConstantBlock.eval(ConstantBlock.java:21)
  at com.cloudbees.groovy.cps.Next.step(Next.java:58)
  at com.cloudbees.groovy.cps.Continuable.run0(Continuable.java:145)
  at 
 org.jenkinsci.plugins.workflow.cps.CpsThread.runNextChunk(CpsThread.java:164)
  at 
 org.jenkinsci.plugins.workflow.cps.CpsThreadGroup.run(CpsThreadGroup.java:267)
  at 
 org.jenkinsci.plugins.workflow.cps.CpsThreadGroup.access$000(CpsThreadGroup.java:70)
  at 
 org.jenkinsci.plugins.workflow.cps.CpsThreadGroup$2.call(CpsThreadGroup.java:176)
  at 
 org.jenkinsci.plugins.workflow.cps.CpsThreadGroup$2.call(CpsThreadGroup.java:174)
  at 
 org.jenkinsci.plugins.workflow.cps.CpsVmExecutorService$2.call(CpsVmExecutorService.java:47)
  at java.util.concurrent.FutureTask.run(FutureTask.java:262)
  at 
 hudson.remoting.SingleLaneExecutorService$1.run(SingleLaneExecutorService.java:111)
  at 
 jenkins.util.ContextResettingExecutorService$1.run(ContextResettingExecutorService.java:28)
  at 
 java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471)
  at java.util.concurrent.FutureTask.run(FutureTask.java:262)
  at 
 java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
  at 
 java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
  at java.lang.Thread.run(Thread.java:745)
 Finished: FAILURE

  --
 You received this message because you are 

RE: MySQL DBA

2015-01-12 Thread Ginga, Dick
This is not a recruitment mailing list. Please stop.

From: jenkinsci-users@googlegroups.com 
[mailto:jenkinsci-users@googlegroups.com] On Behalf Of hitesh sharma
Sent: Monday, January 12, 2015 11:33 AM
To: xrec...@googlegroups.com; recruiters_gu...@googlegroups.com; 
microsoft-sharepoint-development--us...@googlegroups.com; 
usaafricadialo...@googlegroups.com; 
direct-clientprime-vendor-requireme...@googlegroups.com; 
quick-respo...@googlegroups.com; asp-...@googlegroups.com; 
gta...@googlegroups.com; true-value-care...@googlegroups.com; 
recruiting-simplif...@googlegroups.com; 
narendras-it-recruitment-for-...@googlegroups.com; 
it_jobs_...@googlegroups.com; technical-recruiter-us-staff...@googlegroups.com; 
help4jobhunt...@googlegroups.com; itjobs-...@googlegroups.com; 
abap_sapgooglegroups...@googlegroups.com; us_jobsnconsulta...@googlegroups.com; 
us-it-staffing-and-consult...@googlegroups.com; 
oracle-develo...@googlegroups.com; itusaj...@googlegroups.com; 
corp2corp-...@googlegroups.com; financearti...@googlegroups.com; 
java-developer-usa-gr...@googlegroups.com; koda...@googlegroups.com; 
technical-recruit...@googlegroups.com; recruitersandresu...@googlegroups.com; 
qa-test...@googlegroups.com; technicalrecruiterscoun...@googlegroups.com; 
usa-hotlist-r...@googlegroups.com; 
helpful-network-us-it-recruit...@googlegroups.com; 
recruitingprow...@googlegroups.com; usaconsulta...@googlegroups.com; 
corp-to-corp-jo...@googlegroups.com; best-it-consulting-gr...@googlegroups.com; 
jp...@googlegroups.com; lookh...@googlegroups.com; 
us-it-consult...@googlegroups.com; vamsyst...@googlegroups.com; 
c2c-...@googlegroups.com; oracle...@googlegroups.com; 
recruits-...@googlegroups.com; sap-...@googlegroups.com; m...@googlegroups.com; 
ora...@googlegroups.com; 
hotlists_resume_consultants-4-recruit...@googlegroups.com; 
usa-c2c-j...@googlegroups.com; lucidj...@googlegroups.com; 
sap-care...@googlegroups.com; fisica_teor...@googlegroups.com; 
w2-j...@googlegroups.com; opt-...@googlegroups.com; 
losangelesj...@googlegroups.com; assen...@googlegroups.com; 
nebraska-j...@googlegroups.com; bostont...@googlegroups.com; 
us-it-recruiter-posti...@googlegroups.com; h1b...@googlegroups.com; 
bestmi...@googlegroups.com; monikakjadhav...@googlegroups.com; 
shilpa...@googlegroups.com; recruiterski...@googlegroups.com; 
oracle-financials-jobsgooglegroups...@googlegroups.com; 
us-it-j...@googlegroups.com; jobs-in-itgooglegroups...@googlegroups.com; 
dice...@googlegroups.com; rajesh_us_it_recrui...@googlegroups.com; 
us-...@googlegroups.com; it_technical_recruit...@googlegroups.com; 
abapc...@googlegroups.com; immediate...@googlegroups.com; 
chrisbr...@googlegroups.com; 1-usa-j...@googlegroups.com; 
davids-...@googlegroups.com; jobgr...@googlegroups.com; 
contract-job-ale...@googlegroups.com; chetna-jobs-recruite...@googlegroups.com; 
corptocorpcandida...@googlegroups.com; uscitizenfullt...@googlegroups.com; 
jobsbank...@googlegroups.com; c2c-j...@googlegroups.com; 
req-...@googlegroups.com; itresu...@googlegroups.com; 
immediate-hotl...@googlegroups.com; dice-j...@googlegroups.com; 
sapa...@googlegroups.com; novian-job-ale...@googlegroups.com; 
recruiter2...@googlegroups.com; jenkinsci-users@googlegroups.com; 
java-j...@googlegroups.com; mainfr...@googlegroups.com; 
us-recruitment-servi...@googlegroups.com; hot-resu...@googlegroups.com; 
venkat-ag...@googlegroups.com; hire-a-program...@googlegroups.com; 
corptoc...@googlegroups.com; only-direct-client-requireme...@googlegroups.com; 
immediate-interviews-direct-client-requireme...@googlegroups.com; 
c2c-requireme...@googlegroups.com; shekar_j...@googlegroups.com; 
javacare...@googlegroups.com; weech...@googlegroups.com; 
indians-who-love-mov...@googlegroups.com; 
websphere-admin-nee...@googlegroups.com; abdul_it_staff...@googlegroups.com; 
usaerpsu...@googlegroups.com; hotlist-vasa...@googlegroups.com; 
us-staffing-a...@googlegroups.com; sap-requireme...@googlegroups.com; 
ahmed_recrui...@googlegroups.com; business-anal...@googlegroups.com; 
directclien...@googlegroups.com; ccie-vo...@googlegroups.com; 
itconsulta...@googlegroups.com; blog...@googlegroups.com; 
firewa...@googlegroups.com; a...@googlegroups.com; 
optcandida...@googlegroups.com; delphi-j...@googlegroups.com; 
us-hotl...@googlegroups.com; dba-supp...@googlegroups.com; 
start-dot...@googlegroups.com; 
jobs-for-indians-abroad-wwwindianreunited...@googlegroups.com; 
oracle-train...@googlegroups.com; s...@googlegroups.com; 
fresherstr...@googlegroups.com; made-in-...@googlegroups.com; 
sacramento-jobs-resu...@googlegroups.com; 96_j...@googlegroups.com; 
usa-open-r...@googlegroups.com; h1b_j...@googlegroups.com; 
sureshotj...@googlegroups.com; websphere-por...@googlegroups.com; 
microsoft-sharepoint-servi...@googlegroups.com; noi-j...@googlegroups.com; 
sapbwathomekoreapub...@googlegroups.com; womencar...@googlegroups.com; 
it-datab...@googlegroups.com; immediate_respo...@googlegroups.com; 

Re: svn checkout options

2015-01-12 Thread David Carson
[Hmmm, I could have sworn I replied to this over the weekend, but it does 
not seem to be here]

Anyway, there is a problem with setting commit-times to yes in the config 
file.  The problem is that, while this is desirable for checkouts, it is 
not desirable for updates.  Unfortunately, the option applies to both when 
set in the config file.

In our environment for developers, we suggest that they *not* set 
commit-times to yes in the config file, because updates should always set a 
newly updated file's timestamp to 'now' rather than the commit time of the 
file, thus forcing a rebuild.  Instead, we use a wrapper script for 
checkout only, where the commit times are used for timestamps -- necessary 
for us, because certain packages should not redo any automake step, and 
when the timestamps are random, this sometimes happens.

On Friday, January 9, 2015 at 6:41:41 PM UTC-5, Daniel Beck wrote:

 Should be possible by uncommenting the use-commit-times option in 
 ~/.subversion/config on all nodes building the job. Subversion plugin (or 
 rather SVNKit) appears to honor these options as defaults. 

 On 10.01.2015, at 00:35, David Carson dcca...@gmail.com javascript: 
 wrote: 

  Any response?  I would also like to know the answer to this question. 
  It seems like there must be more control over 'svn checkout' than the 
 Check-out Strategy pull-down. 
  
  On Monday, November 17, 2014 at 2:20:36 PM UTC-5, Prajakta 
 Kanitkar-Joshi wrote: 
  Hi, 
  
  Is there a way in Jenkins to configure svn checkout options? I need to 
 turn on the use-commit-times flag  option. 
  
  Thanks, 
  Prajakta 
  
  -- 
  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 javascript:. 
  To view this discussion on the web visit 
 https://groups.google.com/d/msgid/jenkinsci-users/794ea0b1-dc01-4cba-90ca-a804b4009725%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/51f5d857-d9d8-4f5f-91d1-c74fe298d040%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Using a Group or Role to Variable to customize a build script

2015-01-12 Thread Don Meuth
I am new to Jenkins, and we are migrating multiple scripts to Jenkins from 
other environments. 

We basically have 2 Roles with more to come  Developers and Administrators 

We would like to be able to write a build script once and tailor the input 
fields based upon the user's defined role. 

Is there a way to get, in a build script the Role or Group that a user 
belongs to? 

For example we allow our developers to build and deploy to a Project 
environment, but only Admins can deploy to QA and Production.  if we can 
limit the choices (via a script) for developers to only show the Project 
environment for input, we can now write a script once and use it for many 
different environments. 

I have set up Groovy scripts to pull the information from files, and if I 
can supply the group or role information the script can pull based upon 
that information.

-- 
This message and any files transmitted with it are the property of 
Sigma-Aldrich Corporation, are confidential, and are intended solely for 
the use of the person or entity to whom this e-mail is addressed. If you 
are not one of the named recipient(s) or otherwise have reason to believe 
that you have received this message in error, please contact the sender and 
delete this message immediately from your computer. Any other use, 
retention, dissemination, forwarding, printing, or copying of this e-mail 
is strictly prohibited.

-- 
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/8e43e2d4-c218-49b9-8a90-e2b1b45f049e%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Fwd: Very urgent:: data modeler

2015-01-12 Thread hitesh sharma
very urgent need ;

 Hi ,

Hope you are doing  great.



Role:-Data Modeler

Location:- Minneapolis, MN

Duration:-12+ Months



Job Description:



1.  Oracle PL/SQL Development

2.  sql server 2008 development

3. Database design experience using ERWin Tool

4.  Strong in database (Oracle  SQL) concepts

5. Preferable exposure to ETL Design and development

6. Preferable exposure to life and annuities client





*Thanks  Regards*



*Hitesh Kumar Sharma*

*Phone: 609-897-9670 x 2183*

*Gmail :hitesh.sysm...@gmail.com hitesh.sysm...@gmail.com*

*Fax: 609-228-5522*

*Address: 38 Washington Road, Princeton Jn, NJ 08550 *

-- 
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/CAD-G%2Bct%2BOLDt5wfKWsCgz1phJw8w0J0_ihUUfPgk78j-EwGf6Q%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


RE: Very urgent:: data modeler

2015-01-12 Thread Rob Mandeville
If enough people hit the ‘report message as spam’ button at the bottom, will 
Googlegroups ban this bozo?

--Rob


From: jenkinsci-users@googlegroups.com 
[mailto:jenkinsci-users@googlegroups.com] On Behalf Of hitesh sharma
Sent: Monday, January 12, 2015 4:22 PM
To: xrec...@googlegroups.com; recruiters_gu...@googlegroups.com; 
microsoft-sharepoint-development--us...@googlegroups.com; 
usaafricadialo...@googlegroups.com; 
direct-clientprime-vendor-requireme...@googlegroups.com; 
quick-respo...@googlegroups.com; asp-...@googlegroups.com; 
gta...@googlegroups.com; true-value-care...@googlegroups.com; 
recruiting-simplif...@googlegroups.com; 
narendras-it-recruitment-for-...@googlegroups.com; 
it_jobs_...@googlegroups.com; technical-recruiter-us-staff...@googlegroups.com; 
help4jobhunt...@googlegroups.com; itjobs-...@googlegroups.com; 
abap_sapgooglegroups...@googlegroups.com; us_jobsnconsulta...@googlegroups.com; 
us-it-staffing-and-consult...@googlegroups.com; 
oracle-develo...@googlegroups.com; itusaj...@googlegroups.com; 
corp2corp-...@googlegroups.com; financearti...@googlegroups.com; 
java-developer-usa-gr...@googlegroups.com; koda...@googlegroups.com; 
technical-recruit...@googlegroups.com; recruitersandresu...@googlegroups.com; 
qa-test...@googlegroups.com; technicalrecruiterscoun...@googlegroups.com; 
usa-hotlist-r...@googlegroups.com; 
helpful-network-us-it-recruit...@googlegroups.com; 
recruitingprow...@googlegroups.com; usaconsulta...@googlegroups.com; 
corp-to-corp-jo...@googlegroups.com; best-it-consulting-gr...@googlegroups.com; 
jp...@googlegroups.com; lookh...@googlegroups.com; 
us-it-consult...@googlegroups.com; vamsyst...@googlegroups.com; 
c2c-...@googlegroups.com; oracle...@googlegroups.com; 
recruits-...@googlegroups.com; sap-...@googlegroups.com; m...@googlegroups.com; 
ora...@googlegroups.com; 
hotlists_resume_consultants-4-recruit...@googlegroups.com; 
usa-c2c-j...@googlegroups.com; lucidj...@googlegroups.com; 
sap-care...@googlegroups.com; fisica_teor...@googlegroups.com; 
w2-j...@googlegroups.com; opt-...@googlegroups.com; 
losangelesj...@googlegroups.com; assen...@googlegroups.com; 
nebraska-j...@googlegroups.com; bostont...@googlegroups.com; 
us-it-recruiter-posti...@googlegroups.com; h1b...@googlegroups.com; 
bestmi...@googlegroups.com; monikakjadhav...@googlegroups.com; 
shilpa...@googlegroups.com; recruiterski...@googlegroups.com; 
oracle-financials-jobsgooglegroups...@googlegroups.com; 
us-it-j...@googlegroups.com; jobs-in-itgooglegroups...@googlegroups.com; 
dice...@googlegroups.com; rajesh_us_it_recrui...@googlegroups.com; 
us-...@googlegroups.com; it_technical_recruit...@googlegroups.com; 
abapc...@googlegroups.com; immediate...@googlegroups.com; 
chrisbr...@googlegroups.com; 1-usa-j...@googlegroups.com; 
davids-...@googlegroups.com; jobgr...@googlegroups.com; 
contract-job-ale...@googlegroups.com; chetna-jobs-recruite...@googlegroups.com; 
corptocorpcandida...@googlegroups.com; uscitizenfullt...@googlegroups.com; 
jobsbank...@googlegroups.com; c2c-j...@googlegroups.com; 
req-...@googlegroups.com; itresu...@googlegroups.com; 
immediate-hotl...@googlegroups.com; dice-j...@googlegroups.com; 
sapa...@googlegroups.com; novian-job-ale...@googlegroups.com; 
recruiter2...@googlegroups.com; jenkinsci-users@googlegroups.com; 
java-j...@googlegroups.com; mainfr...@googlegroups.com; 
us-recruitment-servi...@googlegroups.com; hot-resu...@googlegroups.com; 
venkat-ag...@googlegroups.com; hire-a-program...@googlegroups.com; 
corptoc...@googlegroups.com; only-direct-client-requireme...@googlegroups.com; 
immediate-interviews-direct-client-requireme...@googlegroups.com; 
c2c-requireme...@googlegroups.com; shekar_j...@googlegroups.com; 
javacare...@googlegroups.com; weech...@googlegroups.com; 
indians-who-love-mov...@googlegroups.com; 
websphere-admin-nee...@googlegroups.com; abdul_it_staff...@googlegroups.com; 
usaerpsu...@googlegroups.com; hotlist-vasa...@googlegroups.com; 
us-staffing-a...@googlegroups.com; sap-requireme...@googlegroups.com; 
ahmed_recrui...@googlegroups.com; business-anal...@googlegroups.com; 
directclien...@googlegroups.com; ccie-vo...@googlegroups.com; 
itconsulta...@googlegroups.com; blog...@googlegroups.com; 
firewa...@googlegroups.com; a...@googlegroups.com; 
optcandida...@googlegroups.com; delphi-j...@googlegroups.com; 
us-hotl...@googlegroups.com; dba-supp...@googlegroups.com; 
start-dot...@googlegroups.com; 
jobs-for-indians-abroad-wwwindianreunited...@googlegroups.com; 
oracle-train...@googlegroups.com; s...@googlegroups.com; 
fresherstr...@googlegroups.com; made-in-...@googlegroups.com; 
sacramento-jobs-resu...@googlegroups.com; 96_j...@googlegroups.com; 
usa-open-r...@googlegroups.com; h1b_j...@googlegroups.com; 
sureshotj...@googlegroups.com; websphere-por...@googlegroups.com; 
microsoft-sharepoint-servi...@googlegroups.com; noi-j...@googlegroups.com; 
sapbwathomekoreapub...@googlegroups.com; womencar...@googlegroups.com; 
it-datab...@googlegroups.com; 

Re: How to force an upstream job to be green

2015-01-12 Thread Lam Le
hi, thx for suggestion.  I have it running, but the only issue i run into 
is that if it actually fail, it is not triggerring a post action. like if 
it fail i want it to trigger parameterized build on other project. but its 
not doing this.

out.println params[browser]
out.println params[baseUrl]
parallel (
  retry ( 2 ) {  build( test1 , param1: params[browser] , param2: 
params[baseUrl] ) },
  retry ( 2 ) {  build( test2 , param1: params[browser] , param2: 
params[baseUrl] ) },
)

I have a post build after this.  Any suggestion? thx

-- 
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/9cca7b61-e750-4513-bf01-20f24629eadf%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Fwd: Very urgent:: data modeler

2015-01-12 Thread hitesh sharma
 Hi ,

Hope you are doing great



Role:-Data Modeler

Location:- Minneapolis, MN

Duration:-12+ Months



Jd:-



1.  Oracle PL/SQL Development

2.  sql server 2008 development

3. Database design experience using ERWin Tool

4.  Strong in database (Oracle  SQL) concepts

5. Preferable exposure to ETL Design and development

6. Preferable exposure to life and annuities client





*Thanks  Regards*



*hitesh kumar Sharma*


 *Phone: 609-897-9670 x 2183*

*Gmail :hitesh.sysm...@gmail.com saurabhsysmind...@gmail.com*

*Fax: 609-228-5522*

*Address: 38 Washington Road, Princeton Jn, NJ 08550 *

-- 
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/CAD-G%2Bcs6xtHW3X2bxWWHcZq5SHMBOiRjjjJ7V0BcevnNjCh7Ew%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


Copy artifact plugin with maven multi module project

2015-01-12 Thread Jeff Storey
I have a multi-module maven project that is an upstream job, and the 
downstream job that it triggers uses the Copy Artifact plugin to copy the 
artifacts produced by the maven project. These are snapshot artifacts being 
generated. Jenkins automatically archives the maven artifacts, and when it 
does, at changes the artifact name to have a version and timestamp on it, 
so it looks like *myproject-1.2.0-timestamp.war*, or something like that. 
This happens even though my project outputs a war named *myproject.war**. *I 
tried just using the Jenkins post build step to archive the artifacts 
(which does have the correct names) and disabling the automatic archiving 
of maven artifacts, but when I do this, the Copy Artifact plugin fails 
because it looks for the artifacts in the maven module subdirectories.

Is there a way to have the Copy Artifact plugin only copy the artifacts 
produced by the Jenkins post build archiving step or is there any way to 
have the maven archived artifacts not have the timestamp added to them?

Thank you.

-- 
You received this message because you are subscribed to the Google Groups 
Jenkins Users group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to jenkinsci-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jenkinsci-users/e7989c0b-b354-4c58-a631-08f34b7d93ef%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: How to force an upstream job to be green

2015-01-12 Thread Lam Le
NM, there's an issue with build flow. 
https://issues.jenkins-ci.org/browse/JENKINS-22779

On Monday, January 12, 2015 at 3:00:22 PM UTC-8, Lam Le wrote:

 hi, thx for suggestion.  I have it running, but the only issue i run into 
 is that if it actually fail, it is not triggerring a post action. like if 
 it fail i want it to trigger parameterized build on other project. but its 
 not doing this.

 out.println params[browser]
 out.println params[baseUrl]
 parallel (
   retry ( 2 ) {  build( test1 , param1: params[browser] , param2: 
 params[baseUrl] ) },
   retry ( 2 ) {  build( test2 , param1: params[browser] , param2: 
 params[baseUrl] ) },
 )

 I have a post build after this.  Any suggestion? thx


-- 
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/47084c18-9b5b-4295-9017-951c8b438a5e%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Getting the jenkin job status without authentications

2015-01-12 Thread Muthu Selvan
 

Hi ALL ,

I am new to this group and need your help for the below issue :

I am trying to automate getting the jenkin's job status by running the 
below command in post build - Execute shell .

JOB_STATUS=`curl -silent -k -u USER_NAME:API_TOKEN  
https://URL_NAME/jenkins/job/$JOB_NAME/lastBuild/api/json 
https://fusion.paypal.com/jenkins/job/$JOB_NAME/lastBuild/api/json | grep 
-iEo 'result:\w*’`

My question : How to avoid passing   USER_NAME:API_TOKEN explicitly in 
jenkin’s job ? Is there any way hide my user credential for automating 
jenkin’s job status ? 

is there way to get the Job status by just passing predefined environment 
variable , advice please 

*NOTE : *Why i am asking this question , after automated plan to share my 
job with my team and i should not share access_token according to company 
policy 

Thanks ,

Muthu Selvan SR 


-- 
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/b6ec82d8-d1df-45e0-8727-26f009065376%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: Gerrit Trigger plugin - detect when number of failing tests has INCREASED

2015-01-12 Thread James Nord

On 12/01/2015 16:58, matthew.web...@diamond.ac.uk wrote:

I've just started experimenting with the Gerrit Trigger Plugin. It's great, but 
I have one problem:

If the build job is UNSTABLE (i.e. if any tests fail) Jenkins will post this status back 
to Gerrit, and flag the Gerrit patchset as not passing. That strategy only works if the 
normal condition is all tests pass.


Your logic is the wrong way around.

You want to mark a build with the flaky test as stable - so this would 
be almost the same for a normal job with the complication that Gerrit 
patchsets are not linear...



In my case, there is a test case, unrelated to the patchset under test, that 
has been failing for some time. I'd like the Gerrit trigger to only mark the 
patchset being tested if introduces a NEW test failure. Is there a way to 
achieve this?
Take a look at https://github.com/samsta/quarantine this may be the only 
way of ignoring your bad test.
Note it forks the junit plugin and is probably missing features fixes in 
that junit plugin.




(Yes I do now that having failing tests that have not been fixed is poor 
practice, but in a large test suite, that is sometimes the case).


In this case I really would just recommend removing the test and raising 
a defect for the team to fix it and tracking it that way - it will 
reduce the headache (given you are not currently fixing it) and it gets 
the team to accept that they can't push changes to the branch when the 
code is broken.


/James

--
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/54B4066B.5010807%40teilo.net.
For more options, visit https://groups.google.com/d/optout.


Gerrit Trigger plugin - detect when number of failing tests has INCREASED

2015-01-12 Thread Matthew.Webber
I've just started experimenting with the Gerrit Trigger Plugin. It's great, but 
I have one problem:

If the build job is UNSTABLE (i.e. if any tests fail) Jenkins will post this 
status back to Gerrit, and flag the Gerrit patchset as not passing. That 
strategy only works if the normal condition is all tests pass.

 In my case, there is a test case, unrelated to the patchset under test, that 
has been failing for some time. I'd like the Gerrit trigger to only mark the 
patchset being tested if introduces a NEW test failure. Is there a way to 
achieve this?

(Yes I do now that having failing tests that have not been fixed is poor 
practice, but in a large test suite, that is sometimes the case).

Thanks
Matthew


-- 
This e-mail and any attachments may contain confidential, copyright and or 
privileged material, and are for the use of the intended addressee only. If you 
are not the intended addressee or an authorised recipient of the addressee 
please notify us of receipt by returning the e-mail and do not use, copy, 
retain, distribute or disclose the information in or attached to the e-mail.
Any opinions expressed within this e-mail are those of the individual and not 
necessarily of Diamond Light Source Ltd. 
Diamond Light Source Ltd. cannot guarantee that this e-mail or any attachments 
are free from viruses and we cannot accept liability for any damage which you 
may sustain as a result of software viruses which may be transmitted in or with 
the message.
Diamond Light Source Limited (company no. 4375679). Registered in England and 
Wales with its registered office at Diamond House, Harwell Science and 
Innovation Campus, Didcot, Oxfordshire, OX11 0DE, United Kingdom

-- 
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/6836E1DC2DDC174C9D64B7860E5AF5FC9D7AFDB1%40EXCHMBX01.fed.cclrc.ac.uk.
For more options, visit https://groups.google.com/d/optout.