This is an automated email from the ASF dual-hosted git repository. mck pushed a commit to branch trunk in repository https://gitbox.apache.org/repos/asf/cassandra-builds.git
The following commit(s) were added to refs/heads/trunk by this push: new afb103d ninja-fix sha printing afb103d is described below commit afb103d133a0008d8244d973c0801aad5deedba6 Author: Mick Semb Wever <m...@apache.org> AuthorDate: Fri Apr 2 12:27:04 2021 +0200 ninja-fix sha printing --- jenkins-dsl/print-shas.sh | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/jenkins-dsl/print-shas.sh b/jenkins-dsl/print-shas.sh index 4a8c4fa..c2d6eec 100755 --- a/jenkins-dsl/print-shas.sh +++ b/jenkins-dsl/print-shas.sh @@ -4,10 +4,10 @@ # If they all match then print just them, else print every job's used SHA # -if [ $(grep ") cassandra" *.head | sort -k4 | uniq -f3 | sed -n '$=') = "3" ]; then +if [ $(find . -type f -name "*.head" -exec cat {} \; | grep ") cassandra" | sort -k4 | uniq -f3 | sed -n '$=') = "3" ]; then echo "The folllowing SHAs were consistently used in all jobs in the pipeline…" - grep ") cassandra" *.head | awk '{$1=$2=$3=""; print $0}' | sort -u + find . -type f -name "*.head" -exec cat {} \; | grep ") cassandra" | awk '{$1=$2=$3=""; print $0}' | sort -u else echo "Different SHAs were used in different jobs in the pipeline. Printing everything…" - grep ") cassandra" *.head + find . -type f -name "*.head" -exec cat {} \; fi --------------------------------------------------------------------- To unsubscribe, e-mail: commits-unsubscr...@cassandra.apache.org For additional commands, e-mail: commits-h...@cassandra.apache.org