Re: Failing to iterate list with workflow

2015-07-20 Thread David Resnick
Thanks!

This is indeed another case 
of https://issues.jenkins-ci.org/browse/JENKINS-27421

Here is a working snippet:

def branches = [:]
def jobs = [ 'job-1' ]
def jobName
for (int i = 0; i  jobs.size(); i++) {
jobName = jobs[i]
// jobName must be used inside the build job closure
branches[jobName] = { build job: jobName }
}
parallel branches

- David

On Wednesday, July 15, 2015 at 12:41:06 PM UTC+3, Arek Skalski wrote:

 Try to use classic:
  for(int i = 0 ; i  jobs.length(); ++i) {...}



 W dniu wtorek, 14 lipca 2015 21:40:08 UTC+2 użytkownik David Resnick 
 napisał:

 I'm trying create jobs to run in parallel in a workflow with this script:

 def branches = [:]
 def jobs = [ 'job-1' ]
 for (job in jobs) {
 branches[job] = { build job: job }
 }
 parallel branches

 This fails with the below (though it doesn't fail when 'parallel 
 branches' is commented out).

 How can this be done?

 Thanks,
 David

 Running: Execute sub-workflows in parallel : Start
 [job-1] Running: Parallel branch: job-1
 [job-1] Running: Build a Job
 [job-1] Starting building project: job-1
 Running: Execute sub-workflows in parallel : Body : End
 Running: End of Workflow
 java.io.NotSerializableException: java.util.ArrayList$Itr
  at 
 org.jboss.marshalling.river.RiverMarshaller.doWriteObject(RiverMarshaller.java:860)
  at 
 org.jboss.marshalling.river.RiverMarshaller.doWriteFields(RiverMarshaller.java:1032)
  at 
 org.jboss.marshalling.river.RiverMarshaller.doWriteSerializableObject(RiverMarshaller.java:988)
  at 
 org.jboss.marshalling.river.RiverMarshaller.doWriteObject(RiverMarshaller.java:854)
  at 
 org.jboss.marshalling.river.RiverMarshaller.doWriteFields(RiverMarshaller.java:1032)
  at 
 org.jboss.marshalling.river.RiverMarshaller.doWriteSerializableObject(RiverMarshaller.java:988)
  at 
 org.jboss.marshalling.river.RiverMarshaller.doWriteObject(RiverMarshaller.java:854)
  at 
 org.jboss.marshalling.river.RiverMarshaller.doWriteFields(RiverMarshaller.java:1032)
  at 
 org.jboss.marshalling.river.RiverMarshaller.doWriteSerializableObject(RiverMarshaller.java:988)
  at 
 org.jboss.marshalling.river.RiverMarshaller.doWriteObject(RiverMarshaller.java:854)
  at 
 org.jboss.marshalling.river.RiverMarshaller.doWriteFields(RiverMarshaller.java:1032)
  at 
 org.jboss.marshalling.river.RiverMarshaller.doWriteSerializableObject(RiverMarshaller.java:988)
  at 
 org.jboss.marshalling.river.RiverMarshaller.doWriteSerializableObject(RiverMarshaller.java:967)
  at 
 org.jboss.marshalling.river.RiverMarshaller.doWriteObject(RiverMarshaller.java:854)
  at 
 org.jboss.marshalling.river.RiverMarshaller.doWriteFields(RiverMarshaller.java:1032)
  at 
 org.jboss.marshalling.river.RiverMarshaller.doWriteSerializableObject(RiverMarshaller.java:988)
  at 
 org.jboss.marshalling.river.RiverMarshaller.doWriteObject(RiverMarshaller.java:854)
  at 
 org.jboss.marshalling.river.RiverMarshaller.doWriteFields(RiverMarshaller.java:1032)
  at 
 org.jboss.marshalling.river.RiverMarshaller.doWriteSerializableObject(RiverMarshaller.java:988)
  at 
 org.jboss.marshalling.river.RiverMarshaller.doWriteObject(RiverMarshaller.java:854)
  at 
 org.jboss.marshalling.river.BlockMarshaller.doWriteObject(BlockMarshaller.java:65)
  at 
 org.jboss.marshalling.river.BlockMarshaller.writeObject(BlockMarshaller.java:56)
  at 
 org.jboss.marshalling.MarshallerObjectOutputStream.writeObjectOverride(MarshallerObjectOutputStream.java:50)
  at 
 org.jboss.marshalling.river.RiverObjectOutputStream.writeObjectOverride(RiverObjectOutputStream.java:179)
  at java.io.ObjectOutputStream.writeObject(ObjectOutputStream.java:344)
  at java.util.HashMap.internalWriteEntries(HashMap.java:1777)
  at java.util.HashMap.writeObject(HashMap.java:1354)
  at sun.reflect.GeneratedMethodAccessor144.invoke(Unknown Source)
  at 
 sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
  at java.lang.reflect.Method.invoke(Method.java:497)
  at 
 org.jboss.marshalling.reflect.SerializableClass.callWriteObject(SerializableClass.java:271)
  at 
 org.jboss.marshalling.river.RiverMarshaller.doWriteSerializableObject(RiverMarshaller.java:976)
  at 
 org.jboss.marshalling.river.RiverMarshaller.doWriteObject(RiverMarshaller.java:854)
  at 
 org.jboss.marshalling.river.RiverMarshaller.doWriteFields(RiverMarshaller.java:1032)
  at 
 org.jboss.marshalling.river.RiverMarshaller.doWriteSerializableObject(RiverMarshaller.java:988)
  at 
 org.jboss.marshalling.river.RiverMarshaller.doWriteObject(RiverMarshaller.java:854)
  at 
 org.jboss.marshalling.AbstractObjectOutput.writeObject(AbstractObjectOutput.java:58)
  at 
 org.jboss.marshalling.AbstractMarshaller.writeObject(AbstractMarshaller.java:111)
  at 
 org.jenkinsci.plugins.workflow.support.pickles.serialization.RiverWriter.writeObject(RiverWriter.java:133)

Job Generator Build failing with ClassCastException

2015-07-20 Thread murali mohan

Jenkins version is 1.617

The Job Generator job is a parameterized build with 2 variables/parameters. 
WHen I try to build the job (or generate the job), it asks for the standard 
Jenkins Job Generator options like Process this job only, Disabled Jobs 
etc. But it is not asking for the parameter values that I have configured 
in the job, which is wrong, I think.

The stack trace is given below andthis same stack trace happens in both 
options: 1) When I give a default value for the 2 parameters, 2) When I do 
not enter a value for the 2 parameters

 


