Re: Unable to Run jenkins job on zos slave

2021-11-05 Thread Adharsha sri
I am able to execute in this method and got the correct output without issues manually on the server. But facing issues only while using freestyle job. On Mon, 1 Nov 2021, 4:21 pm Ivan Fernandez Calvo, wrote: > This is an Error of zOS I dunno which file is trying to open, I doubt that > you can

Re: Unable to Run jenkins job on zos slave

2021-11-01 Thread Ivan Fernandez Calvo
This is an Error of zOS I dunno which file is trying to open, I doubt that you can even run the script in an SSH session with something like this Try the following in a machine with access by SSH to the zOS Agent, create a hello.sh file locally with the script pwd echo foo date Execute an ssh

Re: Unable to Run jenkins job on zos slave

2021-10-31 Thread Adharsha sri
Yes, please find the below output. FSUM7343 cannot open □?EC□?¤IA for output : no such file or directory. On Fri, 29 Oct 2021, 1:00 pm kuisathaverat, wrote: > Did you test other commands in the Freestyle job? try this > > #!/bin/bash > pwd > echo foo > date > > > > El vie, 29 oct 2021 a las 7:2

Re: Unable to Run jenkins job on zos slave

2021-10-29 Thread kuisathaverat
Did you test other commands in the Freestyle job? try this #!/bin/bash pwd echo foo date El vie, 29 oct 2021 a las 7:21, Adharsha sri () escribió: > Hi, > > In /etc/profile added the below bash environment variables > export _CEE_RUNOPTS=“FILETAG(AUTOCVT,AUTOTAG) POSIX(ON)” > export _BPXK_AUTO

Re: Unable to Run jenkins job on zos slave

