Hi,

Having upgraded my plugin from 1.388 to 1.425 of the Jenkins plugin pom a
unit test* which uses the @PresetData annotation fails. This test because "
project.hasPermission(AbstractProject.BUILD)" returns true despite the test
being annotated with  "@PresetData(DataSet.ANONYMOUS_READONLY)".

Any ideas what might cause this?

*
https://github.com/swestcott/bulk-builder-plugin/blob/master/src/test/java/org/jenkinsci/plugins/bulkbuilder/model/BuilderTest.java#L172

Thanks,
Simon

Reply via email to