Skip to content

Commit

Permalink
Making class of constants as final and path change for jenkinsxml (#19)
Browse files Browse the repository at this point in the history
* making constant class final, minor change in jenkinsxml path and changing version
  • Loading branch information
saif-ericsson authored Jun 12, 2019
1 parent 10c898f commit 5eea369
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
3 changes: 2 additions & 1 deletion pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,8 @@
<modelVersion>4.0.0</modelVersion>
<groupId>com.github.ericsson</groupId>
<artifactId>eiffel-commons-java</artifactId>
<version>0.0.9</version>
<version>0.0.10</version>

<name>eiffel commons java</name>
<description>A shared library for eiffel components</description>

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,6 @@

import java.io.FileNotFoundException;
import java.io.IOException;
import java.util.ArrayList;
import java.util.Arrays;
import java.util.List;

Expand All @@ -36,7 +35,7 @@
*/
public class JenkinsXmlData {

private static final String JENKINS_TEMPLATE_FILE_NAME = "jenkinsJobTemplate.xml";
private static final String JENKINS_TEMPLATE_FILE_NAME = "/jenkinsJobTemplate.xml";
private static final String XML_VERSION = "<?xml version='1.1' encoding='UTF-8'?>";
private static final String HUDSON_PARAMETERS_DEFINITION_KEY = "hudson.model.ParametersDefinitionProperty";
private static final String PARAMETER_DEFINITION_KEY = "parameterDefinitions";
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
package com.ericsson.eiffelcommons.utils;

public class RegExProvider {
public final class RegExProvider {

public static final String SUBSCRIPTION_NAME = "(\\W)";
public static final String NOTIFICATION_META = "^(([^<>()\\[\\]\\\\.,;:\\s@\"]+(\\.[^<>()\\[\\]\\\\.,;:\\s@\"]+)*)|(\".+\"))@((\\[[0-9]{1,3}\\.[0-9]{1,3}\\.[0-9]{1,3}\\.[0-9]{1,3}])|(([a-zA-Z\\-0-9]+\\.)+[a-zA-Z]{2,}))$";;
Expand Down

0 comments on commit 5eea369

Please sign in to comment.