You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
sh "git config --global user.name 'AI4EOSC Jenkins user'"
364
387
365
388
// Now commit the changes
366
-
sh "git add metadata.json"
367
-
sh "git commit -m 'Add Zenodo DOI to metadata.json'"
389
+
sh "git add metadata.json .ai4-metadata.json"
390
+
sh "git commit -m 'Add Zenodo DOI to metadata file(s)'"
368
391
369
392
// Push the changes to the repository
370
393
withCredentials([
@@ -381,7 +404,7 @@ pipeline {
381
404
382
405
383
406
// Now, crete a PR using GitHub API
384
-
pr_body ="This is an automated change.\\n\\nThis pull request includes the Zenodo DOI in the metadata.json file. The obtained Zenodo DOI is ${zenodo_doi}, please verify that this DOI corresponds to your repository, carefully review the changes and, if they are correct, merge the PR."
407
+
pr_body ="This is an automated change.\\n\\nThis pull request includes the Zenodo DOI in the metadata file(s). The obtained Zenodo DOI is ${zenodo_doi}, please verify that this DOI corresponds to your repository, carefully review the changes and, if they are correct, merge the PR."
0 commit comments