Skip to content
Permalink
Browse files
[JENKINS-38928] Pull form-element-path 1.8
  • Loading branch information
Vlatombe committed Nov 4, 2016
1 parent 9bf9f73 commit 057ae2fcd8e9cf46ddda357f8068addecda10e3e
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/main/java/org/jenkinsci/test/acceptance/FallbackConfig.java
@@ -252,7 +252,7 @@ public Jenkins createJenkins(Injector injector, JenkinsController controller) {
public File getFormElementsPathFile(RepositorySystem repositorySystem, RepositorySystemSession repositorySystemSession) {
ArtifactResolverUtil resolverUtil = new ArtifactResolverUtil(repositorySystem, repositorySystemSession);
String version = System.getenv("FORM_ELEMENT_PATH_VERSION");
version = version == null ? "1.7" : version;
version = version == null ? "1.8" : version;
ArtifactResult resolvedArtifact = resolverUtil.resolve(new DefaultArtifact("org.jenkins-ci.plugins", "form-element-path", "hpi", version));
return resolvedArtifact.getArtifact().getFile();
}

0 comments on commit 057ae2f

Please sign in to comment.