Re: Iteration over list or map in Pipeline script

2017-03-13 Thread Bill Dennis
You can do it with a for loop. There are issues using Groovy iterators like 
each {}. Try something like this:

pipeline {
agent any

stages {
stage('loop') {
steps {
script {
def x = ['a', 'b', 'c']
println x 
for(String item: x) {
println item
}
}
}
}
}
}


On Monday, 13 March 2017 14:26:44 UTC, Martin Schmude wrote:
>
> Hello,
>
> I have a freestyle job with one step of the kind "Execute Groovy Script". 
> Its Groovy code is
>
> def x = ['a', 'b', 'c']
> println x
> x.each { println it }
>
>
> The output of this job is (not surprinsingly):
>
> [Test-Groovy2] $ groovy 
> /var/lib/jenkins/workspace/Test-Groovy2/hudson3825239812036801886.groovy
> [a, b, c]
> a
> b
> c
> Finished: SUCCESS
>
>
> But if I create a pipeline job with the pipeline script set to the same 
> Groovy code, its output is:
>
> [Pipeline] echo[a, b, c][Pipeline] echoa[Pipeline] End of PipelineFinished: 
> SUCCESS
>
>
> The .each() gets the first element in the list and nothing more.
> What's going on here? I thought that pipeline scripts are just Groovy plus 
> some pipeline DSL, but I seem to be wrong.
>
> BTW: my Jenkins is 2.27.
>
>

-- 
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/de886784-ca86-4872-a310-0924a7a25d9c%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Active Choices plugin - not found referenced parameter

2017-03-13 Thread kevmando
Hi,

I'm trying to use Active Choices plugin to get branch list by repo using 
github api, but it gives me an error that there is no repo - which is a 
referenced parameter, which is already defined.

In case, I'm using Ubuntu 16.0.4, Jenkins 2.32.2 and Active choices plugin 
1.5.3.

if (REPO.equals("REPOA")){
def proc = "curl 
https://api.github.com/repos/jenkinsci/active-choices-plugin/branches | jq 
-r '[.[] | .name ]'".execute()
return proc.text
}
else if (REPO.equals("REPOB")){
def proc = "curl 
https://api.github.com/repos/jenkinsci/active-choices-plugin/branches | jq 
-r '[.[] | .name ]' ".execute()
return proc.text
}




Am I doing something wrong?

(I also tried to use buffer/stream way since I found some answers about not 
using 'text' from stackoverflow, but same result. the code part to get 
branch name is working fine on scriptler edit mode.)

def proc ="curl"
def outputStream = new StringBuffer()
proc.waitForProcessOutput(outputStream, System.err)
return outputStream.toString())
referenced parameter reactive part



The error is as follow:

Fallback to default script...
groovy.lang.MissingPropertyException: No such property: REPO for class:  
Script1
at org.codehaus.groovy.runtime.ScriptBytecodeAdapter.unwrap(
ScriptBytecodeAdapter.java:53)
at org.codehaus.groovy.runtime.callsite.PogoGetPropertySite.getProperty(
PogoGetPropertySite.java:52)
at org.codehaus.groovy.runtime.callsite.AbstractCallSite.
callGroovyObjectGetProperty(AbstractCallSite.java:307)
at Script1.run(Script1.groovy:1)



-- 
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/9c6cec1e-0848-46a0-b754-9a0241c67d76%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: Multiple Jenkins possible ? - quick question

2017-03-13 Thread suresh kumar
Hi Fadi,

Can you share me steps how you configured gearman and multiple master 
jenkins 

On Friday, 16 October 2015 00:30:59 UTC+5:30, Fadi Al-Farah wrote:
>
> Yes I've tried, the instructions from the wiki. I'm at the point where I'm 
> trying to setup a gearman server, but I don't think it's running. (When I 
> try to Test the connection from Jenkins, it fails).
>
> Is there a tutorial out there that has a walkthrough on how to get it 
> setup to make Jenkins HA?
>
> On Thursday, October 15, 2015 at 2:42:55 PM UTC-4, Khai Do wrote:
>>
>> Well, there are instructions on the wiki.  What have you tried? 
>>
>> On Thu, Oct 15, 2015 at 11:39 AM, Fadi Al-Farah  
>> wrote: 
>> > Hello, I am trying to use the Gearman Plugin but I have no idea how to 
>> set 
>> > it up to make Jenkins as high-availibility(ish)... 
>> > 
>> > On Tuesday, July 14, 2015 at 2:20:53 PM UTC-4, Khai Do wrote: 
>> >> 
>> >> We use the Jenkins gearman plugin 
>> >> (https://wiki.jenkins-ci.org/display/JENKINS/Gearman+Plugin) to run 
>> jenkins 
>> >> in a multi master configuration.  That plugin is open source so no 
>> need to 
>> >> buy cloudbees solution. 
>> > 
>> > -- 
>> > You received this message because you are subscribed to a topic in the 
>> > Google Groups "Jenkins Users" group. 
>> > To unsubscribe from this topic, visit 
>> > 
>> https://groups.google.com/d/topic/jenkinsci-users/koaeG45jEfc/unsubscribe. 
>>
>> > To unsubscribe from this group and all its topics, send an email to 
>> > jenkinsci-use...@googlegroups.com. 
>> > To view this discussion on the web visit 
>> > 
>> https://groups.google.com/d/msgid/jenkinsci-users/99fa0190-38fe-4a31-96a4-7a8cd83bc15c%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/04df17ed-e9cb-4c2f-b553-699d5bb3d4d2%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: Help required with arguments for Amazon EC2 plugin

2017-03-13 Thread Michael Barrientos
There is a place inside the Advanced settings for an AMI where you can 
specific a subnet ID for a VPC. Give it the subnet ID for a specific 
already-created subnet inside your VPC, and the instance should show up in 
the VPC. The VPC ID itself is not required; it is implied by the subnet ID.

On Monday, March 13, 2017 at 1:04:01 PM UTC-7, krcp3917 wrote:
>
> Second attempt,  any views?
>
> >>>
> We are using Amazon EC2 plugin to create Ubuntu host on aws.
> EC2 plugin creates Ubuntu host always in default VPC and I don't see an 
> option to provide vpc id as an input to plugin.
> Our requirement is to create a Ubuntu host in vpc which is already created 
> in aws.
> please someone help me with more details on how to provide VPC id for 
> amazon ec2 plugin as a argument.
> 
>
>
> Thanks,
> Prabha
>
> On Thu, Mar 9, 2017 at 1:09 PM, prabha KR  > wrote:
>
>> Hi,
>>
>> We are using Amazon EC2 plugin to create Ubuntu host on aws.
>> EC2 plugin creates Ubuntu host always in default VPC and I don't see an 
>> option to provide vpc id as an input to plugin.
>> Our requirement is to create a Ubuntu host in vpc which is already 
>> created in aws.
>> please someone help me with more details on how to provide VPC id for 
>> amazon ec2 plugin as a argument.
>>
>> Thanks,
>> KRCP
>>
>
>

-- 
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/0244eaac-935a-4f75-966a-c0499a8b523a%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: Help required with arguments for Amazon EC2 plugin

2017-03-13 Thread prabha KR
Second attempt,  any views?

>>>
We are using Amazon EC2 plugin to create Ubuntu host on aws.
EC2 plugin creates Ubuntu host always in default VPC and I don't see an
option to provide vpc id as an input to plugin.
Our requirement is to create a Ubuntu host in vpc which is already created
in aws.
please someone help me with more details on how to provide VPC id for
amazon ec2 plugin as a argument.



Thanks,
Prabha

On Thu, Mar 9, 2017 at 1:09 PM, prabha KR  wrote:

> Hi,
>
> We are using Amazon EC2 plugin to create Ubuntu host on aws.
> EC2 plugin creates Ubuntu host always in default VPC and I don't see an
> option to provide vpc id as an input to plugin.
> Our requirement is to create a Ubuntu host in vpc which is already created
> in aws.
> please someone help me with more details on how to provide VPC id for
> amazon ec2 plugin as a argument.
>
> Thanks,
> KRCP
>

-- 
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/CAMUCfgQAd%2BqXV6LbYOq_CFi%2BX2FxWSBxjHBUqfGjiWCzjEnG%3DA%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


How to load a groovy file only in the current node

2017-03-13 Thread 'Claudiu Guiman' via Jenkins Users
Hi,
My current Jenkins instance stores some test environment settings in groovy 
files that reside in the credentials store.

One of the steps runs some jobs in parallel and each of the nodes should load a 
different groovy file. Unfortunately the result is not as expected, the load is 
global and overwrites whatever variables were set on a different node.
Is there some way to load a groovy file only in the current node?

My groovy files are very simple: they just have commands that set environment 
variables (around 10), so if there's some other way I could  achieve the same 
result that would be great. I don't want to put each variable in its own 
credentials, because it will get very hard to manage.

Thank you,
Claudiu Guiman

-- 
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/MWHPR21MB05111F2E0DFA12B96DB9CA5CD7250%40MWHPR21MB0511.namprd21.prod.outlook.com.
For more options, visit https://groups.google.com/d/optout.


Jenkins Slave - maven settings.xml file location - not found

2017-03-13 Thread Shaun Thompson
I currently have a Linux Jenkins instance running and I'm trying to add a 
windows slave to it.

My master maven configuration for settings is the following.




My slave configuration is the following - duplicate vars for testing






The job continues to fail as it's looking for the settings.xml on the 
master.


ERROR: No such settings file C:\linux_directory\.m2\settings.xml exists
Please verify that your alternate settings file is specified properly and 
exists in the workspace.



What am I missing?



-- 
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/12666341-16c7-49c0-9032-f773a15bd812%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: Multi-configuration has n+1 checkouts

2017-03-13 Thread Simon Richter
Hi,

On 13.03.2017 08:41, Daniel Becroft wrote:

> 1. There is a checkout performed on the headline job; then
> 2. A checkout is performed for each individual job

> Is there a way to remove the headline checkout as well, or a way to stop
> it being checked out to start with?

That is normal.

The headline job is responsible for deciding which version to build, and
it also maintains a list of changes for each build. The individual
builds don't check out the head revision, but rather the one that was
selected in the headline job -- that way, you get a consistent version
across all configurations.

   Simon

-- 
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/c72138f6-431b-8820-907f-dc8e88133ddf%40hogyros.de.
For more options, visit https://groups.google.com/d/optout.


signature.asc
Description: OpenPGP digital signature


Re: Iteration over list or map in Pipeline script

2017-03-13 Thread Slide
Pipeline is a SUBSET of Groovy, not a superset. There are things (like
iterators) that are not serializable, so they can't be used in a pipeline.
You can create a method that is marked with @NonCPS to do things that are
not serialized, but sometimes it is difficult to get back out what you need
without the full Groovy functionality. You need to switch to using C style
loops.

On Mon, Mar 13, 2017 at 7:26 AM 'Martin Schmude' via Jenkins Users <
jenkinsci-users@googlegroups.com> wrote:

> Hello,
>
> I have a freestyle job with one step of the kind "Execute Groovy Script".
> Its Groovy code is
>
> def x = ['a', 'b', 'c']
> println x
> x.each { println it }
>
>
> The output of this job is (not surprinsingly):
>
> [Test-Groovy2] $ groovy 
> /var/lib/jenkins/workspace/Test-Groovy2/hudson3825239812036801886.groovy
> [a, b, c]
> a
> b
> c
> Finished: SUCCESS
>
>
> But if I create a pipeline job with the pipeline script set to the same
> Groovy code, its output is:
>
> [Pipeline] echo[a, b, c][Pipeline] echoa[Pipeline] End of PipelineFinished: 
> SUCCESS
>
>
> The .each() gets the first element in the list and nothing more.
> What's going on here? I thought that pipeline scripts are just Groovy plus
> some pipeline DSL, but I seem to be wrong.
>
> BTW: my Jenkins is 2.27.
>
> --
> 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/ca2dd238-550f-46a0-8f56-1bc167402eb8%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/CAPiUgVfS8Z2ceE%3Dok93rBxVzWfhQv5LxSRx0k-kRXS8Ozx1mRQ%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


Iteration over list or map in Pipeline script

2017-03-13 Thread 'Martin Schmude' via Jenkins Users
Hello,

I have a freestyle job with one step of the kind "Execute Groovy Script". 
Its Groovy code is

def x = ['a', 'b', 'c']
println x
x.each { println it }


The output of this job is (not surprinsingly):

[Test-Groovy2] $ groovy 
/var/lib/jenkins/workspace/Test-Groovy2/hudson3825239812036801886.groovy
[a, b, c]
a
b
c
Finished: SUCCESS


But if I create a pipeline job with the pipeline script set to the same 
Groovy code, its output is:

[Pipeline] echo[a, b, c][Pipeline] echoa[Pipeline] End of PipelineFinished: 
SUCCESS


The .each() gets the first element in the list and nothing more.
What's going on here? I thought that pipeline scripts are just Groovy plus 
some pipeline DSL, but I seem to be wrong.

BTW: my Jenkins is 2.27.

-- 
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/ca2dd238-550f-46a0-8f56-1bc167402eb8%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: Zip and archive folder/sub folders

2017-03-13 Thread Jérôme Godbout
No need to use 'bat' command, there is a zip command directly. Change:

bat 'zip zipFile: \'screen.zip\' archive: true dir: \'screenprint\' glob:
\'**/*.png\''

for this:

zip zipFile: 'screen.zip' archive: true dir: 'screenprint' glob: '**/*.png'

it should work directly


[image: bodycad] 
Jerome Godbout
Software Developer
2035 rue du Haut-Bord, Québec, QC, Canada. G1N 4R7
T:  +1 418 527-1388
E: jer...@bodycad.com
www.bodycad.com

The contents of this email message and any attachments are intended solely
for the addressee(s) and may contain confidential and/or privileged
information and may be legally protected from disclosure. If you are not
the intended recipient of this message or their agent, or if this message
has been addressed to you in error, please immediately alert the sender by
reply email and then delete this message and any attachments. If you are
not the intended recipient, you are hereby notified that any use,
dissemination, copying, or storage of this message or its attachments is
strictly prohibited.

Le contenu de ce message et les pièces jointes sont destinés uniquement
pour le(s) destinataire(s) et peuvent contenir des informations
confidentielles et / ou privilégiées qui peuvent être protégées légalement
contre toute divulgation. Si vous n'êtes pas le destinataire de ce message
ou son agent, ou si ce message vous a été adressé par erreur, s’il vous
plaît avertir immédiatement l'expéditeur par courriel de réponse, puis
supprimer ce message et les pièces jointes. Si vous n'êtes pas le
destinataire prévu, vous êtes par la présente informé que toute
utilisation, diffusion, copie, ou stockage de ce message ou de ses pièces
jointes est strictement interdit.

On Mon, Mar 13, 2017 at 1:56 AM, 'Baswaraj Malage' via Jenkins Users <
jenkinsci-users@googlegroups.com> wrote:

> Hey Jerome
> I'm using latest stable version of Jenkins and my pipeline node script
> looks as below.
>
>
> node {
>> stage('checkout') {
>> git '...github link...'
>> }
>> stage('build and test') {
>> bat 'npm install'
>> bat 'npm run test'
>> }
>> stage('archive') {
>> bat 'zip zipFile: \'screen.zip\' archive: true dir: \'screenprint\' glob:
>> \'**/*.png\''
>> }
>> }
>>
>
>
> Thanks
> Baswaraj
>
> --
> You received this message because you are subscribed to a topic in the
> Google Groups "Jenkins Users" group.
> To unsubscribe from this topic, visit https://groups.google.com/d/
> topic/jenkinsci-users/Hbv3-F842pE/unsubscribe.
> To unsubscribe from this group and all its topics, 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/38e92b8f-1e32-4e68-aee6-16705a20f0df%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/CAKmu%2Be2L%3DPY-DYD_xM-jcFUVba43JDpfNeo1_%2BPPcnM%2BQCto0A%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


RE: Future of 'pipeline' in the context of Blue Ocean?

2017-03-13 Thread Gardell, Steven
This is not my experience. I see two different bad behaviors:

1)  The display presented for a currently running job is simply wrong, with 
the tool showing a running downstream serial activity that doesn’t exist. Once 
the overall job completes it “pops” back to a somewhat more correct 
presentation. See #2

