You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

21 lines
473 B

#!/bin/bash
#
# HOWTOish set up gocd agent
exit 0
echo "deb https://download.gocd.org /" | sudo tee /etc/apt/sources.list.d/gocd.list
curl https://download.gocd.org/GOCD-GPG-KEY.asc | sudo apt-key add -
sudo apt update
sudo apt install go-agent
vim /usr/share/go-agent/wrapper-config/wrapper-properties.conf
# Set:
wrapper.app.parameter.101=https://localhost:8154/go
# To:
wrapper.app.parameter.101=https://gocd.forksand.com/go
# Then
systemctl start go-agent.service