Hello …
Greetings everyone … and thanks in advance for the help …
I have defined an environment variable with an IP address that I must use in the script-runner, but trying to use it gives me an error, i try with and without qoutes…
i defined the env variable in the project CI/CD settings
here is the command i use in the pipeline:
before_script:
…
# IMPORT SERVERS IP VARS
- echo “$SERVER_IP_PROD”
…
copy_code:
stage:
…
script:
- ssh -i ~/.ssh/id_rsa.pub -o StrictHostKeyChecking=no git_pipelines_user@$SERVER_IP_PROD “echo ‘HELLO’”
Can anybody help me?
Thanks…