How to cleanup Jenkins workspace?

0 votes

Hi Guys,

I have one Job in Jenkins. I want to clean the workspace of that Job. How can I do that? 

Oct 24 in Jenkins by akhtar
• 32,960 points
33 views

1 answer to this question.

0 votes

Hi@akhtar,

There is a way to clean up a workspace in Jenkins. You need to install the Workspace Cleanup Plugin. This plugin can clean up the workspace before build or after a build. Under Build Environment, check the box that says Delete workspace before build starts.

answered Oct 24 by MD
• 77,580 points

Related Questions In Jenkins

0 votes
2 answers
0 votes
2 answers

How to start Jenkins on a different port rather than 8080?

In case you want to change the ...READ MORE

answered Jul 31, 2019 in Jenkins by Sirajul
• 58,210 points
11,987 views
+3 votes
2 answers

How to trigger a Jenkins pipeline A in another Jenkins pipeline B?

If you are talking about executing another ...READ MORE

answered Jul 31, 2019 in Jenkins by Sirajul
• 58,210 points
32,954 views
+1 vote
4 answers
+15 votes
2 answers

Git management technique when there are multiple customers and need multiple customization?

Consider this - In 'extended' Git-Flow, (Git-Multi-Flow, ...READ MORE

answered Mar 26, 2018 in DevOps & Agile by DragonLord999
• 8,450 points
803 views
+2 votes
1 answer
0 votes
1 answer

How to install jenkins in Redhat/CentOS?

Hi@akhtar, To install Jenkins in centOS/Redhat, you can ...READ MORE

answered Feb 6 in Jenkins by MD
• 77,580 points
218 views
0 votes
1 answer

How to give permissions to jenkins user for a particular file?

Hi@akhtar, To give permissions to jenkins user, you ...READ MORE

answered Feb 14 in Jenkins by MD
• 77,580 points
1,033 views