diff --git a/Terraform/serverJenkins.sh b/Terraform/serverJenkins.sh index 96b8b7219c7d65bd71c16c3957150a8e12114cf4..1c19eddf92cbd73d9b37740c99cf35872323ab80 100644 --- a/Terraform/serverJenkins.sh +++ b/Terraform/serverJenkins.sh @@ -9,6 +9,7 @@ echo in directory $PWD # 安装常用工具 sudo yum install wget -y sudo yum install unzip -y +echo "installing git..." sudo yum install git -y # 安装 OpenSSH @@ -66,7 +67,7 @@ chmod 400 matrix_keypair.key # 通过 SSH 密钥克隆一个 Git 仓库 echo "cloning repository..." echo $PWD -ssh-agent bash -c 'ssh-add temp_keypair.key; git clone git@git.cardiff.ac.uk:c24020257/sports-league-application.git' +ssh-agent bash -c 'ssh-add matrix_keypair.key; git clone git@git.cardiff.ac.uk:c24020257/sports-league-application.git' # 更新 rsyslog 配置以将日志输出到特定设备 echo "update logging configuration..."