com.chavaillaz.client.jenkins.JenkinsConstant Maven / Gradle / Ivy
package com.chavaillaz.client.jenkins;
import java.util.Optional;
import java.util.regex.Matcher;
import java.util.regex.Pattern;
import lombok.experimental.UtilityClass;
@UtilityClass
public class JenkinsConstant {
public static final String FOLDER_MODE = "com.cloudbees.hudson.plugins.folder.Folder";
public static final String LIST_VIEW = "hudson.model.ListView";
/**
* Pattern to extract error messages, sometimes written by Jenkins in HTML.
*/
public static final Pattern ERRORS_HTML_PATTERN = Pattern.compile("Error
(.*?)