Delete a Jenkins Build via GUI

久未见 提交于 2020-05-10 07:02:16

问题


How can I delete a build from the Jenkins GUI? I know that I can delete the directory from the 'jobs' folder, but I want to do it from the GUI. Is it also possible to delete multiple builds?


回答1:


If you go into the build you want to delete and if you have the permissions to delete, then you will see on the upper right corner a button "Delete this build".




回答2:


To delete any job from Gui,Go to your job and on left side,click on delete project.




回答3:


For deleting the entire build history you can do this:

Given your Hudson job is named FooBar,

  • rename FooBar to FooBar-Copy
  • create a new job named FooBar, using 'Copy existing job' option, from FooBar-Copy
  • delete FooBar-Copy

Source: http://jenkins.361315.n4.nabble.com/Possible-to-remove-all-build-data-and-reset-build-1-td1458487.html




回答4:


Go to project which you want to delete, in upper left frame, you can see delete (maven, if it is maven project) project.




回答5:


To delete the project itself, "Delete Project" in the left sidebar after clicking on the job.




回答6:


If this is a maven project then in the left side panel, you can see the option as delete maven project. If this is a git or other project then in the job dashboard just right the of the job name you will find an arrow mark dropdown which one option delete the organization. click on that and your job will be deleted.



来源:https://stackoverflow.com/questions/7995079/delete-a-jenkins-build-via-gui

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!