Skip to content

Commit

Permalink
Escape the dot
Browse files Browse the repository at this point in the history
  • Loading branch information
bsquizz authored Oct 4, 2019
1 parent 67e4b07 commit e6e214b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion vars/deployHelpers.groovy
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ def getChangeInfo(parameters = [:]) {
echo "getChangeInfo: envFile is: ${envFile}"

if (envFile.endsWith(".yaml") || envFile.endsWith(".yml")) {
def envFileName = envFile.split('.')[0]
def envFileName = envFile.split("\\.")[0]
echo "getChangeInfo: env file's name is: ${envFileName}"
// if we are only analyzing a specific env, ignore other changed env files
if (!envName || envFileName.equals(envName)) {
Expand Down

0 comments on commit e6e214b

Please sign in to comment.