Class JobFullNameConverter
java.lang.Object
io.jenkins.plugins.propelo.commons.service.JobFullNameConverter
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic StringconvertJobFullNameToJobNormalizedFullName(String jobFullName) static StringreplaceEncodedBranchInJobFullName(String jobFullName, String encodedBranchName, String resolvedBranchName) Replaces the filesystem-mangled branch segment injob_full_namewith the Jenkins URL-safe encoded SCM branch (e.g.static StringreplaceEncodedBranchInNormalizedName(String normalizedFullName, String encodedBranchName, String resolvedBranchName)
-
Constructor Details
-
JobFullNameConverter
public JobFullNameConverter()
-
-
Method Details
-
convertJobFullNameToJobNormalizedFullName
-
replaceEncodedBranchInNormalizedName
-
replaceEncodedBranchInJobFullName
public static String replaceEncodedBranchInJobFullName(String jobFullName, String encodedBranchName, String resolvedBranchName) Replaces the filesystem-mangled branch segment injob_full_namewith the Jenkins URL-safe encoded SCM branch (e.g.feature%2Fmaac-muteinstead offeature-maac-mute.l94old). Handles nested jobs under a branch (e.g..../branches/encoded/jobs/sub-job).
-