summaryrefslogtreecommitdiffstats
path: root/jjb/sandbox/verify.sh
diff options
context:
space:
mode:
authorFatih Degirmenci <fatih.degirmenci@ericsson.com>2016-07-07 13:43:15 +0200
committerFatih Degirmenci <fatih.degirmenci@ericsson.com>2016-07-07 22:04:19 +0200
commit43826ac925baab281a77e76f917bcadb978c9a52 (patch)
treecb67fb26beede406d23cf34669be93b45caa0f36 /jjb/sandbox/verify.sh
parentd893d399ca57337e2095338bd48cb891f0b21940 (diff)
sandbox: Pass GERRIT parameters and create merge jobs
Change-Id: Idf4f87043929ab1c0e97a60899a116c745386a96 Signed-off-by: Fatih Degirmenci <fatih.degirmenci@ericsson.com>
Diffstat (limited to 'jjb/sandbox/verify.sh')
-rwxr-xr-xjjb/sandbox/verify.sh29
1 files changed, 29 insertions, 0 deletions
diff --git a/jjb/sandbox/verify.sh b/jjb/sandbox/verify.sh
new file mode 100755
index 000000000..f62d2b977
--- /dev/null
+++ b/jjb/sandbox/verify.sh
@@ -0,0 +1,29 @@
+#!/bin/bash
+
+# this is where we check the commit message, unit test, etc.
+cd $WORKSPACE
+echo
+echo "Commit Message is"
+echo "-------------------------------------"
+git log --format=%B -n 1 $(git rev-parse HEAD)
+echo "-------------------------------------"
+echo
+echo "Repo contents"
+echo "-------------------------------------"
+ls -al
+echo "-------------------------------------"
+echo
+echo "Changed files are"
+echo "-------------------------------------"
+git diff origin/master --name-only
+echo "-------------------------------------"
+echo
+echo "Change introduced"
+echo "-------------------------------------"
+git diff origin/master
+echo "-------------------------------------"
+echo
+echo "git show"
+echo "-------------------------------------"
+git show
+echo "-------------------------------------"