Stack trace

javax.servlet.ServletException: java.lang.ClassCastException: 
net.sf.json.JSONNull cannot be cast to net.sf.json.JSONObject
at org.kohsuke.stapler.Stapler.tryInvoke(Stapler.java:796)
at org.kohsuke.stapler.Stapler.invoke(Stapler.java:876)
at org.kohsuke.stapler.MetaClass$6.doDispatch(MetaClass.java:249)
at 
org.kohsuke.stapler.NameBasedDispatcher.dispatch(NameBasedDispatcher.java:53)
at org.kohsuke.stapler.Stapler.tryInvoke(Stapler.java:746)
at org.kohsuke.stapler.Stapler.invoke(Stapler.java:876)
at org.kohsuke.stapler.Stapler.invoke(Stapler.java:649)
at org.kohsuke.stapler.Stapler.service(Stapler.java:238)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:848)
at 
org.eclipse.jetty.servlet.ServletHolder.handle(ServletHolder.java:686)
at 
org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1494)
at 
hudson.util.PluginServletFilter$1.doFilter(PluginServletFilter.java:123)
at 
hudson.plugins.greenballs.GreenBallFilter.doFilter(GreenBallFilter.java:58)
at 
hudson.util.PluginServletFilter$1.doFilter(PluginServletFilter.java:120)
at 
hudson.util.PluginServletFilter.doFilter(PluginServletFilter.java:114)
at 
org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1482)
at hudson.security.csrf.CrumbFilter.doFilter(CrumbFilter.java:48)
at 
org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1482)
at 
hudson.security.ChainedServletFilter$1.doFilter(ChainedServletFilter.java:84)
at 
hudson.security.UnwrapSecurityExceptionFilter.doFilter(UnwrapSecurityExceptionFilter.java:51)
at 
hudson.security.ChainedServletFilter$1.doFilter(ChainedServletFilter.java:87)
at 
jenkins.security.ExceptionTranslationFilter.doFilter(ExceptionTranslationFilter.java:117)
at 
hudson.security.ChainedServletFilter$1.doFilter(ChainedServletFilter.java:87)
at 
org.acegisecurity.providers.anonymous.AnonymousProcessingFilter.doFilter(AnonymousProcessingFilter.java:125)
at 
hudson.security.ChainedServletFilter$1.doFilter(ChainedServletFilter.java:87)
at 
org.acegisecurity.ui.rememberme.RememberMeProcessingFilter.doFilter(RememberMeProcessingFilter.java:142)
at 
hudson.security.ChainedServletFilter$1.doFilter(ChainedServletFilter.java:87)
at 
org.acegisecurity.ui.AbstractProcessingFilter.doFilter(AbstractProcessingFilter.java:271)
at 
hudson.security.ChainedServletFilter$1.doFilter(ChainedServletFilter.java:87)
at 
jenkins.security.BasicHeaderProcessor.doFilter(BasicHeaderProcessor.java:93)
at 
hudson.security.ChainedServletFilter$1.doFilter(ChainedServletFilter.java:87)
at 
org.acegisecurity.context.HttpSessionContextIntegrationFilter.doFilter(HttpSessionContextIntegrationFilter.java:249)
at 
hudson.security.HttpSessionContextIntegrationFilter2.doFilter(HttpSessionContextIntegrationFilter2.java:67)
at 
hudson.security.ChainedServletFilter$1.doFilter(ChainedServletFilter.java:87)
at 
hudson.security.ChainedServletFilter.doFilter(ChainedServletFilter.java:76)
at hudson.security.HudsonFilter.doFilter(HudsonFilter.java:171)
at 
org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1482)
at 
org.kohsuke.stapler.compression.CompressionFilter.doFilter(CompressionFilter.java:49)
at 
org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1482)
at 
hudson.util.CharacterEncodingFilter.doFilter(CharacterEncodingFilter.java:81)
at 
org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1482)
at 
org.kohsuke.stapler.DiagnosticThreadNameFilter.doFilter(DiagnosticThreadNameFilter.java:30)
at 
org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1474)
at 
org.eclipse.jetty.servlet.ServletHandler.doHandle(ServletHandler.java:499)
at 
org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:137)
at 
org.eclipse.jetty.security.SecurityHandler.handle(SecurityHandler.java:533)
at 
org.eclipse.jetty.server.session.SessionHandler.doHandle(SessionHandler.java:231)
at 

