Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
[JENKINS-38928] Pull form-element-path 1.8
  • Loading branch information
Vlatombe committed Nov 4, 2016
1 parent 9bf9f73 commit 057ae2f
Showing 1 changed file with 1 addition and 1 deletion.
Expand Up @@ -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();
}
Expand Down

0 comments on commit 057ae2f

Please sign in to comment.