Re: How do I include special characters like [,[ and . cURL POST data?

2019-01-23 Thread niristotle okram
The chances of geting As for your Qs is higher when you show the failing
command and error.

On Wed, Jan 23, 2019 at 12:57 PM Panneer  wrote:

> Hi All,
>
> How do i pass special characters [,[ and .  and data thru cURL POST data? .
>
> Environment: Jenkins pipeline.
>
>
> Thanks
> Panneer
>
> --
> 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/70cf0a45-42e9-4558-9beb-d76f848a4a9c%40googlegroups.com
> 
> .
> For more options, visit https://groups.google.com/d/optout.
>
-- 
Sent from mobile device, excuse typos if any.

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


How do I include special characters like [,[ and . cURL POST data?

2019-01-23 Thread Panneer
Hi All,

How do i pass special characters [,[ and .  and data thru cURL POST data? .

Environment: Jenkins pipeline.


Thanks
Panneer

-- 
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/70cf0a45-42e9-4558-9beb-d76f848a4a9c%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: Prevent Archiving In a Pipeline

2019-01-23 Thread Ricardo Torres
I agree, jobB should not be getting the "bad" libraryA. I DO a mvn install, 
but explicitly to a separate local repo. For clarity here is an 
approximation of the pipeline's Jenkinsfile:

#!groovy

pipeline {

environment {

GIT_CREDENTIAL_ID = 'git_credential_name'

}

 

agent any

tools {

maven 'internal_maven'

jdk 'openjdk'

git 'internal_git'

}

stages {

stage('Build Parent') {

steps {

checkoutRepos([[checkoutDir: 'parent', branch: 'gold', url: 
'ssh://git@fake-git-url/parent.git']], env.GIT_CREDENTIAL_ID)

withMaven(publisherStrategy: 'EXPLICIT') {

sh """

cd parent

mvn -U clean verify

  """

}

stash name: 'parent', includes: 'pom.xml'

}

}

stage('Build libraryParent') {

steps {

unstash 'parent'

checkoutRepos([[checkoutDir: 'libraryParent', branch: 
'gold', url: 'ssh://git@fake-git-url/libraryParent.git']], 
env.GIT_CREDENTIAL_ID)

withMaven(mavenLocalRepo: 'libraryParent/.repository', 
publisherStrategy: 'EXPLICIT') {

sh """

mvn install:install-file -Dpackaging=pom 
-Dfile=pom.xml -DpomFile=pom.xml

cd libraryParent

mvn clean verify -P jacoco sonar:sonar -U 
-Dsonar.host.url=https://fake-sonar-url -Dsonar.scm.provider=git

   """

}

dir('libraryParent/libraryA/target/') {

stash name: 'libraryA', includes: 
'libraryA-1000-SNAPSHOT.jar'

}

}

}

stage('Build appA') {

steps {

sonarAnApp 'appA'

}

}

stage('Build appB') {

steps {

sonarAnApp 'appB'

}

}

stage('Build appC') {

steps {

sonarAnApp 'appC'

}

}

}

}

 

def sonarAnApp(final String appName) {

unstash 'parent'

unstash 'libraryA'

checkoutRepos([[checkoutDir: appName, branch: 'gold', url: 
"ssh://git@fake-git-url/${appName}.git"]], env.GIT_CREDENTIAL_ID)

withMaven(mavenLocalRepo: "$appName/.repository", publisherStrategy: 
'EXPLICIT') {

sh """

mvn install:install-file -Dpackaging=pom -Dfile=pom.xml 
-DpomFile=pom.xml

mvn install:install-file -Dfile=libraryA-1000-SNAPSHOT.jar

cd $appName

mvn clean verify -P jacoco sonar:sonar -U -Dsonar.host.url=
https://fake-sonar-url -Dsonar.scm.provider=git

   """

}
}

On Monday, January 21, 2019 at 8:47:56 AM UTC-7, Ricardo Torres wrote:
>
> I have an upstream component, libraryA, I build, archive, and deploy via a 
> Maven job, jobA. This works great. I have a downstream Maven job, jobB, 
> that has a dependency on libraryA. This also works great, except…
>
>  
>
> I have a completely separate pipeline job, pipelineA specified by 
> Jenkinsfile. Within that Jenkinsfile, I build a specific branch of libraryA 
> I don’t want archived or deployed. In my Jenkinsfile I have 
> “withMaven(mavenLocalRepo: ‘libraryA/.repository’, publisherStrategy: 
> ‘EXPLICIT’)”, and inside that, “sh “””[…]mvn clean package 
> sonar:sonar[…]””” (Any typos here are probably the fault of my typing here 
> as I did not copy-paste. There are no errors from Jenkins when executing 
> these steps.) I have also tried “options: [artifactsPublisher(disabled: 
> true)]” in place of “publisherStrategy: ‘EXPLICIT’” and had the same 
> results. I have verified when pipelineA builds libraryA, it does NOT get 
> deployed to my remote Maven repository, and I expect it not to get deployed 
> there. Good.
>
>  
>
> So, what happens?
>
>  
>
> Well, if I build pipelineA followed by jobB, jobB gets its copy of 
> libraryA from pipelineA, causing the build to fail. If I then run jobA, 
> jobB succeeds as expected.
>
>  
> I could change the version of libraryA in the branch pipelineA builds, but 
> I’d rather not do that as it’s not correct for my particular use case. What 
> else could I do? What did I miss? (I do not admin this Jenkins instance, so 
> my access is limited in that respect.)
>

-- 
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/21ede97a-d08b-415c-ac7e-b9c2d77028ab%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: Pass the data thru variable using curl command

2019-01-23 Thread Panneer

Hi All,

Thanks for your response.

I tried with V also.. Now i tried with less data , but still i am not able 
see the response.. The complete my request is here below:-
def fresponse = '''\{"DependentApplctnRulesList": [ { "pyVersion": 
"01.06.07", "pyName": "Temp_PFW" }]}''' 
def second_Req = "curl -v --max-time 30 POST 'https://url'" + " -H " + 
"\"Content-type: application/json\"" + " -d " + '\'' + fresponse + '\''
  
def Sresponse = sh script: second_Req, returnStdout: true
echo "Final request  " + second_Req

The above fresponse works fine with postman and SOUPUI.

'
Regards
Panneer


On Wednesday, January 23, 2019 at 6:41:41 AM UTC-7, Björn Pedersen wrote:
>
>
>
> Am Dienstag, 22. Januar 2019 05:18:28 UTC+1 schrieb Panneer:
>>
>> Hi David,
>>
>> My request is here below:-
>>
>> def status = "curl -s --max-time 30 POST 'https:url'" -H "Content-type: 
>> application/json" -d {"DeAppRulesList": 
>> [{"Applion":"02.01.02","Applime":"REFW"},{"Applion":"01.01.01","Applime":"ATP_Branch"},{"Applion":"01.06.07","Applime":"Temp_FW"}]}
>>
>
> Carefully check all the quotes! They seem to be incorrect. 
> Dump the content of status both with
>  echo status
>
> and 
>  sh "echo $status" 
>
> to check that all inner quotes survive as you want them to. 
>
>  
>
>> No error and no response received.
>>
>> Regards
>> Panneer
>>
>>
>> On Monday, January 21, 2019 at 9:50:19 AM UTC-7, David Karr wrote:
>>>
>>>
>>> On Sun, Jan 20, 2019 at 8:55 PM panneerrselvam natarajan <
>>> pann...@gmail.com> wrote:
>>>
 Hi All,

 I am using Jenkins for API Testing in Pega Environment.  I can send and 
 receive response thru PostMan and SOAPUI and working fine.

 But I want to automate using Jenkins Pipeline.

 Please do let me know, How do i send the data/variable thru CURL 
 command in pipeline. I sent the data but not displayed any error message 
 and not getting any response also

 I am sending the data which include special charector along with Data. 
 Please do let me know the format.

>>>
>>> I suggest you show us exactly what you're doing, what the result is, and 
>>> what you expected. Exactly.
>>>
>>>
 Regards
 Panner

 -- 
 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/ad16f4d1-c745-442a-90df-b2b73b73e03f%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/0ed068c4-3f81-4917-941a-0ccbce2acdb3%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [bitbucket-branch-source-plugin] Wrong merge order of pull request build

2019-01-23 Thread Rick
Looks that everything is ok. Or consider a better solution for debuging
this?

On Wed, Jan 23, 2019 at 4:46 PM 'Tom Ku' via Jenkins Users <
jenkinsci-users@googlegroups.com> wrote:

> Hi,
>
> thanks for answering. I can't upload pictures so here's the textual config
> (the default settings):
>
> Discover branches: Exclude branches that are also filed as PRs
> Discover pull requests from origin: Merging the pull request with the
> current target branch revision
> Discover pull requests from forks: Merging the pull request with the
> current target branch revision, Forks in the same account
>
> Afterwards my Jenkins library performs the checkout of the code via:
> checkout scm
>
> That's it. Is there any error in the configuration?
> Thanks for help.
>
> best wishes, Tom
>
> Am Dienstag, 22. Januar 2019 12:00:48 UTC+1 schrieb Xiaojie Zhao:
>>
>> could you paste your configuration, please?
>>
>>>
>>> --
>> https://github.com/LinuxSuRen
>>
>> --
> 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/da9514b0-c3b9-49d0-8821-8101a8f8e050%40googlegroups.com
> 
> .
> For more options, visit https://groups.google.com/d/optout.
>


-- 
https://github.com/LinuxSuRen

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


Re: Failure to save pipeline to Bitbucket server in Blue Ocean

2019-01-23 Thread Robert Norris
Hi Randy

Did you ever resolve this issue? - I'm getting the exact same error

Thanks,
Rob

On Tuesday, October 2, 2018 at 7:13:30 PM UTC+1, Jackson, Randy wrote:
>
> I’m starting to experiment with using Declarative Pipeline with Blue Ocean.
>
> I’m using BitBucket Server for my repository and Jenkins Master running as 
> a Tomcat Windows Service.
>
> We set the Tomcat options as suggested in the Bitbucket Pipeline for Blue 
> Ocean Documents.
>
> I can connect to the repo OK, and build a pipeline using the Blue Ocean 
> GUI.  However when I go to save the pipeline to the repo,
>
> I get “An unknown error was reported from the BitBucket server”
>
>  
>
> When I check the logs I get the following stack trace:
>
>  
>
> An error occurred getting BitBucket API error content
>
> net.sf.json.JSONException: JSONObject["details"] is not a JSONArray.
>
> at net.sf.json.JSONObject.getJSONArray(JSONObject.java:1986)
>
> at 
> io.jenkins.blueocean.blueocean_bitbucket_pipeline.HttpResponse.getContent(HttpResponse.java:56)
>
> at 
> io.jenkins.blueocean.blueocean_bitbucket_pipeline.server.BitbucketServerApi.saveContent(BitbucketServerApi.java:221)
>
> at 
> io.jenkins.blueocean.blueocean_bitbucket_pipeline.AbstractBitbucketScmContentProvider.saveContent(AbstractBitbucketScmContentProvider.java:125)
>
> at 
> io.jenkins.blueocean.rest.impl.pipeline.ScmResourceImpl.saveContent(ScmResourceImpl.java:52)
>
> at 
> java.lang.invoke.MethodHandle.invokeWithArguments(MethodHandle.java:627)
>
> at 
> org.kohsuke.stapler.Function$MethodFunction.invoke(Function.java:343)
>
> at 
> org.kohsuke.stapler.ForwardingFunction.invoke(ForwardingFunction.java:63)
>
> at 
> io.jenkins.blueocean.commons.stapler.TreeResponse$Processor.invoke(TreeResponse.java:43)
>
> at 
> org.kohsuke.stapler.PreInvokeInterceptedFunction.invoke(PreInvokeInterceptedFunction.java:26)
>
> at org.kohsuke.stapler.Function.bindAndInvoke(Function.java:184)
>
> at 
> org.kohsuke.stapler.Function.bindAndInvokeAndServeResponse(Function.java:117)
>
> at org.kohsuke.stapler.MetaClass$1.doDispatch(MetaClass.java:129)
>
> at 
> org.kohsuke.stapler.NameBasedDispatcher.dispatch(NameBasedDispatcher.java:58)
>
> at org.kohsuke.stapler.Stapler.tryInvoke(Stapler.java:734)
>
> at org.kohsuke.stapler.Stapler.invoke(Stapler.java:864)
>
> at org.kohsuke.stapler.MetaClass$3.doDispatch(MetaClass.java:209)
>
> at 
> org.kohsuke.stapler.NameBasedDispatcher.dispatch(NameBasedDispatcher.java:58)
>
> at org.kohsuke.stapler.Stapler.tryInvoke(Stapler.java:734)
>
> at org.kohsuke.stapler.Stapler.invoke(Stapler.java:864)
>
> at org.kohsuke.stapler.MetaClass$10.dispatch(MetaClass.java:374)
>
> at org.kohsuke.stapler.Stapler.tryInvoke(Stapler.java:734)
>
> at org.kohsuke.stapler.Stapler.invoke(Stapler.java:864)
>
> at org.kohsuke.stapler.MetaClass$3.doDispatch(MetaClass.java:209)
>
> at 
> org.kohsuke.stapler.NameBasedDispatcher.dispatch(NameBasedDispatcher.java:58)
>
> at org.kohsuke.stapler.Stapler.tryInvoke(Stapler.java:734)
>
> at org.kohsuke.stapler.Stapler.invoke(Stapler.java:864)
>
> at org.kohsuke.stapler.MetaClass$10.dispatch(MetaClass.java:374)
>
> at org.kohsuke.stapler.Stapler.tryInvoke(Stapler.java:734)
>
> at org.kohsuke.stapler.Stapler.invoke(Stapler.java:864)
>
> at org.kohsuke.stapler.MetaClass$10.dispatch(MetaClass.java:374)
>
> at org.kohsuke.stapler.Stapler.tryInvoke(Stapler.java:734)
>
> at org.kohsuke.stapler.Stapler.invoke(Stapler.java:864)
>
> at org.kohsuke.stapler.MetaClass$10.dispatch(MetaClass.java:374)
>
> at org.kohsuke.stapler.Stapler.tryInvoke(Stapler.java:734)
>
> at org.kohsuke.stapler.Stapler.invoke(Stapler.java:864)
>
> at org.kohsuke.stapler.Stapler.tryInvoke(Stapler.java:705)
>
> at org.kohsuke.stapler.Stapler.invoke(Stapler.java:864)
>
> at org.kohsuke.stapler.MetaClass$10.dispatch(MetaClass.java:374)
>
> at org.kohsuke.stapler.Stapler.tryInvoke(Stapler.java:734)
>
> at org.kohsuke.stapler.Stapler.invoke(Stapler.java:864)
>
> at org.kohsuke.stapler.Stapler.invoke(Stapler.java:668)
>
> at org.kohsuke.stapler.Stapler.service(Stapler.java:238)
>
> at javax.servlet.http.HttpServlet.service(HttpServlet.java:742)
>
> at 
> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:231)
>
> at 
> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166)
>
> at 
> org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:52)
>
> at 
> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193)
>
> at 
> 

GitHub Branch Source Plugin doesn't trigger scheduled scan on repository, only on organization

2019-01-23 Thread Gábor Farkas
Hi,

I'm having some difficulties with 'GitHub Branch Source Plugin'. I've setup 
a 'Github Organization' project type and I've added the option to scan the 
organization every minute if not otherwise run. It does the scan on 
organization level and according to the logs it detects new PRs, but it 
doesn't start a build. If I get it right the organization scan only affects 
which repositories are added to jenkins. On the repository level however 
the scanning isn't automatic (github webhooks don't currently work for 
another reason) - if I trigger the scan, it detects the new PRs and start 
building them.

Is it expected? Am I at the right place to ask? :)
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/930948e0-cacd-4a73-bc02-3677ba80ee53%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: Pass the data thru variable using curl command

2019-01-23 Thread 'Björn Pedersen' via Jenkins Users


Am Dienstag, 22. Januar 2019 05:18:28 UTC+1 schrieb Panneer:
>
> Hi David,
>
> My request is here below:-
>
> def status = "curl -s --max-time 30 POST 'https:url'" -H "Content-type: 
> application/json" -d {"DeAppRulesList": 
> [{"Applion":"02.01.02","Applime":"REFW"},{"Applion":"01.01.01","Applime":"ATP_Branch"},{"Applion":"01.06.07","Applime":"Temp_FW"}]}
>

Carefully check all the quotes! They seem to be incorrect. 
Dump the content of status both with
 echo status

and 
 sh "echo $status" 

to check that all inner quotes survive as you want them to. 

 

> No error and no response received.
>
> Regards
> Panneer
>
>
> On Monday, January 21, 2019 at 9:50:19 AM UTC-7, David Karr wrote:
>>
>>
>> On Sun, Jan 20, 2019 at 8:55 PM panneerrselvam natarajan <
>> pann...@gmail.com> wrote:
>>
>>> Hi All,
>>>
>>> I am using Jenkins for API Testing in Pega Environment.  I can send and 
>>> receive response thru PostMan and SOAPUI and working fine.
>>>
>>> But I want to automate using Jenkins Pipeline.
>>>
>>> Please do let me know, How do i send the data/variable thru CURL command 
>>> in pipeline. I sent the data but not displayed any error message and not 
>>> getting any response also
>>>
>>> I am sending the data which include special charector along with Data. 
>>> Please do let me know the format.
>>>
>>
>> I suggest you show us exactly what you're doing, what the result is, and 
>> what you expected. Exactly.
>>
>>
>>> Regards
>>> Panner
>>>
>>> -- 
>>> 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/ad16f4d1-c745-442a-90df-b2b73b73e03f%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/f33f5103-f0f1-4ea8-b57a-111ebd54c461%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: Jenkins IIS Reverse Proxy

