JENKINS-47504# Fix declarativeAgents test so that it works with later versions of model definition plugin
@@ -65,7 +65,8 @@ public class PipelineMetadataServiceTest {
assertTrue(m.getHasSingleRequiredParameter());
- assertEquals(7, m.getParameters().size()); // was 3 now 7...
+ // check there are parameters present
+ assertTrue(m.getParameters().size() > 0);
}
@Test
