We are using enterprise Jenkins and we can\'t run groovy script manually to fix this. If someone can share the pipeline syntax to achieve this using pipeline script, it will