Hi Everyone,
I am trying to setup my Gitlab Runner to SSH into my z/OS and execute command using Rocket Bash.
Bash version - 5.1
When the runner connects to the z/OS and executes command via SSH, am getting the error below:
Running with gitlab-runner 17.3.1 (51203123)
on SSH Runner 123bcaivz, system ID: a_bcde123472c1
Resolving secrets
Preparing the "ssh" executor
00:02
Using SSH executor...
Preparing environment
00:01
/usr/lpp/Rocket/rsusr/ported/bin/bash: line 1: $'226@24724323120120320525211206@242205243@': command not found
/usr/lpp/Rocket/rsusr/ported/bin/bash: line 1: $'226@227211227205206201211223^@206211^@242205243@': command not found
/usr/lpp/Rocket/rsusr/ported/bin/bash: line 1: $'361367362': command not found
/usr/lpp/Rocket/rsusr/ported/bin/bash: line 1: $'361': command not found
/usr/lpp/Rocket/rsusr/ported/bin/bash: line 1: $'242226244243210205201242243': command not found
/usr/lpp/Rocket/rsusr/ported/bin/bash: line 1: $'{Za244242231a202211225a205225245@2022012422102525242205243@226@O@207231205227@227211227205206201211223@n@a204205245a225244223223^@243210205225@242205243@226@20523123120524721124325242205243@N226@22522620322322620220220523125z@O@205245201223@[}205203210226@177331244225225211225207@226225@[M210226242243225201224205]@245211201@211227362360366K201227361K203226224227244243205K211225243205231225201223KKK177340225}25205247211243@36025': command not found
ERROR: Job failed: prepare environment: Process exited with status 127. Check https://docs.gitlab.com/runner/shells/index.html#shell-profile-loading for more information
It seems to me like the command being executed by the runner is not getting read in the correct encoding.
Is there any special configuration that is required to have the correct encoding?