repo-cloner/old/checker/notify-commit
Václav Valíček b536c883de
move old files to old directory
Signed-off-by: Václav Valíček <valicek1994@gmail.com>
2022-05-04 09:46:41 +02:00

15 lines
427 B
Bash
Executable File

#!/bin/bash
# notify on commit push
#
# Parameters (via env)
#
# COMMIT - hash of commit
# COMMIT_AUTHOR - author of commit
# COMMIT_ABBREV - abbreviated sha
# COMMIT_LOG - short line of commit log
# COMMIT_BRANCH - name of branch
# PROJECT_NAME - project name specified in cloner.cfg
echo "Commit: ($COMMIT: (AUTHOR=$COMMIT_AUTHOR; BRANCH=$COMMIT_BRANCH), Project: $PROJECT_NAME)"
echo -e "\t$COMMIT_ABBREV: $COMMIT_LOG"