Jenkins unable to read config.xml: hudson.security.GlobalMatrixAuthorizationStrategy hudson.security.LDAPSecurityRealm

2020-12-06 Thread Adrian Wyssmann
Hi all Today we are suddenly facing issues with ldap plugin com.thoughtworks.xstream.mapper.CannotResolveClassException: com.michelin.cio.hudson.plugins.rolestrategy.RoleBasedAuthorizationStrategy at com.thoughtworks.xstream.mapper.DefaultMapper.realClass(DefaultMapper.java:79) at com.though

Re: hostPathVolume not mounting on Kubernetes pods(Dynamic Jenkins Agent)

2020-12-06 Thread Mohan
Thanks Ujjawal. I have upgraded my docker image from Ubuntu 16.04.6 LTS - 3.10.0-1160.6.1.el7.x86_64 to Ubuntu 16.04.7 to 3.10.0-1160.6.1.el7.x86_64 still didn't work. But it seems Kubernetes on CentOS-7.9 & with Kernal-3.10.0-1160.6.1.el7.x86_64 is having a kernel specific issue. So I have upgrade

Re: How to change defaultValue of input in case of declarative pipeline script?

2020-12-06 Thread Kiyoshi Ohgishi
Thank you for your advice. I tried the following script. env['value1'] = 'initial value' pipeline { agent none stages { stage('prediction') { agent { label 'master' } steps { script { env