2)  Presentation of a build with multiple levels of parallelism (e.g. where 
one of the parallel activities is forked into parallel activities that re-join) 
does not present correctly

Maybe there is some documentation lurking somewhere about structuring Scripted 
pipelines in a Blue Ocean friendly fashion?

If the expectation is that this should all work, I will create Jira items for 
these behaviors.

Then there is the “visualization” question related to postBuild…

From: jenkinsci-users@googlegroups.com 
[mailto:jenkinsci-users@googlegroups.com] On Behalf Of Andrew Bayer
Sent: Sunday, March 12, 2017 10:29 PM
To: jenkinsci-users@googlegroups.com
Subject: Re: Future of 'pipeline' in the context of Blue Ocean?

The Blue Ocean visualization works equally well for any Pipeline, whether 
Scripted or Declarative. The Pipeline editor in Blue Ocean only works with 
Declarative, but that's the only difference.

On Mar 12, 2017 17:19, "Gardell, Steven" 
> wrote:
Not surprisingly the Blue Ocean site is full of references to the “Jenkins 
Pipeline.” But it turns out that this really referring to the declarative 
pipeline. My experience is that in its current state Blue Ocean is a step back, 
or at best sideways, for the imperative/scripted pipeline. Following threads 
here and elsewhere it is pretty clear that the vernacular is converging to 
equate “Blue Ocean Pipeline” with “Declarative Pipeline.”

