1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/jenkins_ynh.git synced 2024-09-03 19:26:18 +02:00
jenkins_ynh/scripts/remove

17 lines
325 B
Text
Raw Normal View History

2014-12-09 21:00:17 +01:00
#!/bin/bash
domain=$(sudo yunohost app setting jenkins domain)
2014-12-16 00:14:01 +01:00
sudo rm /etc/nginx/conf.d/$domain.d/jenkins.conf
2014-12-09 21:00:17 +01:00
sudo apt-get purge jenkins
sudo rm /etc/apt/sources.list.d/jenkins.list
# TODO remove repo key
sudo apt-get update
2014-12-16 00:14:01 +01:00
sudo yunohost service remove jenkins
sudo yunohost app ssowatconf
sudo service nginx reload