From: Sam Hague Date: Wed, 19 Dec 2018 15:43:27 +0000 (-0500) Subject: pretty print git log output X-Git-Tag: pre-potassium~425 X-Git-Url: https://git.opendaylight.org/gerrit/gitweb?p=integration%2Ftest.git;a=commitdiff_plain;h=0d8a076241a819e8617ff8390a82f2e2968bc656 pretty print git log output Change-Id: I01fd907056bea4a57211f94d6e808f115fde361f Signed-off-by: Sam Hague --- diff --git a/csit/variables/coe/coe_play.yaml b/csit/variables/coe/coe_play.yaml index 90e02d019b..37cbfe748d 100644 --- a/csit/variables/coe/coe_play.yaml +++ b/csit/variables/coe/coe_play.yaml @@ -28,6 +28,7 @@ args: creates: "{{ gopath }}/bin/dep" - name: Show gerrit details + run_once: true debug: msg: - "Fetch COE git repository https://git.opendaylight.org/gerrit/p/coe.git" @@ -40,9 +41,19 @@ refspec: "{{ gerrit_refspec }}" dest: "{{ coe_path }}" - name: List COE git repository recent patches + run_once: true shell: "git --no-pager log --pretty=format:'%h %<(30)%ad %<(30)%cd %<(20,trunc)%an%d %s' -n10" args: chdir: "{{ coe_path }}" + register: git_log_output + - name: git log header + run_once: true + debug: + msg="Hash Author Date Commit Date Author Subject" + - name: git log output + run_once: true + debug: + var=git_log_output.stdout_lines - name: Fetch odl-cni dependencies with dep shell: dep ensure -vendor-only args: