Re: Groovy Script to Skip Installation of Plugins and Enable Slave

2017-02-15 Thread Vikas Kumar
r here <http://stackoverflow.com/questions/41578991/set-enable-slave-%E2%86%92-master-access-control-from-script-console> is good, all one needs is to import the package *import jenkins.security.s2m.** Hope this helps someone. Cheers, Vikas On Wednesday, 15 February 2017 20:38:04 UTC+11,

Groovy Script to Skip Installation of Plugins and Enable Slave

2017-02-15 Thread Vikas Kumar
Hello Everyone, I am trying to automate initialization of Jenkins Docker container and looking to automate two parts. - Ignore this part to select plugins. I don't need this as I am installing required plugins at the build time

Re: Username and Password to checkout git in Jenkinsfile (groovy)

2017-10-02 Thread Vikas Kumar
I have got a solution. Pls see this link <https://stackoverflow.com/questions/46511419/jenkins-username-and-password-to-checkout-git-in-jenkinsfile-groovy> for details. Thanks. On Monday, 2 October 2017 15:13:20 UTC+11, Vikas Kumar wrote: > > Thanks Mark, yeah this i

Re: Username and Password to checkout git in Jenkinsfile (groovy)

2017-10-01 Thread Vikas Kumar
o the URL. For example, the URL: > > https://github.com/user/repo > > can be > > https://username:passw...@github.com/user/repo > > Mark Waite > > On Sun, Oct 1, 2017 at 8:36 PM Vikas Kumar <vika...@gmail.com > > wrote: > >> We are trying

Username and Password to checkout git in Jenkinsfile (groovy)

2017-10-01 Thread Vikas Kumar
We are trying to use AWS DynamoDB (with KMS encrypted values) to store our secrets rather than using Jenkins Credentials. This is advised by our security team. I am able to fetch secrets (git username and password) as variables on Jenkins slaves, but not sure how to use those to *checkout*

Re: jenkins, saml and Keycloak SSO

2018-02-16 Thread Vikas Kumar
Hello James, Did you get this working? I am too facing all sorts of issues trying to do so. Regards, Vikas On Monday, 16 January 2017 14:09:07 UTC+11, James Regis wrote: > > Hello, > > I am trying to make jenkins + saml plugin + keycloak working together and > I am facing a issue. > > I have

Re: jenkins, saml and Keycloak SSO

2018-02-19 Thread Vikas Kumar
Hello Ivan, Thanks for your response. To be honest, I am a novice in SAML at the moment but have managed to hook Keycloak to AWS using some tutorials :). I have tried turning off signing and encryption in Keycloak and configured below parameters after google-ing.

Jenkins Fails to restart after installing plugins , Jenkins Version 2.105

2018-02-07 Thread Vikas Kumar Choudhary
java.lang.NullPointerException at smartjenkins.SmartJenkinsComputerListener.onConfigurationChange(SmartJenkinsComputerListener.java:41) at hudson.model.AbstractCIBase.updateComputerList(AbstractCIBase.java:231) at