Re: How can i install jenkins server on rhel 7 machine ? Have anyone done it earlier ?

2015-07-20 Thread Krishna Kumar Tiwari
I want to install standlalone. Please hsare the steps if some have done it 
earlier ?

On Wednesday, 15 July 2015 14:15:50 UTC+5:30, Krishna Kumar Tiwari wrote:

 Hi 

 I want to install jenkins server on my rhel 7 machine for continuous 
 integration. Has anyone done it earlier ?




-- 
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/a9e032d0-5e0e-424a-9022-dee3b917f4eb%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Jenkins link for 1.621 not working from Manage Jenkins

2015-07-20 Thread Rinaldo DiGiorgio
The Manage Jenkins is not working.


New version of Jenkins (1.621) is available for download 
http://updates.jenkins-ci.org/download/war/1.621/jenkins.war (changelog 
http://jenkins-ci.org/changelog.html).  (if you click download )

   http://ftp-nyc.osuosl.org/pub/jenkins/war/1.621/jenkins.war



-- 
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/4f028773-bf8f-487d-a1c4-14d2bb582630%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Version Issues on Website

2015-07-20 Thread Rinaldo DiGiorgio
http://mirrors.jenkins-ci.org/war/latest/jenkins.war when downloaded is 
actually 1.620 and not 1.621 from http://jenkins-ci.org/

The changelog page is also broken.

http://jenkins-ci.org/changelog

-- 
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/9c0511d7-76e8-47c9-b93d-ea8b84c383ac%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: How can i install jenkins server on rhel 7 machine ? Have anyone done it earlier ?

2015-07-20 Thread Mark Waite
The instructions at http://pkg.jenkins-ci.org/redhat/ have worked well for
me when I installed a standalone Jenkins on CentOS 7 (a Red Hat clone).
Have you tried them?

Mark Waite

On Mon, Jul 20, 2015 at 5:57 AM Krishna Kumar Tiwari kri1...@gmail.com
wrote:

 I want to install standlalone. Please hsare the steps if some have done it
 earlier ?


 On Wednesday, 15 July 2015 14:15:50 UTC+5:30, Krishna Kumar Tiwari wrote:

 Hi

 I want to install jenkins server on my rhel 7 machine for continuous
 integration. Has anyone done it earlier ?


  --
 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/a9e032d0-5e0e-424a-9022-dee3b917f4eb%40googlegroups.com
 https://groups.google.com/d/msgid/jenkinsci-users/a9e032d0-5e0e-424a-9022-dee3b917f4eb%40googlegroups.com?utm_medium=emailutm_source=footer
 .
 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/CAO49JtF7NG8GD2s6naick8MyUt5mjM-riNZdyFP_TN0%3DBQR-Lw%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


Re: gitclient plugin link for 1.81 broken from 1.620 which might be 1.621

2015-07-20 Thread Daniel Beck
I was able to download successfully from the same mirror. Make sure you don't 
have a broken proxy between your Jenkins and the mirror.

On 20.07.2015, at 14:26, Rinaldo DiGiorgio digitalrina...@gmail.com wrote:

 hudson.util.IOException2: Failed to download from 
 http://updates.jenkins-ci.org/download/plugins/git-client/1.18.0/git-client.hpi
  (redirected to: 
 http://ftp-nyc.osuosl.org/pub/jenkins/plugins/git-client/1.18.0/git-client.hpi)
   at 
 hudson.model.UpdateCenter$UpdateCenterConfiguration.download(UpdateCenter.java:797)
   at hudson.model.UpdateCenter$DownloadJob._run(UpdateCenter.java:1148)
   at 
 hudson.model.UpdateCenter$InstallationJob._run(UpdateCenter.java:1309)
   at hudson.model.UpdateCenter$DownloadJob.run(UpdateCenter.java:1126)
   at 
 java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471)
   at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:334)
   at java.util.concurrent.FutureTask.run(FutureTask.java:166)
   at 
 hudson.remoting.AtmostOneThreadExecutor$Worker.run(AtmostOneThreadExecutor.java:110)
   at java.lang.Thread.run(Thread.java:722)
 Caused by: java.io.IOException: Inconsistent file length: expected 3471225 
 but only got 6831
   at 
 hudson.model.UpdateCenter$UpdateCenterConfiguration.download(UpdateCenter.java:784)
   ... 8 more
 
 
 -- 
 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/407e38a9-6107-4977-b3dc-22ee22245de3%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/1386D006-3316-462B-B0C6-82B83DCAFF3F%40beckweb.net.
For more options, visit https://groups.google.com/d/optout.


Re: Version Issues on Website

2015-07-20 Thread Daniel Beck
Thanks for telling us! I'll look into this.

