Re: Pipeline plugin to access variable set in job in another job

2017-11-24 Thread akostadinov

On Friday, February 19, 2016 at 3:55:57 PM UTC+2, Johann Muller wrote:
...

>   return newJob.getEnvVars().get(varName,null)
>
... 

Thank you for the useful pointers. FYI `getEnvVars` not very reliable. I 
wanted to get in this way but what I've got is only the first line of the 
string for some reason. Also `getEnvVars` is deprecated. I actually wanted 
to get a variable that was set by a parameter. So I ended up doing:

>paramValue = build.allActions.
>find {it in hudson.model.ParametersAction}.
>getParameter("MY_PARAM_NAME").
>value

Regards.

-- 
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/b588d086-1f5c-4cce-aa2d-29b34c0cee13%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: trouble with Bitbucket Branch Source Plugin

2017-11-24 Thread Joseph P
Have you enabled manage hook inside Jenkins system configuration in 
Bitbucket section? Or have you added the Jenkins webhook address inside the 
Repository settings under Post webhooks (this is basically what Manage 
hooks does)

Den fredag den 24. november 2017 kl. 11.33.38 UTC+1 skrev 
i.k...@betterfly-tourism.com:
>
> Hi, 
>
> I have dowgraded to 1.5.2 and still not getting a build trigger. I am 
> using 'Bitbucket Server Webhook to Jenkins' as a workaround. 
>
> Ivan 
>
> - Mail original - 
> De: "Joseph P"  
> À: "jenkinsci-users"  
> Envoyé: Vendredi 24 Novembre 2017 08:24:30 
> Objet: Re: trouble with Bitbucket Branch Source Plugin 
>
> Yes please downgrade to 1.5.2 Bitbucket webhook plugin while we are 
> looking 
> into a fix 
>
> By uninstalling via Manage add-ons link and then choose upload add-on and 
> put in the URL below 
>
> https://marketplace.atlassian.com/download/plugins/nl.topicus.bitbucket.bitbucket-webhooks/version/100500110
>  
>
> Docs from Atlassian: 
>
> https://confluence.atlassian.com/upm/uninstalling-add-ons-273875709.html#Uninstallingadd-ons-Uninstallinganadd-on
>  
>
> https://confluence.atlassian.com/upm/installing-add-ons-273875715.html#Installingadd-ons-Installingbyfileupload
>  
>
> Terribly sorry for not catching it before releasing :| 
>
> Den fredag den 24. november 2017 kl. 07.39.43 UTC+1 skrev Dan Tran: 
> > 
> > bitbucket-webhook 1.6 reportedly broken   see 
> > 
> https://github.com/Eernie/bitbucket-webhooks-plugin/pull/71#issuecomment-346656045
>  
>
> -- 
> You received this message because you are subscribed to the Google Groups 
> "Jenkins Users" group. 
> To unsubscribe from this group and stop receiving emails from it, send an 
> email to jenkinsci-use...@googlegroups.com . 
> To view this discussion on the web visit 
> https://groups.google.com/d/msgid/jenkinsci-users/b04b7077-026a-4fb6-a710-0eb523239406%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/165af576-8073-4bf9-963f-e9ecb960f5d0%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: trouble with Bitbucket Branch Source Plugin

2017-11-24 Thread Young Lee
I previously had installed Post Webhooks for Bitbucket v1.6.0 and reported 
issues with `PullRequestEvents` not being submitted.

A downgrade to v1.5.2 resolved my issues.

My setup is Jenkins LTS 2.73.3,  bitbucket branch source plugin 2.2.7, and 
Post webhooks for Bitbucket v1.5.2.  This combo works for us.

BTW: here is the thread where I reported the issue

https://groups.google.com/forum/?nomobile=true#!topic/jenkinsci-users/AZi6_kcr2sI


