Skip to content
Permalink
Browse files

Merge pull request #84 from varyvol/JENKINS-41370

[JENKINS-41370] Fix PCT for 2.32.1
  • Loading branch information...
stephenc committed Feb 6, 2017
2 parents 4e64cfc + c50a97d commit 304c051e6da33715d029f13a6570b439a2045082
@@ -5,7 +5,7 @@
<parent>
<groupId>org.jenkins-ci.plugins</groupId>
<artifactId>plugin</artifactId>
<version>2.19</version>
<version>2.21</version>
<relativePath />
</parent>

@@ -21,7 +21,7 @@
<properties>
<jenkins.version>1.609.1</jenkins.version>
<java.level>6</java.level>
<jenkins-test-harness.version>2.3</jenkins-test-harness.version>
<jenkins-test-harness.version>2.18</jenkins-test-harness.version>
<no-test-jar>false</no-test-jar>
</properties>
<licenses>
@@ -80,7 +80,7 @@
import org.kohsuke.stapler.StaplerRequest;

/**
* A store of credentials that can be used as a Stapler opbject.
* A store of credentials that can be used as a Stapler object.
*/
@Extension(optional = true)
public class FolderCredentialsProvider extends CredentialsProvider {
@@ -63,6 +63,7 @@
import org.acegisecurity.AccessDeniedException;
import static org.hamcrest.Matchers.*;
import static org.junit.Assert.*;

import org.junit.Rule;
import org.junit.Test;
import org.jvnet.hudson.test.Issue;
@@ -147,11 +148,11 @@

private void copyFromGUI(Folder f, JenkinsRule.WebClient wc, String fromName, String toName) throws Exception {
HtmlPage page = wc.getPage(f, "newJob");
((HtmlInput)page.getElementById("name")).setValueAttribute(toName);
((HtmlInput)page.getElementById("name")).type(toName);
HtmlInput fe = (HtmlInput) page.getElementById("from");
fe.focus();
fe.type(fromName);
r.submit(page.getForms().get(1));
r.submit(page.getFormByName("createItem"));
}

/**

0 comments on commit 304c051

Please sign in to comment.
You can’t perform that action at this time.