From 3a661ff93be63477280715852e7fd4c71b39145c Mon Sep 17 00:00:00 2001 From: victordrose Date: Wed, 20 Dec 2023 14:13:53 +0100 Subject: [PATCH] solving problem with commit --- scripts/pipelines/common/pipeline_generator.lib | 3 +++ 1 file changed, 3 insertions(+) diff --git a/scripts/pipelines/common/pipeline_generator.lib b/scripts/pipelines/common/pipeline_generator.lib index 7cb314960..868ac1e13 100644 --- a/scripts/pipelines/common/pipeline_generator.lib +++ b/scripts/pipelines/common/pipeline_generator.lib @@ -268,6 +268,9 @@ function commitCommonFiles { # Add the YAML files. git add "$pipelinePath" -f + # Add the changes in the pom.xml file + git add "pom.xml" + # Git commit and push it into the repository. # changing all files to be executable find "$pipelinePath" -type f -name '*.sh' -exec git update-index --chmod=+x {} \;