On Friday, November 24, 2017 at 1:34:05 AM UTC-8, 
i.k...@betterfly-tourism.com wrote:
>
> Hi Young Lee, 
>
> I have a credential user/password that has access to the Bitbucket repo. 
> Did I understand your question correctly? 
>
> Ivan 
>
> - Mail original - 
> De: "Young Lee"  
> À: "jenkinsci-users"  
> Envoyé: Jeudi 23 Novembre 2017 21:35:34 
> Objet: Re: trouble with Bitbucket Branch Source Plugin 
>
> Forgive me for asking, but did you verify you have access to the stash 
> repo 
> with the same credentials? 
>
> On Thursday, November 23, 2017 at 9:22:39 AM UTC-8, 
> i.k...@betterfly-tourism.com wrote: 
> > 
> > Hi, 
> > 
> > I have tried 2.46.3, 2.60.3 and 2.73.2 without much luck. I tried a very 
> > simple setup with a project DUMMY (key DUM) with one repo git 'foo'. I 
> > ended up with the following Jenkinsfile: 
> > 
> > pipeline { 
> > agent any 
> > triggers { 
> > pollSCM '' 
> > } 
> > stages { 
> > stage('Commit') { 
> > steps { 
> > checkout scm 
> > ... 
> > 
> > The payload that the BB Webhook is sending to Jenkins seems OK: 
> > 
> > {"actor":{"username":"ikanis","displayName":"Ivan 
> > 
> Kanis"},"repository":{"scmId":"git","project":{"key":"DUM","name":"DUMMY"},"slug":"foo","links":{"self":[{"href":"
>  
>
> > https://bb/blablaDUM/repos/foo/browse"}]},"ownerName":"DUM","public":false,"owner":{"username":"DUM","displayName":"DUM"},"fullName":"DUM/foo"},"push":{"changes":[{"created":false,"closed":false,"new":{"type":"branch","name":"master","target":{"type":"commit","hash":"fa101eedb37a6bd876f47ea35e368fa91063c883"}},"old":{"type":"branch","name":"master","target":{"type":"commit","hash":"8b1804696297bc0167a57c27acce87572864f962"}}}]}}
> >  
>
> > 
> > 
> > I still don't get a build triggered on a git push. 
> > 
> > The only thing that looks odd is an error in the configuration of the 
> repo 
> > 'foo'. It says: 
> > 
> > "HTTP ERROR 403 
> > Problem accessing 
> > 
> /job/d/job/foo/descriptorByName/com.cloudbees.jenkins.plugins.bitbucket.BitbucketSCMSource/fillRepositoryItems.
>  
>
> > Reason: 
> > Forbidden" (I have attached a screeshot.) 
> > 
> > I might have to debug Jenkins tomorrow. Could anyone give me pointers to 
> > which functions I need to look at? 
> > 
> > Have a nice day, 
> > 
> > Ivan 
> > 
> > 
> > 
> > - Mail original - 
> > De: "Dan Tran"  
> > À: "jenkinsci-users"  
> > Envoyé: Mercredi 22 Novembre 2017 01:26:30 
> > Objet: Re: trouble with Bitbucket Branch Source Plugin 
> > 
> > Hi 
> > 
> > did it work before 2.73.3?? 
> > 
> > -D 
> > 
> > -- 
> > You received this message because you are subscribed to the Google 
> Groups 
> > "Jenkins Users" group. 
> > To unsubscribe from this group and stop receiving emails from it, send 
> an 
> > email to jenkinsci-use...@googlegroups.com . 
> > To view this discussion on the web visit 
> > 
> https://groups.google.com/d/msgid/jenkinsci-users/1669c2a8-00de-4e27-9b7b-7bd1093b6c76%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-use...@googlegroups.com . 
> To view this discussion on the web visit 
> https://groups.google.com/d/msgid/jenkinsci-users/d8793ce3-638f-4211-9b86-f9351bebf40c%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/0362264a-2749-40fc-8161-907eb763467a%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: cloud docker give options to java command

2017-11-24 Thread nicolas de loof
just use the "JVM Options" parameter for this launcher (in advanced options)

2017-11-24 11:09 GMT+01:00 :

> I'm using ssh launch mechanism with ssh credentials.
> I would like to pass -xmx argument to the java command launching jenkins
> to limit the memory used by my jenkins nodes.
>
>
>
> Le jeudi 23 novembre 2017 18:52:22 UTC+1, nicolas de loof a écrit :
>>
>> it depends the docker agent template "launch" mechanism you're using.
>> Can you please describe your use-case ? Which argument do you want to
>> pass to the jenkins remote agent ?
>>
>> 2017-11-23 15:50 GMT+01:00 :
>>
>>> Hi,
>>> how could I give an option to the java command launching jenkins in a slave 
>>> :
>>> java  -jar slave.jar
>>>
>>> Is it possible with Jenkins/configuration "Cloud/Docker/Docker agent 
>>> templates/Container settings" ?
>>>
>>> --
>>> You received this message because you are subscribed to the Google
>>> Groups "Jenkins Users" group.
>>> To unsubscribe from this group and stop receiving emails from it, send
>>> an email to jenkinsci-use...@googlegroups.com.
>>> To view this discussion on the web visit https://groups.google.com/d/ms
>>> gid/jenkinsci-users/0366d397-a6d9-4259-9ae8-e6276f3e18a0%40g
>>> ooglegroups.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/ms
> gid/jenkinsci-users/d92d8aa9-1ef8-416d-aaa8-c1c6bd1e6488%
> 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/CANMVJznjJCpXkAqZsDHMPhVT9f4vd1C7HaFbnQP1mLYTgqPAbg%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


Re: Moving a job to a Folder

2017-11-24 Thread Muthu Kumaran
Sure Victor,

you can put this in a separate thread. I was expecting a solution for this 
issue. Even any relevant articles would be good.

On Friday, November 24, 2017 at 12:34:57 AM UTC+5:30, Victor Martinez wrote:

> I guess, this is something outside of what this particular topic was 
> about. Maybe it's worth raising this question in another new thread?
>

-- 
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/7cc981b4-3ae5-44b1-b71a-351bd452604b%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: trouble with Bitbucket Branch Source Plugin

2017-11-24 Thread i.ka...@betterfly-tourism.com
Hi,

I have dowgraded to 1.5.2 and still not getting a build trigger. I am using 
'Bitbucket Server Webhook to Jenkins' as a workaround.

Ivan

- Mail original -
De: "Joseph P" 
À: "jenkinsci-users" 
Envoyé: Vendredi 24 Novembre 2017 08:24:30
Objet: Re: trouble with Bitbucket Branch Source Plugin

Yes please downgrade to 1.5.2 Bitbucket webhook plugin while we are looking 
into a fix

By uninstalling via Manage add-ons link and then choose upload add-on and 
put in the URL below
https://marketplace.atlassian.com/download/plugins/nl.topicus.bitbucket.bitbucket-webhooks/version/100500110

Docs from Atlassian:
https://confluence.atlassian.com/upm/uninstalling-add-ons-273875709.html#Uninstallingadd-ons-Uninstallinganadd-on
https://confluence.atlassian.com/upm/installing-add-ons-273875715.html#Installingadd-ons-Installingbyfileupload

Terribly sorry for not catching it before releasing :|

Den fredag den 24. november 2017 kl. 07.39.43 UTC+1 skrev Dan Tran:
>
> bitbucket-webhook 1.6 reportedly broken   see 
> https://github.com/Eernie/bitbucket-webhooks-plugin/pull/71#issuecomment-346656045

-- 
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/b04b7077-026a-4fb6-a710-0eb523239406%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/647965740.14097823.1511519588075.JavaMail.zimbra%40betterfly-tourism.com.
For more options, visit https://groups.google.com/d/optout.


Re: cloud docker give options to java command

2017-11-24 Thread pi . quiroule
I'm using ssh launch mechanism with ssh credentials.
I would like to pass -xmx argument to the java command launching jenkins to 
limit the memory used by my jenkins nodes.



Le jeudi 23 novembre 2017 18:52:22 UTC+1, nicolas de loof a écrit :
>
> it depends the docker agent template "launch" mechanism you're using.
> Can you please describe your use-case ? Which argument do you want to pass 
> to the jenkins remote agent ?
>
> 2017-11-23 15:50 GMT+01:00 :
>
>> Hi,
>> how could I give an option to the java command launching jenkins in a slave :
>> java  -jar slave.jar
>>
>> Is it possible with Jenkins/configuration "Cloud/Docker/Docker agent 
>> templates/Container settings" ?
>>
>> -- 
>> You received this message because you are subscribed to the Google Groups 
>> "Jenkins Users" group.
>> To unsubscribe from this group and stop receiving emails from it, send an 
>> email to jenkinsci-use...@googlegroups.com .
>> To view this discussion on the web visit 
>> https://groups.google.com/d/msgid/jenkinsci-users/0366d397-a6d9-4259-9ae8-e6276f3e18a0%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/d92d8aa9-1ef8-416d-aaa8-c1c6bd1e6488%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: trouble with Bitbucket Branch Source Plugin

2017-11-24 Thread Joseph P
Yes please downgrade to 1.5.2 Bitbucket webhook plugin while we are looking 
into a fix

By uninstalling via Manage add-ons link and then choose upload add-on and 
put in the URL below
https://marketplace.atlassian.com/download/plugins/nl.topicus.bitbucket.bitbucket-webhooks/version/100500110

Docs from Atlassian:
https://confluence.atlassian.com/upm/uninstalling-add-ons-273875709.html#Uninstallingadd-ons-Uninstallinganadd-on
https://confluence.atlassian.com/upm/installing-add-ons-273875715.html#Installingadd-ons-Installingbyfileupload

Terribly sorry for not catching it before releasing :|

Den fredag den 24. november 2017 kl. 07.39.43 UTC+1 skrev Dan Tran:
>
> bitbucket-webhook 1.6 reportedly broken   see 
> https://github.com/Eernie/bitbucket-webhooks-plugin/pull/71#issuecomment-346656045

-- 
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/b04b7077-026a-4fb6-a710-0eb523239406%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: BitBucket Branch Source Plugin not triggering builds from Post Webhooks PR event

2017-11-24 Thread Joseph P
Good catch, I'll look into it

Den torsdag den 23. november 2017 kl. 19.47.00 UTC+1 skrev Young Lee:
>
> Hi,
>
> I believe the new feature introduced in the Post Webhooks for Bitbucket 
> version 1.6.0 to "add support for ignoring branches" in advertently is 
> filtering all PullRequestEvents and it is not sent out to the registered 
> webhooks.
>
> Version 1.5.2 does send PullRequestEvents.
>
> The following changes in the PullRequestListener seems to have caused this 
> regression
>
>  if(event instanceof BitbucketPushEvent && 
> pushEventService.isValidEvent((BitbucketPushEvent) event, 
> webHookConfiguration))
>
> {
> try (CloseableHttpResponse response = 
> httpClient.execute(post))
> {
> int statusCode = response.getStatusLine().getStatusCode();
> if (statusCode >= 400)
> {
> LOGGER.error(
> "[repo: {}]| Something went wrong while 
> posting (response code:{}) the following body to webhook: [{}({})] \n{}",
> repo,
> statusCode,
> webHookConfiguration.getTitle(),
> webHookConfiguration.getURL(),
> body);
> }
> }
> catch (IOException e)
> {
> LOGGER.error(
> "[repo: {}]| Something went wrong while posting 
> the following body to webhook: [{}({})] \n{}",
> repo,
> webHookConfiguration.getTitle(),
> webHookConfiguration.getURL(),
> body,
> e);
> }
> }
>
>
>
> On Wednesday, November 22, 2017 at 11:02:11 AM UTC-8, Young Lee wrote:
>>
>> Hi,
>>
>> I been tracing the bitbucket branch source plugin thru the Intellij IDE 
>> debugger and am in need of help to understand why PR is not triggering 
>> builds.
>>
>> Here is my setup:
>>
>>bitbucket server: version 4.14.11
>>Post Webhooks for Bitbucket: v1.6.0
>>bitbucket branch source plugin:  cloned from the github. (
>> https://github.com/jenkinsci/bitbucket-branch-source-plugin.git)
>>
>> Jenkins Job setup:
>>
>>BitBucket Team/Project (see attached screenshot for configuration)
>>
>>
>> I can see the PR events getting processed on Jenkins (below) when I 
>> update the PR branch, but the job is not getting scheduled.
>>
>> I really would appreciate some pointers on what to look for tracing the 
>> code.  I am guessing that the process method on line 661 inside the 
>> retrievePullRequest should be returning `true` to schedule a build.  When I 
>> trace the code that method seems to return false.
>>
>> [Wed Nov 22 10:22:18 PST 2017] Received 
>> com.cloudbees.jenkins.plugins.bitbucket.hooks.PushHookProcessor$1 UPDATED 
>> event from 127.0.0.1 ⇒ 
>> http://localhost:8080/jenkins/bitbucket-scmsource-hook/notify with timestamp 
>> Wed Nov 22 10:22:18 PST 2017
>> Connecting to http://localhost:7990 using admin/** (admin)
>> Repository type: Git
>> Looking up OP/ovn2 for branches
>> Checking branch test_web_hook from OP/ovn2
>> Checking branch master from OP/ovn2
>>
>>   2 branches were processed
>> Looking up OP/ovn2 for pull requests
>> Checking PR-1 from OP/ovn2 and branch test_web_hook
>>
>>   1 pull requests were processed
>> [Wed Nov 22 10:24:12 PST 2017] 
>> com.cloudbees.jenkins.plugins.bitbucket.hooks.PushHookProcessor$1 UPDATED 
>> event from 127.0.0.1 ⇒ 
>> http://localhost:8080/jenkins/bitbucket-scmsource-hook/notify with timestamp 
>> Wed Nov 22 10:22:18 PST 2017 processed in 1 min 53 sec
>>
>>
>>

-- 
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/ce88bf2b-14dd-4108-b2d7-72d531144f38%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: trouble with Bitbucket Branch Source Plugin

2017-11-24 Thread i.ka...@betterfly-tourism.com
Hi Young Lee,

I have a credential user/password that has access to the Bitbucket repo. Did I 
understand your question correctly?

Ivan

- Mail original -
De: "Young Lee" 
À: "jenkinsci-users" 
Envoyé: Jeudi 23 Novembre 2017 21:35:34
Objet: Re: trouble with Bitbucket Branch Source Plugin

Forgive me for asking, but did you verify you have access to the stash repo 
with the same credentials?

On Thursday, November 23, 2017 at 9:22:39 AM UTC-8, 
i.k...@betterfly-tourism.com wrote:
>
> Hi, 
>
> I have tried 2.46.3, 2.60.3 and 2.73.2 without much luck. I tried a very 
> simple setup with a project DUMMY (key DUM) with one repo git 'foo'. I 
> ended up with the following Jenkinsfile: 
>
> pipeline { 
> agent any 
> triggers { 
> pollSCM '' 
> } 
> stages { 
> stage('Commit') { 
> steps { 
> checkout scm 
> ... 
>
> The payload that the BB Webhook is sending to Jenkins seems OK: 
>
> {"actor":{"username":"ikanis","displayName":"Ivan 
> Kanis"},"repository":{"scmId":"git","project":{"key":"DUM","name":"DUMMY"},"slug":"foo","links":{"self":[{"href":"
> https://bb/blablaDUM/repos/foo/browse"}]},"ownerName":"DUM","public":false,"owner":{"username":"DUM","displayName":"DUM"},"fullName":"DUM/foo"},"push":{"changes":[{"created":false,"closed":false,"new":{"type":"branch","name":"master","target":{"type":"commit","hash":"fa101eedb37a6bd876f47ea35e368fa91063c883"}},"old":{"type":"branch","name":"master","target":{"type":"commit","hash":"8b1804696297bc0167a57c27acce87572864f962"}}}]}}
>  
>
>
> I still don't get a build triggered on a git push. 
>
> The only thing that looks odd is an error in the configuration of the repo 
> 'foo'. It says: 
>
> "HTTP ERROR 403 
> Problem accessing 
> /job/d/job/foo/descriptorByName/com.cloudbees.jenkins.plugins.bitbucket.BitbucketSCMSource/fillRepositoryItems.
>  
> Reason: 
> Forbidden" (I have attached a screeshot.) 
>
> I might have to debug Jenkins tomorrow. Could anyone give me pointers to 
> which functions I need to look at? 
>
> Have a nice day, 
>
> Ivan 
>
>
>
> - Mail original - 
> De: "Dan Tran"  
> À: "jenkinsci-users"  
> Envoyé: Mercredi 22 Novembre 2017 01:26:30 
> Objet: Re: trouble with Bitbucket Branch Source Plugin 
>
> Hi 
>
> did it work before 2.73.3?? 
>
> -D 
>
> -- 
> You received this message because you are subscribed to the Google Groups 
> "Jenkins Users" group. 
> To unsubscribe from this group and stop receiving emails from it, send an 
> email to jenkinsci-use...@googlegroups.com . 
> To view this discussion on the web visit 
> https://groups.google.com/d/msgid/jenkinsci-users/1669c2a8-00de-4e27-9b7b-7bd1093b6c76%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/d8793ce3-638f-4211-9b86-f9351bebf40c%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/509419574.14035072.1511512441508.JavaMail.zimbra%40betterfly-tourism.com.
For more options, visit https://groups.google.com/d/optout.


Re: trouble with Bitbucket Branch Source Plugin

2017-11-24 Thread i.ka...@betterfly-tourism.com
Hi,

We are using 1.5.4.

- Mail original -
De: "Dan Tran" 
À: "jenkinsci-users" 
Envoyé: Vendredi 24 Novembre 2017 07:39:42
Objet: Re: trouble with Bitbucket Branch Source Plugin

bitbucket-webhook 1.6 reportedly broken  
 see 
https://github.com/Eernie/bitbucket-webhooks-plugin/pull/71#issuecomment-346656045

-- 
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/2314bf2e-079f-4d12-9386-0f551ab63519%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/1080525576.14033639.1511512250656.JavaMail.zimbra%40betterfly-tourism.com.
For more options, visit https://groups.google.com/d/optout.


how to do i get individual slave node build status into a single mail in a multiconfiguration job

2017-11-24 Thread Priya l v
hi all,

i currently have a freestyle project F which triggers a multiconfiguration 
job M , M runs on three nodes .
once M completes F copies artifacts from the multiconfiguratiion build from 
the three nodes , 
and send them as attachments of a single mail in F's post build actions .

I also want to get the individual build status of the three slave nodes of 
M into the mail sent by F . Can someone please help me achieve this.

Thanks
priya

-- 
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/d05d42c5-863d-4e53-bf1d-b9ceeaf0103d%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


run jenkins pipeline fails "docker": error=2, No such file or directory

2017-11-24 Thread Lynn Lin
hi

I am following this guide to have a run jenkins pipeline in my mac 
 https://jenkins.io/doc/pipeline/tour/agents/ 

pipeline {
agent {
docker { image 'node:7-alpine' }
}
stages {
stage('Test') {
steps {
sh 'node --version'
}
}
}
}





and it reports below error

[pipeline] Running shell script
+ docker pull node:7-alpine
7-alpine: Pulling from library/node
Digest: sha256:4954ce53247180e207772f936223b11d52a7e4ee712dfe73fe2a75e39f785067
Status: Image is up to date for node:7-alpine[Pipeline] }[Pipeline] // 
stage[Pipeline] sh[pipeline] Running shell script
+ docker inspect -f . node:7-alpine
.[Pipeline] withDockerContainer[Pipeline] // withDockerContainer[Pipeline] 
}[Pipeline] // node[Pipeline] End of Pipelinejava.io.IOException: error=2, No 
such file or directory
at java.lang.UNIXProcess.forkAndExec(Native Method)
at java.lang.UNIXProcess.(UNIXProcess.java:247)
at java.lang.ProcessImpl.start(ProcessImpl.java:134)
at java.lang.ProcessBuilder.start(ProcessBuilder.java:1029)
at hudson.Proc$LocalProc.(Proc.java:249)
at hudson.Proc$LocalProc.(Proc.java:218)
at hudson.Launcher$LocalLauncher.launch(Launcher.java:930)
at hudson.Launcher$ProcStarter.start(Launcher.java:450)
at 
org.jenkinsci.plugins.docker.workflow.client.DockerClient.launch(DockerClient.java:279)
at 
org.jenkinsci.plugins.docker.workflow.client.DockerClient.launch(DockerClient.java:260)
at 
org.jenkinsci.plugins.docker.workflow.client.DockerClient.launch(DockerClient.java:257)
at 
org.jenkinsci.plugins.docker.workflow.client.DockerClient.version(DockerClient.java:229)
at 
org.jenkinsci.plugins.docker.workflow.WithContainerStep$Execution.start(WithContainerStep.java:141)
at org.jenkinsci.plugins.workflow.cps.DSL.invokeStep(DSL.java:224)
at org.jenkinsci.plugins.workflow.cps.DSL.invokeMethod(DSL.java:150)
at org.jenkinsci.plugins.workflow.cps.CpsScript.invokeMetho

at 
org.codehaus.groovy.runtime.callsite.PogoMetaClassSite.call(PogoMetaClassSite.java:48)
at 
org.codehaus.groovy.runtime.callsite.CallSiteArray.defaultCall(CallSiteArray.java:48)
at 
org.codehaus.groovy.runtime.callsite.AbstractCallSite.call(AbstractCallSite.java:113)
at 
com.cloudbees.groovy.cps.sandbox.DefaultInvoker.methodCall(DefaultInvoker.java:19)
Caused: java.io.IOException: Cannot run program "docker": error=2, No such file 
or directory
at java.lang.ProcessBuilder.start(ProcessBuilder.java:1048)
at hudson.Proc$LocalProc.(Proc.java:249)
at hudson.Proc$LocalProc.(Proc.java:218)
at hudson.Launcher$LocalLauncher.launch(Launcher.java:930)
at hudson.Launcher$ProcStarter.start(Launcher.java:450)
at 
org.jenkinsci.plugins.docker.workflow.client.DockerClient.launch(DockerClient.java:279)
at 
org.jenkinsci.plugins.docker.workflow.client.DockerClient.launch(DockerClient.java:260)
at 
org.jenkinsci.plugins.docker.workflow.client.DockerClient.launch(DockerClient.java:257)
at 
org.jenkinsci.plugins.docker.workflow.client.DockerClient.version(DockerClient.java:229)
at 
org.jenkinsci.plugins.docker.workflow.WithContainerStep$Execution.start(WithContainerStep.java:141)
at org.jenkinsci.plugins.workflow.cps.DSL.invokeStep(DSL.java:224)
at org.jenkinsci.plugins.workflow.cps.DSL.invokeMethod(DSL.java:150)
at 
org.jenkinsci.plugins.workflow.cps.CpsScript.invokeMethod(CpsScript.java:108)
at 
org.codehaus.groovy.runtime.callsite.PogoMetaClassSite.call(PogoMetaClassSite.java:48)
at 
org.codehaus.groovy.runtime.callsite.CallSiteArray.defaultCall(CallSiteArray.java:48)
at 
org.codehaus.groovy.runtime.callsite.AbstractCallSite.call(AbstractCallSite.java:113)
at 
com.cloudbees.groovy.cps.sandbox.DefaultInvoker.methodCall(DefaultInvoker.java:19)
at 
org.jenkinsci.plugins.docker.workflow.Docker$Image.inside(jar:file:/Users/linxin/.jenkins/plugins/docker-workflow/WEB-INF/lib/docker-workflow.jar!/org/jenkinsci/plugins/docker/workflow/Docker.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/e40b57a2-e315-41d6-981d-a88bc48964e3%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.