My question is do we see the Blue Ocean UI more fully embracing the imperative 
pipeline in the future as might be inferred from the statement “The intention 
is that as Blue Ocean matures there will be less and less reasons for users to 
go back to the existing UI” or do we see the imperative pipeline going away? Or 
possibly some tweaks to how imperative pipelines are written to provide Blue 
Ocean with a better decoder ring? I ask because converting our imperative 
pipelines to declarative is looking rather non-trivial.

Along a somewhat related vein, our imperative pipelines make use of the 
postBuild plugin to summarize various sorts of build results. But I don’t find 
any of that material presented in the Blue Ocean UI. So I gather it is not 
supported. Will it be? Or some other way of achieving the same end?
--
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/CY1PR0301MB1996CCE2CB0584FEC064A34EB8250%40CY1PR0301MB1996.namprd03.prod.outlook.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/CAPbPdOah319LAkXVaHLRJucoz%3DySb%2BYWRHO3UKEtAKf2H8uSPw%40mail.gmail.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/CY1PR0301MB199647026F78A681FD989C06B8250%40CY1PR0301MB1996.namprd03.prod.outlook.com.
For more options, visit https://groups.google.com/d/optout.


Re: maven.jenkins-ci.org not reachable ? - can't release a plugin ...

2017-03-13 Thread Yuanbo Han

