2
0
Fork 0
mirror of https://github.com/kdabir/has.git synced 2024-11-11 14:40:48 +01:00
has/lib/groovy/groovy.sh

5 lines
139 B
Bash

output=$(groovy --version)
status=$?
version=$(echo "$output" | grep -o "\d*\.\d*\.\d*" | head -1)
_dq_report 'groovy' $status "$version"