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