rozza
rozza

Reputation: 1026

Is it possible to delete archived files in jenkins?

I have some archived test reports that I would like to delete from certain builds. It would be good to do this from the jenkinsfile, but can do it manually too.

Upvotes: 0

Views: 1014

Answers (1)

Irek L.
Irek L.

Reputation: 334

archived items are stored inside:

C:\Users\<userID>\.jenkins\jobs\<jobName>\builds\<buildID>\archive

You can remove them manually or write simple script to iterate over folders. On Linux/Unix, user home will be different, but the rest of path will be the same.

Upvotes: 1

Related Questions