mirror of
https://github.com/YunoHost-Apps/jenkins_ynh.git
synced 2024-09-03 19:26:18 +02:00
16 lines
325 B
Bash
16 lines
325 B
Bash
#!/bin/bash
|
|
|
|
domain=$(sudo yunohost app setting jenkins domain)
|
|
|
|
sudo rm /etc/nginx/conf.d/$domain.d/jenkins.conf
|
|
|
|
sudo apt-get purge jenkins
|
|
sudo rm /etc/apt/sources.list.d/jenkins.list
|
|
# TODO remove repo key
|
|
sudo apt-get update
|
|
|
|
sudo yunohost service remove jenkins
|
|
|
|
sudo yunohost app ssowatconf
|
|
sudo service nginx reload
|
|
|