In automated process when we launch the following command, I suggest not FAIL instead just inform the user.
I guess this can be fixed checking first if there is something to commit
+ ./vendor/bin/drupal-artifact-builder git --repository=git@gitlab.XXXX.git
[-->] Selected develop branch
[-->] Setting up git
[-->] Added hash file
[-->] Operation to copy source to artifact repository folder finished successfully
[-->] File(s) CHANGELOG.txt removed or not present in artifact
[-->] File(s) COPYRIGHT.txt removed or not present in artifact
[-->] File(s) INSTALL.txt removed or not present in artifact
[-->] File(s) INSTALL.mysql.txt removed or not present in artifact
[-->] File(s) INSTALL.pgsql.txt removed or not present in artifact
[-->] File(s) INSTALL.sqlite.txt removed or not present in artifact
[-->] File(s) LICENSE.txt removed or not present in artifact
[-->] File(s) README.txt removed or not present in artifact
[-->] File(s) CHANGELOG.txt removed or not present in artifact
[-->] File(s) UPDATE.txt removed or not present in artifact
[-->] File(s) USAGE.txt removed or not present in artifact
[-->] File(s) PATCHES.txt removed or not present in artifact
[-->] The txt files and .git files have been cleaned up successfully
[-->] Commiting and pushing changes to the artifact repository...
In BaseCommand.php line 112:
The command "git commit -m "Artifact commit by artifact generation script"
--author="Drupal <drupal@artifact-builder>"" failed.
Exit Code: 1(General error)
Working directory: /var/lib/jenkins/workspace/XXXXX
Output:
================
En la rama develop
Tu rama está actualizada con 'origin/develop'.
nada para hacer commit, el árbol de trabajo está limpio
Error Output:
================
git [-ef|--extra-paths [EXTRA-PATHS]] [-repo|--repository REPOSITORY] [-a|--author AUTHOR]
In automated process when we launch the following command, I suggest not FAIL instead just inform the user. I guess this can be fixed checking first if there is something to commit