2021-10-28 Thread Adharsha sri
Hi, In /etc/profile added the below bash environment variables export _CEE_RUNOPTS=“FILETAG(AUTOCVT,AUTOTAG) POSIX(ON)” export _BPXK_AUTOCVT=ON export _TAG_REDIR_ERR=txt export _TAG_REDIR_IN=txt export _TAG_REDIR_OUT=txt And then able to run the below pipeline job node('hostname') { stage('test

Re: Unable to Run jenkins job on zos slave

2021-10-28 Thread Ivan Fernandez Calvo
should not, the FreeStyle "Execute shell" step and the Pipeline sh step work more or less in the same way, I never see a fail one when the other works. In any case, it is difficult to help you if you do not provide more info about what you did, what does not work exactly, Why does not work, wha

Re: Unable to Run jenkins job on zos slave

2021-10-28 Thread Adharsha sri
Now I am able run shell commands using pipeline job but unable to run using freestyle job. Will there be any difference On Wed, 27 Oct 2021, 10:10 pm Adharsha sri, wrote: > Thank you , will check on that part. > > On Wed, 27 Oct 2021, 6:45 pm Ivan Fernandez Calvo, < > kuisathave...@gmail.com> wr

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, 2

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 comman

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 neve

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 > -Dorg.jenkinsci.plugins.durabletask.BourneshellScript.LAUNCH_DIAGNOSTICS=t

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 C

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 l

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 export

Re: Unable to Run jenkins job on zos slave

2021-10-26 Thread Adharsha sri
Can you please provide an example. On Tue, 26 Oct 2021, 11:52 pm Ivan Fernandez Calvo, wrote: > This is the output you see in the browser, isn't it? Did you try to > download the "view as plain text" button output in a file and with an > editor trying to find the correct encoding? the encoding y

Re: Unable to Run jenkins job on zos slave

2021-10-26 Thread Ivan Fernandez Calvo
This is the output you see in the browser, isn't it? Did you try to download the "view as plain text" button output in a file and with an editor trying to find the correct encoding? the encoding you set in the Agent is only from Java process launched from the remoting thread, I mean is you laun

Re: Unable to Run jenkins job on zos slave

2021-10-25 Thread Adharsha sri
Number of executors: 1 Launch method: launch agents via SSH Host: host name Host key verification strategy: Non verifying verification strategy Port : 22 Java path: /usr/lpp/java/J8.0/bin/Java JVM Options: -Dfile.encoding=ISO8859-1 -Djava.io.tmpdir=/usr/lpp/test Prefix start Agent command: expo

Re: Unable to Run jenkins job on zos slave

2021-10-25 Thread geoffroy...@gmail.com
can you please show a screenshot of the zos agent configuration (all fields)? On Tuesday, 26 October 2021 at 04:27:21 UTC+2 adharsh...@gmail.com wrote: > Yes , based on that page , we have configured the slave. But still facing > the same issue. > > On Mon, 25 Oct 2021, 11:30 pm geoffroy...@gma

Re: Unable to Run jenkins job on zos slave

2021-10-25 Thread Adharsha sri
Yes , based on that page , we have configured the slave. But still facing the same issue. On Mon, 25 Oct 2021, 11:30 pm geoffroy...@gmail.com, < geoffroy.jabou...@gmail.com> wrote: > Hi > have you checked this page (first results in google): > https://gdams.medium.com/adding-zos-to-our-jenkins-bu

Re: Unable to Run jenkins job on zos slave

2021-10-25 Thread geoffroy...@gmail.com
Hi have you checked this page (first results in google): https://gdams.medium.com/adding-zos-to-our-jenkins-build-farm-27ab5171fb35 Seems you might need to tune the JVM options, using -Dfile.encoding=ISO8859-1 On Monday, 25 October 2021 at 13:49:52 UTC+2 adharsh...@gmail.com wrote: > Can you

Re: Unable to Run jenkins job on zos slave

2021-10-25 Thread Adharsha sri
Can you please consider this as priority. Actually it is critical issue for us. Whether z/ os platform is supported for jenkins or not . If it is supported, where we are missing and why we are not getting the output. Please help on this issue. On Mon, 25 Oct 2021, 17:12 Adharsha sri, wrote: > W

Re: Unable to Run jenkins job on zos slave

2021-10-25 Thread Adharsha sri
We are running just date command or simple echo command through execute shell but not getting the actual output On Mon, 25 Oct 2021, 17:09 Adharsha sri, wrote: > +□?EA/¤ > Some thing like above > > On Mon, 25 Oct 2021, 15:56 Fabian Cenedese, wrote: > >> At 14:21 21.10.2021, you wrote: >> >> >C

Re: Unable to Run jenkins job on zos slave

2021-10-25 Thread Adharsha sri
+□?EA/¤ Some thing like above On Mon, 25 Oct 2021, 15:56 Fabian Cenedese, wrote: > At 14:21 21.10.2021, you wrote: > > >Can you please help me for this issue > > > >On Wed, 20 Oct 2021, 18:53 Adharsha sri, < adharshasuma...@gmail.com>adharshasuma...@gmail.com> wrote: > >Hi Team, > > > >I am unab

Re: Unable to Run jenkins job on zos slave

2021-10-25 Thread Fabian Cenedese
At 14:21 21.10.2021, you wrote: >Can you please help me for this issue > >On Wed, 20 Oct 2021, 18:53 Adharsha sri, ><adharshasuma...@gmail.com> wrote: >Hi Team, > >I am unable to run a jenkins job ( shell command : date) on zos slave . The >slave is active and o

Re: Unable to Run jenkins job on zos slave

2021-10-21 Thread Adharsha sri
Can you please help me for this issue On Wed, 20 Oct 2021, 18:53 Adharsha sri, wrote: > Hi Team, > > I am unable to run a jenkins job ( shell command : date) on zos slave . > The slave is active and online but getting some gibberish values in console > output. Please help. > -- You received th

Re: Unable to Run jenkins job on zos slave

2021-10-20 Thread Adharsha sri
I am unable to run a jenkins job ( shell command : date) on zos slave . The slave is active and online but getting some gibberish values in console output. Please help. On Wed, 20 Oct 2021, 18:53 Adharsha sri, wrote: > Hi Team, > > I am unable to run a jenkins job ( shell command : date) on zos