Updates scripts/shell/job/gp/team-pipeline-local.sh script

This commit is contained in:
Matheus Albino Brunhara
2024-04-19 12:30:53 -03:00
parent ec4c797883
commit bec0430ae6

View File

@@ -245,8 +245,6 @@ if [ ! -z "$commits_between_arg" ]; then
done
fi
exit 0
if [ ! -z "$file_paths_arg" ]; then
file_paths=`convert_csv_to_array "$file_paths_arg"`
@@ -364,9 +362,9 @@ if $should_substitute; then
echo "find * -type f -regex \".*$a$wildfly_files_suffix_regex\""
artifactId_paths_to_explode=(`find * -type f -regex ".*$a$wildfly_files_suffix_regex"`)
echo " $artifactId_paths_to_explode"
# if [ ! -z "$artifactId_paths_to_explode" ]; then
# $scripts_folder/explode-java-files.sh --files `join_by , ${artifactId_paths_to_explode}`
# fi
if [ ! -z "$artifactId_paths_to_explode" ]; then
$scripts_folder/explode-java-files.sh --files `join_by , ${artifactId_paths_to_explode}`
fi
done
printf "\n"
@@ -376,9 +374,9 @@ if $should_substitute; then
for a in ${artifact_ids_to_explode[@]}; do
artifactId_paths_to_explode=(`find * -type f -regex ".*$a$wildfly_files_suffix_regex"`)
echo " $artifactId_paths_to_explode"
# if [ ! -z "$artifactId_paths_to_explode" ]; then
# $scripts_folder/explode-java-files.sh --files `join_by , ${artifactId_paths_to_explode}`
# fi
if [ ! -z "$artifactId_paths_to_explode" ]; then
$scripts_folder/explode-java-files.sh --files `join_by , ${artifactId_paths_to_explode}`
fi
done
src_path_const='src/main/java/'