On 20.07.2015, at 14:07, Rinaldo DiGiorgio digitalrina...@gmail.com wrote:

 http://mirrors.jenkins-ci.org/war/latest/jenkins.war when downloaded is 
 actually 1.620 and not 1.621 from http://jenkins-ci.org/
 
 The changelog page is also broken.
 
 http://jenkins-ci.org/changelog
 
 
 -- 
 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/9c0511d7-76e8-47c9-b93d-ea8b84c383ac%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/416497F9-C76F-47E1-8BF9-950A7FFF75F2%40beckweb.net.
For more options, visit https://groups.google.com/d/optout.


gitclient plugin link for 1.81 broken from 1.620 which might be 1.621

2015-07-20 Thread Rinaldo DiGiorgio


hudson.util.IOException2: Failed to download from 
http://updates.jenkins-ci.org/download/plugins/git-client/1.18.0/git-client.hpi 
(redirected to: 
http://ftp-nyc.osuosl.org/pub/jenkins/plugins/git-client/1.18.0/git-client.hpi)
at 
hudson.model.UpdateCenter$UpdateCenterConfiguration.download(UpdateCenter.java:797)
at hudson.model.UpdateCenter$DownloadJob._run(UpdateCenter.java:1148)
at 
hudson.model.UpdateCenter$InstallationJob._run(UpdateCenter.java:1309)
at hudson.model.UpdateCenter$DownloadJob.run(UpdateCenter.java:1126)
at 
java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471)
at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:334)
at java.util.concurrent.FutureTask.run(FutureTask.java:166)
at 
hudson.remoting.AtmostOneThreadExecutor$Worker.run(AtmostOneThreadExecutor.java:110)
at java.lang.Thread.run(Thread.java:722)
Caused by: java.io.IOException: Inconsistent file length: expected 3471225 but 
only got 6831
at 
hudson.model.UpdateCenter$UpdateCenterConfiguration.download(UpdateCenter.java:784)
... 8 more

-- 
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/407e38a9-6107-4977-b3dc-22ee22245de3%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Tool locations dropdown empty

2015-07-20 Thread Anthony Green
I want to customise the tool locations of my Jenkins Slaves 
However when I click add to the List of tool locations the 'Name' dropdown 
menu is empty.

Is this a bug or is the a pre-step I've missed out?

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


Re: Tool locations dropdown empty

2015-07-20 Thread Daniel Beck
You need to configure tools first in Manage Jenkins » Configure Jenkins.

On 20.07.2015, at 15:19, Anthony Green anthony.charles.gr...@gmail.com wrote:

 I want to customise the tool locations of my Jenkins Slaves 
 However when I click add to the List of tool locations the 'Name' dropdown 
 menu is empty.
 
 Is this a bug or is the a pre-step I've missed out?
 
 -- 
 You received this message because you are subscribed to the Google Groups 
 Jenkins Users group.
 To unsubscribe from this group and stop receiving emails from it, send an 
 email to jenkinsci-users+unsubscr...@googlegroups.com.
 To view this discussion on the web visit 
 https://groups.google.com/d/msgid/jenkinsci-users/54f62439-95a4-4d89-b56f-f963c2cebd2c%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/CD859623-2DDE-4D05-84BD-96797C9ED38F%40beckweb.net.
For more options, visit https://groups.google.com/d/optout.


Can we use variables in the custom workspace entry?

2015-07-20 Thread murali mohan
I tried 2 options:
1) Set environment variable from Manage Jenkins - Configure System option. 
Use the environment variable as ${custom_workspace}
2) Set a parameterized build and define a parameter. Use the parameter as 
above

In both cases, the variable/paremter is not getting substituted with the 
value.

Please help.

Thanks,
Murali

-- 
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/70139c70-589f-4ef8-809b-92401598da89%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: Tool locations dropdown empty

2015-07-20 Thread Anthony Green
On Monday, 20 July 2015 14:26:10 UTC+1, Daniel Beck wrote:

 You need to configure tools first in Manage Jenkins » Configure Jenkins. 

 That dropdown is also empty 

-- 
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/69b4e1ec-ff18-41d8-9509-ee17838b475e%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Forcing another job to run immediately on same node

2015-07-20 Thread Porter Bassett
I am trying to break up a job into two smaller jobs, which I'll call jobA 
and jobB.

I want jobB to run *immediately* after jobA, and on the same node, just 
like they did when they were the same job.

I can use use the Parameterized Trigger plugin to make jobA trigger jobB on 
the same node.

However, this triggering of jobB doesn't force it to run immediately.  If 
there are other jobs in the queue, then jobB will just be put on the end of 
the queue.

How can I force jobB to always run immediately after jobA, and on the same 
node?

-- 
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/a02c83b4-0c1c-412d-83a2-006e8f57384d%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


linux daemon exits unexpected after jenkins completes the shell script

2015-07-20 Thread zhu kane
I put below simple script in 'Execute shell' block,

*daemon --name=test-daemon -- sleep 200*
*sleep 60*

The process 'daemon' and 'sleep 200' should exit after 200 seconds the
'sleep' exits. The jenkins job will be finished in 60 secs.

*jenkins   9954  9950  0 21:48 ?00:00:00 sleep 60*
*jenkins   9955 1  0 21:48 ?00:00:00 daemon —name=test-daemon —
sleep 200*
*jenkins   9956  9955  0 21:48 ?00:00:00 sleep 200*

Above is the process info queried via ps command. The father pid of daemon
is 1, not the script generated by jenkins.

But both the process 'daemon' and 'sleep 200' immediately exited when the
script finished.

It's something really strange. Does Jenkins automatically kill all child
processes forked by the script in build step? Did anybody suffer this
before? How did you resolve it?

p.s: Everything works fine if I ran above script in a linux shell.

Kane Zhu

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


Perl developer

2015-07-20 Thread manikanta . samurai


*Perl developer*

Location: NYC
*Duration: 9 months*

*Responsibilities:*
*Work and partner with business and IT teams in various areas of retail 
banking to develop perl scripting solutions. *
*Synthesize and translate Business data needs into creative visualizations 
in Tableau.*
*Provide communication of status and updates to all levels in a timely 
manner regarding all reports; escalate issues to users and other 
resources. *
*Complete projects as assigned by manager or service management, and may 
assists with other functional areas as needed.*
 
*Skills Required*
*Expertise in developing, maintaining and managing perl related work 
products, preferably with working knowledge of object orientation perl.*
*Possess strong verbal  written communication skills.*
*In-depth knowledge of PERL concepts.  In-depth knowledge and hands-on 
experience Unix/Linux programming (shell and/or Perl)*
*Experience in problem-solving/ conflict resolution, critical thinking and 
priority-setting. *
*Experience in working with several groups of data and users 
simultaneously. *
*Experience in being innovative and having strong analytic skills. Look for 
opportunities to improve current processes or find efficiencies by applying 
industry best practices for PERL development*
*Experience in Financial industry is a plus.*
 

*NOTE:*

*Please share your consultant resume with these details and visa copy for 
submission.*

*Please do not share your consultant resume without details**.*

 

Full Name: 

Current Location:

Zip code of Current Location: 

Currently on Project(Yes/No):  

If working on Project(End Date):  

Highest Education: 

Year of Pass Out: 

Any Certification:

Total Experience:

Relevant Experience:

US Experience:

Visa Status:

DOB (dd-mm-):  

Phone No: 

Personal Email ID:   

SKPYE ID:

Availability for Interview in 3 slots:  

Notice Period to Join*(in days):

Communication Skills (1-10):  

Any interviews /offers in pipeline:  

Pay Rate to Candidate: 

Relocation *YES/ NO:

References of Current Project:

 

Thanks  Regards,

RK
Talent Acquisition https://www.recruiter.com/i/talent-acquisition/

Samurai Infotech LLC | 1255 Peachtree pky, Suite# 4101, Cumming, GA, 30041

Voice: 678-799-7914 | Fax: 678-659-9425 Email: r...@samuraiinfotech.com

-- 
You received this message because you are subscribed to the Google Groups 
Jenkins Users group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to jenkinsci-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jenkinsci-users/7ef88dc8-ed40-47b6-a24f-0ed676680092%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: Can we use variables in the custom workspace entry?

2015-07-20 Thread Slide
I believe it depends on the type of job that you are running. I do this
with FreeStyle jobs with no problem, but it may not work correctly for
other types of jobs.

On Mon, Jul 20, 2015 at 7:34 AM murali mohan muralih...@gmail.com wrote:

 I tried 2 options:
 1) Set environment variable from Manage Jenkins - Configure System
 option. Use the environment variable as ${custom_workspace}
 2) Set a parameterized build and define a parameter. Use the parameter as
 above

 In both cases, the variable/paremter is not getting substituted with the
 value.

 Please help.

 Thanks,
 Murali

 --
 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/70139c70-589f-4ef8-809b-92401598da89%40googlegroups.com
 https://groups.google.com/d/msgid/jenkinsci-users/70139c70-589f-4ef8-809b-92401598da89%40googlegroups.com?utm_medium=emailutm_source=footer
 .
 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/CAPiUgVdnQWr1i%3DpM8wYNXDLfB7f5rePR5FnaAwHEZhq_A%3DDRew%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


Jenkins behind SSL, my case not going through

2015-07-20 Thread Snd Lt


I used to use these statements to put Jenkins behind reverse proxy for TLS 
in previous previous job. But somehow these are't working anymore.


I'm on

# rpm -q httpd
httpd-2.4.6-31.el7.x86_64
# rpm -q mod_ssl
mod_ssl-2.4.6-31.el7.x86_64


I referred to all the Jenkins proxy guides on here and and Jenkisn website, 
but no luck. They all seem to have variations of what I already have/know 
down in conf files.


So basically, I installed Jenkins and can access via http://its-address:8080; 
Now I'm triyng to put it reverse proxy through http:its-address so that I 
can reverse proxy it to https://its-address

I used to able to get through without using a2enmod.


These are what I used to add on httpd.conf and ssl.conf.


[httpd.conf]

VirtualHost *:80
DocumentRoot /var/www/html
ProxyPass / http://localhost:8080/ nocanon
ProxyPassReverse / http://localhost:8080/
ProxyRequests Off
ProxyPreserveHost On
Proxy http://localhost:8080/*
Order deny,allow
Allow from all
/Proxy
/VirtualHost


[ssl.conf]

SSLProxyEngine On
ProxyPreserveHost on
ProxyPass / https://localhost:8080/
ProxyPassReverse / https://localhost:8080/


