Navigation Menu

Skip to content

Commit

Permalink
[JENKINS-30395] Deleting workaround now that we can use jenkins-test-…
Browse files Browse the repository at this point in the history
…harness 2.0.

Originally-Committed-As: 109b8f82415fc41f24d5d6545e586f0bce7ba705
  • Loading branch information
jglick committed Jan 22, 2016
1 parent 0d7bbf1 commit 5d87ee5
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 8 deletions.
Expand Up @@ -24,7 +24,6 @@

package org.jenkinsci.plugins.workflow.steps;

import org.jenkinsci.plugins.workflow.JenkinsRuleExt;
import org.jenkinsci.plugins.workflow.cps.CpsFlowDefinition;
import org.jenkinsci.plugins.workflow.job.WorkflowJob;
import org.junit.Test;
Expand All @@ -33,7 +32,7 @@

public class PwdStepTest {

@Rule public JenkinsRule r = JenkinsRuleExt.workAroundJenkins30395();
@Rule public JenkinsRule r = new JenkinsRule();

@Test public void basics() throws Exception {
WorkflowJob p = r.jenkins.createProject(WorkflowJob.class, "p");
Expand Down
Expand Up @@ -25,7 +25,6 @@
package org.jenkinsci.plugins.workflow.steps;

import hudson.tasks.Maven;
import org.jenkinsci.plugins.workflow.JenkinsRuleExt;
import org.jenkinsci.plugins.workflow.cps.CpsFlowDefinition;
import org.jenkinsci.plugins.workflow.job.WorkflowJob;
import org.junit.ClassRule;
Expand All @@ -38,7 +37,7 @@
public class ToolStepTest {

@ClassRule public static BuildWatcher buildWatcher = new BuildWatcher();
@Rule public JenkinsRule r = JenkinsRuleExt.workAroundJenkins30395();
@Rule public JenkinsRule r = new JenkinsRule();

@Test public void build() throws Exception {
Maven.MavenInstallation tool = ToolInstallations.configureMaven3();
Expand Down
Expand Up @@ -7,7 +7,6 @@
import hudson.model.queue.QueueTaskFuture;
import java.io.IOException;
import java.util.Arrays;
import org.jenkinsci.plugins.workflow.JenkinsRuleExt;
import org.jenkinsci.plugins.workflow.cps.CpsFlowDefinition;
import org.jenkinsci.plugins.workflow.cps.CpsFlowExecution;
import org.jenkinsci.plugins.workflow.job.WorkflowJob;
Expand All @@ -26,7 +25,7 @@
public class BuildTriggerStepRestartTest extends Assert {

@ClassRule public static BuildWatcher buildWatcher = new BuildWatcher();
@Rule public RestartableJenkinsRule story = JenkinsRuleExt.workAroundJenkins30395Restartable();
@Rule public RestartableJenkinsRule story = new RestartableJenkinsRule();

@Test
public void restartBetweenJobs() throws IOException {
Expand Down
Expand Up @@ -15,7 +15,6 @@
import java.util.Arrays;
import java.util.List;
import org.apache.commons.lang.StringUtils;
import org.jenkinsci.plugins.workflow.JenkinsRuleExt;
import org.jenkinsci.plugins.workflow.cps.CpsFlowDefinition;
import org.jenkinsci.plugins.workflow.cps.CpsFlowExecution;
import org.jenkinsci.plugins.workflow.job.WorkflowJob;
Expand All @@ -36,7 +35,7 @@
public class BuildTriggerStepTest {

@ClassRule public static BuildWatcher buildWatcher = new BuildWatcher();
@Rule public JenkinsRule j = JenkinsRuleExt.workAroundJenkins30395();
@Rule public JenkinsRule j = new JenkinsRule();

@Issue("JENKINS-25851")
@Test public void buildTopLevelProject() throws Exception {
Expand Down

0 comments on commit 5d87ee5

Please sign in to comment.