as its value insert the ``ssh-key`` that you uploaded to Gerrit.
Add Global vars in Jenkins:
-Jenkins configre -> Global properties -> Environment variables
+Jenkins configure -> Global properties -> Environment variables
``RELEASE_USERNAME = $RELEASE_USERNAME``
``RELEASE_EMAIL = $RELEASE_EMAIL``
-Jenkins configre -> Managed Files -> Custom File
+Jenkins configure -> Managed Files -> Custom File
id: signing-pubkey
Name: SIGNING_PUBKEY (optional)
Ci-management
=============
-upgrade you projects global-jjb if needed
-add this to your global defaults file (eg: jjb/defaults.yaml)
+Upgrade your projects global-jjb if needed
+add this to your global defaults file (eg: jjb/defaults.yaml).
.. code-block:: bash
echo "Repo already tagged $VERSION"
echo "This job has already run exit 0"
exit 0
-if
+fi
git checkout "$(awk '{print $NF}' "$PATCH_DIR/taglist.log")"
-git fetch "$PATCH_DIR/$PROJECT.bundle"
+git fetch "$PATCH_DIR/${PROJECT//\//-}.bundle"
git merge --ff-only FETCH_HEAD
git tag -am "${PROJECT//\//-} $VERSION" "$VERSION"
sigul --batch -c "$SIGUL_CONFIG" sign-git-tag "$SIGUL_KEY" "$VERSION" < "$SIGUL_PASSWORD"
# This function: if merge push to nexus. If verify output the proposed push command.
nexus_release
-
-echo "########### End Script release-job.sh ###################################"
+#
+#echo "########### End Script release-job.sh ###################################"