use of org.jenkinsci.plugins.workflow.multibranch.JobPropertyStep in project copyartifact-plugin by jenkinsci.
the class CopyArtifactPermissionPropertyTest method configProps.
@Test
public void configProps() throws Exception {
JobProperty<?> property = new CopyArtifactPermissionProperty("project1,project2");
SnippetizerTester tester = new SnippetizerTester(j);
tester.assertRoundTrip(new JobPropertyStep(Collections.singletonList(property)), "properties([copyArtifactPermission('project1,project2')])");
}
Aggregations