How to uninstall Jenkins?

前端 未结 8 1266
谎友^
谎友^ 2020-12-22 14:45

This is probably very simple, but I can\'t find any hint anywhere. So how one is supposed to do that, in general and specifically on Mac?

相关标签:
8条回答
  • 2020-12-22 15:19

    Keep in mind, that in Terminal you need to add backslash before space, so the proper copy/paste will be

    /Library/Application\ Support/Jenkins/Uninstall.command

    p.s. sorry for the late answer :)

    0 讨论(0)
  • 2020-12-22 15:25

    There is no uninstaller. Therefore, you need to:

    • Delete the directory containing Jenkins (or, if you're deploying the war -- remove the war from your container).

    • Remove ~/.jenkins.

    • Remove you startup scripts.

    0 讨论(0)
  • 2020-12-22 15:25

    My Jenkins version: 1.5.39

    Execute steps:

    Step 1. Go to folder /Library/Application Support/Jenkins

    Step 2. Run Uninstall.command jenkins-runner.sh file.

    Step 3. Check result.

    It work for me.

    0 讨论(0)
  • 2020-12-22 15:29

    run this on Terminal:

    sh "/Library/Application Support/Jenkins/Uninstall.command"
    
    0 讨论(0)
  • 2020-12-22 15:33

    You are right, it is simple. Run (admin password required):

    '/Library/Application Support/Jenkins/Uninstall.command'
    

    It may be necessary to do this with admin privileges using sudo.

    0 讨论(0)
  • 2020-12-22 15:36

    On Mac; these two below commands completely remove Jenkins from your machine. just open your Terminal and execute them:

    1. '/Library/Application Support/Jenkins/Uninstall.command' and
    2. sudo rm -rf /var/root/.jenkins ~/.jenkins

    Thanks

    0 讨论(0)
提交回复
热议问题