Please refer here: 
https://wiki.jenkins-ci.org/display/JENKINS/Hosting+Plugins#HostingPlugins-Workingaroundcommonissues.
 
 You should update the parent org.jenkins-ci.plugins version. I have 
updated to 2.11 and it worked for me.

在 2016年10月9日星期日 UTC+8下午1:51:57,hagzag写道:
>
> Hi all,
>
> Did any of you encounter unavailability of maven.jenkins-ci.org ?
> "http://maven.jenkins-ci.org/content/repositories/releases; doesn't load 
> in browser either ...
>
> I am getting this during release:
>
> Uploading: 
> http://maven.jenkins-ci.org/content/repositories/releases/org/jenkins-ci/plugins/jenkins-multijob-plugin/1.23/jenkins-multijob-plugin-1.23.hpi
> Uploading: 
> http://maven.jenkins-ci.org/content/repositories/releases/org/jenkins-ci/plugins/jenkins-multijob-plugin/1.23/jenkins-multijob-plugin-1.23.pom
> [INFO] 
> 
> [INFO] BUILD FAILURE
> [INFO] 
> 
> [INFO] Total time: 03:17 min
> [INFO] Finished at: 2016-10-09T08:43:28+03:00
> [INFO] Final Memory: 89M/1585M
> [INFO] 
> 
> [ERROR] Failed to execute goal 
> org.apache.maven.plugins:maven-deploy-plugin:2.8.2:deploy (default-deploy) 
> on project jenkins-multijob-plugin: Failed to deploy artifacts: Could not 
> transfer artifact org.jenkins-ci.plugins:jenkins-multijob-plugin:hpi:1.23 
> from/to maven.jenkins-ci.org (
> http://maven.jenkins-ci.org/content/repositories/releases/): Connect to 
> maven.jenkins-ci.org:80 [maven.jenkins-ci.org/199.193.196.24] failed: 
> Operation timed out -> [Help 1]
> [ERROR]
> [ERROR] To see the full stack trace of the errors, re-run Maven with 
> the -e switch.
> [ERROR] Re-run Maven using the -X switch to enable full debug logging.
> [ERROR]
> [ERROR] For more information about the errors and possible solutions, 
> please read the following articles:
> [ERROR] [Help 1] 
> http://cwiki.apache.org/confluence/display/MAVEN/MojoExecutionException
> [INFO] 
> 
> [INFO] BUILD FAILURE
> [INFO] 
> 
> [INFO] Total time: 05:53 min
> [INFO] Finished at: 2016-10-09T08:43:28+03:00
> [INFO] Final Memory: 22M/367M
> [INFO] 
> 
> [ERROR] Failed to execute goal 
> org.apache.maven.plugins:maven-release-plugin:2.4.2:perform (default-cli) 
> on project jenkins-multijob-plugin: Maven execution failed, exit code: '1' 
> -> [Help 1]
> [ERROR]
> [ERROR] To see the full stack trace of the errors, re-run Maven with the 
> -e switch.
> [ERROR] Re-run Maven using the -X switch to enable full debug logging.
> [ERROR]
> [ERROR] For more information about the errors and possible solutions, 
> please read the following articles:
> [ERROR] [Help 1] 
> http://cwiki.apache.org/confluence/display/MAVEN/MojoExecutionException
>

-- 
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/03190194-5990-42f8-bc29-af3019b0d6fe%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Multi-configuration has n+1 checkouts

2017-03-13 Thread Daniel Becroft
Good evening,
I've noticed something odd about the Multi-configuration jobs. There always
seems to be N+1 checkouts performed (where N is the number of individual
configurations).
1. There is a checkout performed on the headline job; then
2. A checkout is performed for each individual job

When the individual configurations are run, I can configure the job to
remove the workspace upon completion.
Is there a way to remove the headline checkout as well, or a way to stop it
being checked out to start with?
Cheers,
Daniel B.

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