No matter what I do around syntax, I'm suffering from

httpd[2410]: AH00526: Syntax error on line 100 of /etc/httpd/conf/httpd.conf:
httpd[2410]: ProxyPass|ProxyPassMatch needs a path when not defined in a 
location
or
httpd[2401]: Invalid ProxyPass|ProxyPassMatch parameter. Parameter must be in 
t...lue'.


Am I putting the correct statements?


Also tried, (at the end of ssl.conf)

VirtualHost *:80
ServerAdmin  webmaster@localhost
Redirect permanent / https://server.com/
/VirtualHost

VirtualHost *:443
SSLEngine on
SSLCertificateFile /etc/pki/tls/certs/ca.crt
ServerAdmin  webmaster@localhost
ProxyRequests Off
ProxyPreserveHost On
AllowEncodedSlashes NoDecode
Proxy *
Order deny,allow
Allow from all
/Proxy
ProxyPass  http://localhost:8080/
ProxyPassReversehttp://localhost:8080/
ProxyPassReversehttp://server.com/
RequestHeader set X-Forwarded-Proto https
RequestHeader set X-Forwarded-Port 443
/VirtualHost



Seems like I'm not even putting it behind 80 to be able to forward to 443. 
443 is currently configured with CA signed keys and the test page is 
secured.

httpd[4706]: AH00526: Syntax error on line 241 of  /etc/httpd/conf.d/ssl.conf:

httpd[4706]: /etc/httpd/conf.d/ssl.conf:ProxyPass|ProxyPassMatch needs a path 
when not defined in a location



[/etc/sysconfig/jenkins]

JENKINS_PORT=8080
JENKINS_LISTEN_ADDRESS=0.0.0.0
JENKINS_HTTPS_PORT=8081
JENKINS_HTTPS_LISTEN_ADDRESS=0.0.0.0

I'm getting Service Unavailable The server is temporarily unable to 
service your request due to maintenance downtime or capacity problems. 
Please try again later at the webpage.

Help appreciated, 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/acb461f8-84cf-4ab9-bf16-44dd5dc91b8a%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Jenkins Runtime Bug

2015-07-20 Thread Charl Erasmus
Please take note of the bug reported, which was reported with the 
instruction to mail this address. 

-- 
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/11b9ed33-8256-49fa-bd22-204baff7eb0f%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Started by upstream project qa-runAll_ie-dev build number 100
originally caused by:
 Started by upstream project qa-runAll-dev build number 58
 originally caused by:
  Started by timer
[EnvInject] - Loading node environment variables.

Parsing POMs
maven32-agent.jar already up to date
maven32-interceptor.jar already up to date
maven3-interceptor-commons.jar already up to date
[qa-meeting_remove_all_ie-dev] $ java -cp 
C:\jenkins\maven32-agent.jar;C:\jenkins\tools\hudson.tasks.Maven_MavenInstallation\maven\boot\plexus-classworlds-2.5.1.jar;C:\jenkins\tools\hudson.tasks.Maven_MavenInstallation\maven/conf/logging
 jenkins.maven3.agent.Maven32Main 
C:\jenkins\tools\hudson.tasks.Maven_MavenInstallation\maven 
C:\jenkins\slave.jar C:\jenkins\maven32-interceptor.jar 
C:\jenkins\maven3-interceptor-commons.jar 57260
ERROR: Processing failed due to a bug in the code. Please report this to 
jenkinsci-users@googlegroups.com
java.lang.IllegalStateException: Invalid object ID 370 iota=372
at hudson.remoting.ExportTable.diagnoseInvalidId(ExportTable.java:386)
at hudson.remoting.ExportTable.get(ExportTable.java:330)
at hudson.remoting.Channel.getExportedObject(Channel.java:605)
at 
hudson.remoting.RemoteInvocationHandler$RPCRequest.perform(RemoteInvocationHandler.java:317)
at 
hudson.remoting.RemoteInvocationHandler$RPCRequest.call(RemoteInvocationHandler.java:301)
at 
hudson.remoting.RemoteInvocationHandler$RPCRequest.call(RemoteInvocationHandler.java:260)
at hudson.remoting.UserRequest.perform(UserRequest.java:121)
at hudson.remoting.UserRequest.perform(UserRequest.java:49)
at hudson.remoting.Request$2.run(Request.java:325)
at 
hudson.remoting.InterceptingExecutorService$1.call(InterceptingExecutorService.java:68)
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 hudson.remoting.Engine$1$1.run(Engine.java:69)
at java.lang.Thread.run(Unknown Source)
at ..remote call to win2(Native Method)
at hudson.remoting.Channel.attachCallSiteStackTrace(Channel.java:1361)
at hudson.remoting.UserResponse.retrieve(UserRequest.java:221)
at hudson.remoting.Channel.call(Channel.java:753)
at 
hudson.remoting.RemoteInvocationHandler.invoke(RemoteInvocationHandler.java:179)
at hudson.maven.$Proxy63.accept(Unknown Source)
at 
hudson.maven.AbstractMavenProcessFactory.newProcess(AbstractMavenProcessFactory.java:270)
at hudson.maven.ProcessCache.get(ProcessCache.java:236)
at 
hudson.maven.MavenModuleSetBuild$MavenModuleSetBuildExecution.doRun(MavenModuleSetBuild.java:784)
at 
hudson.model.AbstractBuild$AbstractBuildExecution.run(AbstractBuild.java:537)
at hudson.model.Run.execute(Run.java:1741)
at hudson.maven.MavenModuleSetBuild.run(MavenModuleSetBuild.java:537)
at hudson.model.ResourceController.execute(ResourceController.java:98)
at hudson.model.Executor.run(Executor.java:381)
Caused by: java.lang.Exception: Object was recently deallocated
#370 (ref.0) : object=null 
type=hudson.maven.AbstractMavenProcessFactory$SocketHandler$AcceptorImpl 
interfaces=[hudson.maven.AbstractMavenProcessFactory$Acceptor]
  Created at Wed Jul 15 22:02:26 PDT 2015
