Re: trouble with Bitbucket Branch Source Plugin

2017-11-23 Thread 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,

The slave is not reverting to Snapshot once the build completes

2017-11-23 Thread Subramanyeswari Ravinutala
Hi, I have put shutdown and revert after disconnection. But the slave vm is not getting shutdown and reverting back to the template once the build completes. Please do let me know how to fix this. Regards, -- You received this message because you are subscribed to the Google Groups "Jenkin

Re: trouble with Bitbucket Branch Source Plugin

2017-11-23 Thread Young Lee
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 wit

Re: Moving a job to a Folder

2017-11-23 Thread Victor Martinez
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

Re: Modify and remove users from jobs using project-based security

2017-11-23 Thread Victor Martinez
Likely you can use something like what it is explained below: - https://stackoverflow.com/questions/26449432/jenkins-add-permissions-to-jobs-using-groovy I'd also if you use jobdsl you could avoid that groovy scripting and have the entire job configuration in source code, just as tip. Cheers

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

2017-11-23 Thread 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 change

Re: cloud docker give options to java command

2017-11-23 Thread nicolas de loof
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

Re: trouble with Bitbucket Branch Source Plugin

2017-11-23 Thread i.ka...@betterfly-tourism.com
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 {

Re: Moving a job to a Folder

2017-11-23 Thread Muthu Kumaran
> > Hi, > I am trying to add users to a folder group in Jenkins. Can anyone let me know how to accomplish this via groovy script. 1. List the folder 2. List the groups in the folder 3. Add user to the folder group. Your help is much appreciated. Thanks in Advance. Muthu -- You received th

cloud docker give options to java command

2017-11-23 Thread pi . quiroule
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 Us

Re: Problems with CSRF protection in Jenkins 2.85

2017-11-23 Thread Daniel Beck
> On 22. Nov 2017, at 16:48, martin.j...@nsn.com wrote: > > • Both the API-token, as well as the password can be used (same syntax, > just use PWD or token) > Both lead to the same Crumb returned > Then what is this token about ? Depending on the environment, putting passwords into script

Dynamically load multiple libraries in one step

2017-11-23 Thread Shiran
Hi, As explained here , a library can be dynamically retrieved in the following way: library identifier: 'custom-lib@master', retriever: modernSCM( [$class: 'GitSCMSource', remote: 'g...@git.mycorp.com:my-jenkins-utils.git', credenti