Skip to content

Instantly share code, notes, and snippets.

@springaki
Last active July 6, 2023 12:56
Show Gist options
  • Star 12 You must be signed in to star a gist
  • Fork 17 You must be signed in to fork a gist
  • Save springaki/1add83b255c2d38800e5c3d864cbb737 to your computer and use it in GitHub Desktop.
Save springaki/1add83b255c2d38800e5c3d864cbb737 to your computer and use it in GitHub Desktop.
uninstall jenkins
sudo wget -O /etc/yum.repos.d/jenkins.repo http://pkg.jenkins-ci.org/redhat-stable/jenkins.repo
sudo rpm --import https://jenkins-ci.org/redhat/jenkins-ci.org.key
sudo yum -y install jenkins
sudo service jenkins start
#確認
sudo tail -f -n 100 /var/log/jenkins/jenkins.log

Install suggested plugin

  • Folders Plugin
  • OWASP Markup Formatter Plugin
  • build timeout plugin
  • Credentials Binding Plugin
  • Timestamper Workspace Cleanup Plugin
  • Ant Plugin Gradle Plugin
  • Pipeline GitHub Organization
  • Folder Plugin
  • Pipeline: Stage View Plugin
  • Git plugin
  • Subversion Plug-in
  • SSH Slaves plugin
  • Matrix Authorization Strategy Plugin
  • PAM Authentication plugin
  • LDAP Plugin
  • Email Extension Plugin
  • Mailer Plugin
sudo service jenkins stop
sudo yum clean all
sudo yum -y remove jenkins
sudo rm -rf /var/cache/jenkins
sudo rm -rf /var/lib/jenkins/
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment