Hello,
I’m searching for a way to manage “Orphaned Item Strategy” for all the job in my jenkins instance.
Actually i’m thinking of a script that will check all the config.xml and add the bloc under with a for/sed etc.
<orphanedItemStrategy class="com.cloudbees.hudson.plugins.folder.computed.DefaultOrphanedItemStrategy" plugin="cloudbees-folder@6.15">
<pruneDeadBranches>true</pruneDeadBranches>
<daysToKeep>5</daysToKeep>
<numToKeep>5</numToKeep>
</orphanedItemStrategy>
Finally my question : is there a way to do that in the IHM for all the job plz ?
Thanks for your help !
Best regards,
Vincent