There's nothing built-in to do this.

There are a few separate tools around such as 'gocd-janitor' to try and
implement configurable artifact deletion (and console logs are a special
'artifact' in GoCD) if you also want to delete the other artifacts and
GoCDs simple artifact cleanup (due to nearly full disk) isn't sufficient or
desirable.

If you want to target just the console logs, you'd have to write something
to do this, perhaps a shell 'find' command that looks for all the
'cruise-output' directories inside the artifacts storage directory where
the console logs are stored and deletes them if they were last modified
more than x days ago. Be careful :)

-Chad

On Sat, 1 Apr 2023, 17:36 Nayan Makwana, <[email protected]> wrote:

> Hello Folks,
>
> I read all the GoCD configuration document i did not find the way to
> delete console output of every pipeline.
>
> I want to delete console output history which is more than 30 days old I
> am using 22.3.0 Go-server
>
> Please help me out for this scenario.
>
>
> Thank you.
> Nayan Makwana
>
> --
> You received this message because you are subscribed to the Google Groups
> "go-cd" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to [email protected].
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/go-cd/4627a960-1176-4848-bb24-0d408c2da830n%40googlegroups.com
> <https://groups.google.com/d/msgid/go-cd/4627a960-1176-4848-bb24-0d408c2da830n%40googlegroups.com?utm_medium=email&utm_source=footer>
> .
>

-- 
You received this message because you are subscribed to the Google Groups 
"go-cd" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/go-cd/CAA1RwH-PzWMo51Z2A-UJEsyaXHVGJi4H2_FWiFGNUkF0VBkaWw%40mail.gmail.com.

Reply via email to