Re: Kubernetes plugin for Jenkins after dockershim runtime is deprecated

2021-10-27 Thread Carlos Sanchez
You cannot use the docker.sock anymore On Wed, Oct 27, 2021 at 5:00 AM 'Mario Rodriguez' via Jenkins Users < jenkinsci-users@googlegroups.com> wrote: > and how about if we are using the kubernetes plugin podTemplate >

Re: Unable to Run jenkins job on zos slave

2021-10-27 Thread Adharsha sri
Thank you , will check on that part. On Wed, 27 Oct 2021, 6:45 pm Ivan Fernandez Calvo, wrote: > the echo step is pure Groovy, however, the sh step uses bash, so probably > you do not have bash in the PATH of that user, check that bash is installed > and that user can use it. > > El miércoles,

Re: Unable to Run jenkins job on zos slave

2021-10-27 Thread Ivan Fernandez Calvo
the echo step is pure Groovy, however, the sh step uses bash, so probably you do not have bash in the PATH of that user, check that bash is installed and that user can use it. El miércoles, 27 de octubre de 2021 a las 15:01:08 UTC+2, adharsh...@gmail.com escribió: > Able to run the echo

Re: Unable to Run jenkins job on zos slave

2021-10-27 Thread Adharsha sri
Able to run the echo commands but not able to run the shell commands On Wed, 27 Oct 2021, 4:12 pm Adharsha sri, wrote: > Can anyone help on this error > > On Wed, 27 Oct 2021, 2:38 pm Adharsha sri, > wrote: > >> Thanks for the sample pipeline but getting error like " process >> apparently

Re: Declarative Pipeline: Add trigger only on when condition

2021-10-27 Thread Sverre Moe
User branches are like origin/username/CICD Official branches are origin/CICD og origin/master All part of the same project. CICD branch has a different Declarative Pipeline for CICD release build and deployment. Same goes for user branches that are based on this CICD branch. All other branches

Re: Unable to Run jenkins job on zos slave

2021-10-27 Thread Adharsha sri
Can anyone help on this error On Wed, 27 Oct 2021, 2:38 pm Adharsha sri, wrote: > Thanks for the sample pipeline but getting error like " process > apparently never started in path > ( running jenkins temporarily with >

Re: Unable to Run jenkins job on zos slave

2021-10-27 Thread Adharsha sri
Thanks for the sample pipeline but getting error like " process apparently never started in path ( running jenkins temporarily with -Dorg.jenkinsci.plugins.durabletask.BourneshellScript.LAUNCH_DIAGNOSTICS=true might make the problem clearer). Thanks. On Wed, 27 Oct 2021, 1:18 pm Ivan Fernandez

Re: Unable to Run jenkins job on zos slave

2021-10-27 Thread Ivan Fernandez Calvo
This is a pretty simple pipeline to expose your environment settings pipeline { agent { label 'YOUR_AGENT_LABELS' } stages { stage('test') { steps { sh 'export' sh 'set' } } } } El miércoles, 27 de octubre de 2021 a

Re: Declarative Pipeline: Add trigger only on when condition

2021-10-27 Thread Victor Martinez
I'm not sure if I understood correctly what user branches of the CICD mean in this particular case, can you clarify it? Some other questions: - Are the master and CICD branches part of the same projectA? - If so, how do users interact with the project? As far as I see the upstream trigger

Re: Unable to Run jenkins job on zos slave

2021-10-27 Thread Adharsha sri
The Configuration from agent is fine right, but it will be useful only when we run the jave script. So for shell commands we need to check .bashrc file in the agent server. Can you please provide the screenshot of the .bashrc file and please provide the script you are using and examples of