Skip to content

Commit

Permalink
[FIXED JENKINS-19307] Noting merge of pull #937.
Browse files Browse the repository at this point in the history
  • Loading branch information
jglick committed Oct 3, 2013
1 parent b86d9e9 commit 1c68183
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 3 deletions.
5 changes: 4 additions & 1 deletion changelog.html
Expand Up @@ -61,7 +61,10 @@
<li class=bug>
Windows JDK installer should not install a public JRE.
(<a href="https://issues.jenkins-ci.org/browse/JENKINS-8957">issue 8957</a>)
<li class=bug>
<li class=bug>
SCM polling sometimes broken since 1.527 due to a change in how environment variables are calculated.
(<a href="https://issues.jenkins-ci.org/browse/JENKINS-19307">issue 19307</a>)
<li class=bug>
Breadcrumb bar moves away from header when scrolling past end of page on OS X.
(<a href="https://issues.jenkins-ci.org/browse/JENKINS-19803">issue 19803</a>)
</ul>
Expand Down
@@ -1,9 +1,7 @@
package jenkins.model;

import static org.mockito.Mockito.doReturn;
import static org.mockito.Mockito.times;
import static org.mockito.Mockito.when;
import static org.powermock.api.mockito.PowerMockito.spy;
import static org.powermock.api.mockito.PowerMockito.verifyStatic;
import hudson.EnvVars;
import hudson.model.Computer;
Expand All @@ -16,6 +14,7 @@
import org.junit.Before;
import org.junit.Test;
import org.junit.runner.RunWith;
import org.jvnet.hudson.test.Bug;
import org.mockito.Mock;
import org.mockito.MockitoAnnotations;
import org.powermock.api.mockito.PowerMockito;
Expand All @@ -41,6 +40,7 @@ public void setUp() throws Exception {
instance = new CoreEnvironmentContributor();
}

@Bug(19307)
@Test
@PrepareForTest(fullyQualifiedNames={"hudson.model.Computer", "jenkins.model.Jenkins"})
public void buildEnvironmentForJobShouldntUseCurrentComputer() throws IOException, InterruptedException {
Expand Down

0 comments on commit 1c68183

Please sign in to comment.