jenkins: set container hostname to jenkins (#60551)
This commit is contained in:
parent
5646fb8cf5
commit
3424c598f6
|
@ -21,6 +21,7 @@ then
|
|||
apt-key add entrouvert.gpg
|
||||
apt update
|
||||
/etc/init.d/postgresql start
|
||||
hostname jenkins
|
||||
PORT=`pg_lsclusters | tail -n1 | awk '{ print $3 }'`
|
||||
echo 'cd /opt/publik-devinst; ansible-playbook -i inventory.yml -e "{postgresql_port: '$PORT'}" install.yml'
|
||||
su testuser -l -c 'cd /opt/publik-devinst; ansible-playbook -i inventory.yml -e "{postgresql_port: '$PORT'}" install.yml'
|
||||
|
|
Loading…
Reference in New Issue