at hudson.remoting.ExportTable$Entry.init(ExportTable.java:99)
at hudson.remoting.ExportTable.export(ExportTable.java:305)
at hudson.remoting.Channel.internalExport(Channel.java:601)
at hudson.remoting.Channel.export(Channel.java:592)
at hudson.remoting.Channel.export(Channel.java:562)
at 
hudson.maven.AbstractMavenProcessFactory$SocketHandler$AcceptorImpl.writeReplace(AbstractMavenProcessFactory.java:226)
at sun.reflect.GeneratedMethodAccessor598.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at java.io.ObjectStreamClass.invokeWriteReplace(Unknown Source)
at java.io.ObjectOutputStream.writeObject0(Unknown Source)
at java.io.ObjectOutputStream.writeObject(Unknown Source)
at hudson.remoting.UserRequest._serialize(UserRequest.java:158)
at 

RE: Forcing another job to run immediately on same node

2015-07-20 Thread Matthew.Webber
I don’t think there is any way of doing this. Can you explain what you are 
trying to achieve?

If your idea is that Job B will reference the workspace from Job A, then in 
Jenkins that’s an anti-pattern. The correct approach in that case is for Job A 
to archive some artifacts, and then Job B retrieve them.

You can make job B run on the same node as job A, but only if both jobs are 
tied to exactly one node, which is presumably not what you wanted.


From: jenkinsci-users@googlegroups.com 
[mailto:jenkinsci-users@googlegroups.com] On Behalf Of Porter Bassett
Sent: 20 July 2015 15:39
To: jenkinsci-users@googlegroups.com
Subject: Forcing another job to run immediately on same node

I am trying to break up a job into two smaller jobs, which I'll call jobA and 
jobB.

I want jobB to run *immediately* after jobA, and on the same node, just like 
they did when they were the same job.

I can use use the Parameterized Trigger plugin to make jobA trigger jobB on the 
same node.

However, this triggering of jobB doesn't force it to run immediately.  If there 
are other jobs in the queue, then jobB will just be put on the end of the queue.

How can I force jobB to always run immediately after jobA, and on the same node?


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


Re: Jenkins Runtime Bug

2015-07-20 Thread Slide
Looks like https://issues.jenkins-ci.org/browse/JENKINS-22853

On Mon, Jul 20, 2015 at 9:16 AM Charl Erasmus agilech...@gmail.com wrote:

 Please take note of the bug reported, which was reported with the
 instruction to mail this address.

 --
 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/11b9ed33-8256-49fa-bd22-204baff7eb0f%40googlegroups.com
 https://groups.google.com/d/msgid/jenkinsci-users/11b9ed33-8256-49fa-bd22-204baff7eb0f%40googlegroups.com?utm_medium=emailutm_source=footer
 .
 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/CAPiUgVeJiDkCVvRALEz-AgW2YVAOD9kb8Z4XdO05H24cJuQ_3Q%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


Re: Forcing another job to run immediately on same node

2015-07-20 Thread Porter Bassett
Yes, the idea is that I will force jobA and jobB to use the same workspace, 
and run exactly the same as if they were still the same monolithic job they 
were before.

Using archives doesn't really work me, as the files that would need to be 
archived are spread throughout the entire workspace, which is too big (30 
GB +) to archive and retrieve in a timely manner.

And yes, you are correct that I don't want to tie jobA and jobB to only one 
node. 

Can you explain a little more what you mean by an anti-pattern?

On Monday, July 20, 2015 at 8:28:04 AM UTC-7, matthew...@diamond.ac.uk 
wrote:

  I don’t think there is any way of doing this. Can you explain what you 
 are trying to achieve?

  

 If your idea is that Job B will reference the workspace from Job A, then 
 in Jenkins that’s an anti-pattern. The correct approach in that case is for 
 Job A to archive some artifacts, and then Job B retrieve them.

  

 You can make job B run on the same node as job A, but only if both jobs 
 are tied to exactly one node, which is presumably not what you wanted.

  

  
   
 *From:* jenkins...@googlegroups.com javascript: [mailto:
 jenkins...@googlegroups.com javascript:] *On Behalf Of *Porter Bassett
 *Sent:* 20 July 2015 15:39
 *To:* jenkins...@googlegroups.com javascript:
 *Subject:* Forcing another job to run immediately on same node
  
  
  
 I am trying to break up a job into two smaller jobs, which I'll call jobA 
 and jobB.
  
  
   
 I want jobB to run *immediately* after jobA, and on the same node, just 
 like they did when they were the same job.
  
  
  
 I can use use the Parameterized Trigger plugin to make jobA trigger jobB 
 on the same node.
  
  
  
 However, this triggering of jobB doesn't force it to run immediately.  If 
 there are other jobs in the queue, then jobB will just be put on the end of 
 the queue.
  
  
  
 How can I force jobB to always run immediately after jobA, and on the same 
 node?

  

  

 -- 

 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/57adf3a1-c8aa-4f7f-b4b3-56442c51a5b9%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: Specific order for downstream Build other projects ?

