mirror of
https://github.com/jenkinsci/jenkins.git
synced 2026-11-17 05:52:26 +00:00
[JENKINS-30084] cleanup
This commit is contained in:
1 parent
cfef72b1b2
commit
a19c7936bf
1 file changed
+4
-3
@@ -794,10 +794,11 @@ public class QueueTest {
|
||||
project.setAxes(new AxisList(
|
||||
new Axis("axis", "a", "b")
|
||||
));
|
||||
Label label = LabelExpression.get("aws-linux-dummy");
|
||||
DummyCloudImpl dummyCloud = new DummyCloudImpl(r, 0);
|
||||
dummyCloud.label = LabelExpression.get("aws-linux-dummy");
|
||||
r.getInstance().clouds.add(dummyCloud);
|
||||
project.setAssignedLabel(LabelExpression.get("aws-linux-dummy"));
|
||||
dummyCloud.label = label;
|
||||
r.jenkins.clouds.add(dummyCloud);
|
||||
project.setAssignedLabel(label);
|
||||
r.assertBuildStatusSuccess(project.scheduleBuild2(0));
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user