use inline config-keys script opposed to file

This commit is contained in:
Francisco Schulz 2022-11-10 13:21:38 +01:00
parent 18d614f61c
commit 244aaec470

View File

@ -38,7 +38,12 @@ Sonar Job:
description: Checkout default repository.
- script:
interpreter: SHELL
file: bamboo-specs/scripts/config-keys.sh
scripts: |-
mkdir -p ~/.ssh
echo "${bamboo.bamboo_agent_ssh}" | base64 -d >> ~/.ssh/id_rsa
echo "host vector.iqser.com" > ~/.ssh/config
echo " user bamboo-agent" >> ~/.ssh/config
chmod 600 ~/.ssh/config ~/.ssh/id_rsa
description: Set config and keys.
- script:
interpreter: SHELL