See https://github.com/jenkinsci/associated-files-plugin/blob/master/src/main/resources/index.groovy#L5