2015-07-20 Thread daleq

On Mon, Jul 20, 2015 at 9:53 PM, daleq da...@revolution-computing.com
 wrote:

 Using Jenkins 1.619, the execution order of jobs specified in Build other 
 projects is non-deterministic in my experiments.
 I have about 10 jobs that are listed in Build other projects.  I'd like 
 to be able to order those jobs.
 The reason that I don't serialize (chaining together in Jenkins) is that I 
 want to arbitrarily run any one job at a later time without executing 
 downstream jobs.
 Is there a way to specify job sequence for jobs listed in Build other 
 projects?



On Monday, July 20, 2015 at 1:16:58 PM UTC-7, Nick Stolwijk wrote:

 As I read your description I think you are looking for a build pipe line. 
 [1] 
 [1] https://wiki.jenkins-ci.org/display/JENKINS/Build+Pipeline+Plugin


Thanks Nick for the pointer to Build Pipeline.  

I'm thinking this is heavier than what I'm hoping for.  But I'll keep 
this in mind.

Thanks again.
Dale

 

-- 
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/6ae9321f-0feb-4d18-836e-0285fa30f9e5%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: Specific order for downstream Build other projects ?

2015-07-20 Thread Nick Stolwijk
As I read your description I think you are looking for a build pipe line.
[1]

[1] https://wiki.jenkins-ci.org/display/JENKINS/Build+Pipeline+Plugin

Hth,

Nick Stolwijk

~~~ Try to leave this world a little better than you found it and, when
your turn comes to die, you can die happy in feeling that at any rate you
have not wasted your time but have done your best ~~~

Lord Baden-Powell

On Mon, Jul 20, 2015 at 9:53 PM, daleq d...@revolution-computing.com
wrote:

 Hi,

 Using Jenkins 1.619, the execution order of jobs specified in Build other
 projects is non-deterministic in my experiments.

 I have about 10 jobs that are listed in Build other projects.  I'd like
 to be able to order those jobs.

 e.g.
 Initiator_Job_1
   Job_A
   ...
   Job_N

 The reason that I don't serialize (chaining together in Jenkins) is that I
 want to arbitrarily run any one job at a later time without executing
 downstream jobs.

 Is there a way to specify job sequence for jobs listed in Build other
 projects?

 Thanks,
 Dale

 --
 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/38da3efe-d9f0-4e89-8170-ff2768a37838%40googlegroups.com
 https://groups.google.com/d/msgid/jenkinsci-users/38da3efe-d9f0-4e89-8170-ff2768a37838%40googlegroups.com?utm_medium=emailutm_source=footer
 .
 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/CAA9S6i7nX6u_JxSsSnPNoS%2BO%2B%3D7CZjyJ9D31fqd8wu2TtJRg2g%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


Re: Jenkins behind SSL, my case not going through

2015-07-20 Thread Snd Lt
Thanks. How would you define that otherwise?
I thought I already defined it at localhost:8080? Which is where Jenkins is 
accessible at?

On Monday, July 20, 2015 at 8:15:35 AM UTC-7, Corneil du Plessis wrote:

 The path is missing from your ProxyPass and ProxyPassReverse items.

 On 20 July 2015 at 17:01, Snd Lt send...@gmail.com javascript: wrote:

 ProxyPass http://localhost:8080/ ProxyPassReverse http://localhost:8080/ 
 ProxyPassReverse http://server.com/


 ProxyPass /  http://localhost:8080/
 ProxyPassReverse  /  http://localhost:8080/
 ProxyPassReverse  /  http://server.com/


  
 [image: --]
 Corneil du Plessis
 [image: https://]about.me/corneil
 https://about.me/corneil?promo=email_sig  
  

-- 
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/6e27fea0-6fa8-4f69-beeb-f0039321edcc%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[BuildFlow] How can I set a custom combine policy for parallel jobs

2015-07-20 Thread Mohamed Mansour
I want to run the same job N times in parallel, and pass if failures are 
less than 10% of N.

I have this code to run the parallel jobs:
def paramValues = (1..3)
def testJobs = [] 
for (param in paramValues) { 
  def jobParams = [VALUE: param] 
  def testJob = { 
// call build 
build(jobParams, MyJob) 
  } 
  println jobParams
  testJobs.add(testJob) 
} 
parallel(testJobs)



This code set the BF to FAILURE if any of the parallel runs failed.

I tried this instead:

ignore(FAILURE) {parallel(testJobs)}

This code ignores all FAILURES, so the BF job is always a success.

Any help would be greatly appreciated.


Thanks,
Mohamed


-- 
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/b99a6dfc-15e5-4888-8b5c-5530e6f95b0f%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.