2019-01-23 Thread Terry Lacy

Yes, see this:

https://wiki.jenkins.io/display/JENKINS/Running+Jenkins+behind+IIS

That procedure works for us.

Terry

On Tuesday, January 22, 2019 at 10:29:39 AM UTC-7, Chad Ruppert wrote:
>
> Terry, did you ever get this resolved?
>
>>

-- 
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/314e3a6b-e3d0-4c80-b8ae-6ca9878770bc%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: Kubernetes plugin - multi clusters

2019-01-23 Thread Carlos Sanchez
you have to choose cloud1 or cloud2 not "cloud1 || cloud2"
you can have multiple clouds, but need to decide which one to use when
creating the pod template

On Tue, Jan 22, 2019 at 12:58 PM Tristan FAURE 
wrote:

> Thank you for your suggestion but I don't understand where I set the label
> ?
>
> I tried this (not working) :
> agent {
> kubernetes {
> cloud "cloud1 ||  cloud2"
> label "pod ID"
>
> yaml """
> spec:
>   containers:
>   - name: docker
>
> Le mar. 22 janv. 2019 à 12:56,  a écrit :
>
>> on the Jenkin pipeline select the level and you can provide multiple
>> lavels also . like cloud1 || cloud2 .. This will ensure job will execute on
>> any of one the cloud and this will make sure job will execute on the active
>> cluster if any one of the cluster is down/not active
>>
>> On Friday, January 18, 2019 at 1:53:30 PM UTC+5:30, Tristan FAURE wrote:
>>>
>>> Oops 蘿
>>> Sorry I will test it. Thank you very much
>>>
>>> Le ven. 18 janv. 2019 à 09:21, Carlos Sanchez  a
>>> écrit :
>>>
 In the pipeline you need the "cloud" parameter


 https://github.com/jenkinsci/kubernetes-plugin/blob/master/README.md#pod-and-container-template-configuration

 On Fri, Jan 18, 2019, 09:02 Tristan FAURE  wrote:

> Thank you for your answer !
>
> So If i have a k8s cloud cloud1 and another one cloud2 I can use the
> label to select one of them ?
>
> In this sample (see bellow) I don't see where I have to insert the
> label ?
> pipeline {
> agent {
> kubernetes {
> label "bd-${random}"
> yaml """
> spec:
> containers:
> - name: node
> image: node:8
> command:
> - cat
> tty: true
> """
> }
> }
>
>
> Le jeudi 17 janvier 2019 17:44:43 UTC+1, Carlos Sanchez a écrit :
>>
>> all cloud definitions are used by matching the labels of the pod
>> templates and your job labels
>>
>>
>> https://wiki.jenkins.io/display/JENKINS/Distributed+builds#Distributedbuilds-Nodelabelsforagents
>>
>>
>> On Thu, Jan 17, 2019 at 5:29 PM Tristan FAURE 
>> wrote:
>>
>>> Hello
>>> The jenkins GUI allows the creation of several Kubernetes cloud, how
>>> does it work ?
>>> Are they all used or only one ? If many is OK Is there a way to
>>> select a specific cluster in my pipeline ?
>>>
>>> Thank you in advance
>>>
>>> Tristan FAURE
>>>
>>> --
>>> 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/CA%2BtQ8YPdE_ydXeZ6k1%2B4V07jQu8knFqby%2B4jsD0YpUpOjdCb8w%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-use...@googlegroups.com.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/jenkinsci-users/4689b90c-7980-4ffc-8fab-9ee0799945f1%40googlegroups.com
> 
> .
> For more options, visit https://groups.google.com/d/optout.
>
 --
 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/eBHsxw01nmo/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/CALHFn6PdB6a5S0qTogucnV2g7axfY%2Bi%2B-Y7Y_gpVz%2BCgh-cv7g%40mail.gmail.com
 
 .
 For more options, visit https://groups.google.com/d/optout.

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

Re: [bitbucket-branch-source-plugin] Wrong merge order of pull request build

2019-01-23 Thread 'Tom Ku' via Jenkins Users
Hi,

thanks for answering. I can't upload pictures so here's the textual config 
(the default settings):

Discover branches: Exclude branches that are also filed as PRs
Discover pull requests from origin: Merging the pull request with the 
current target branch revision
Discover pull requests from forks: Merging the pull request with the 
current target branch revision, Forks in the same account

Afterwards my Jenkins library performs the checkout of the code via:
checkout scm

That's it. Is there any error in the configuration?
Thanks for help.

best wishes, Tom

Am Dienstag, 22. Januar 2019 12:00:48 UTC+1 schrieb Xiaojie Zhao:
>
> could you paste your configuration, please?
>
>>
>> -- 
> https://github.com/LinuxSuRen
>
>

-- 
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/da9514b0-c3b9-49d0-8821-8101a8f8e050%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.