summaryrefslogtreecommitdiffstats
path: root/jjb/sandbox/verify.sh
blob: f62d2b9770f62f8c8cd0eac78dac2322550f36ca (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
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 "-------------------------------------"