Skip to content

Commit

Permalink
Remove docker check for windows gradle check
Browse files Browse the repository at this point in the history
Signed-off-by: Peter Zhu <[email protected]>
  • Loading branch information
peterzhuamazon committed Nov 3, 2022
1 parent cd10eb5 commit 89b3298
Showing 1 changed file with 11 additions and 9 deletions.
20 changes: 11 additions & 9 deletions vars/runGradleCheck.groovy
Original file line number Diff line number Diff line change
Expand Up @@ -51,15 +51,17 @@ void call(Map args = [:]) {
./gradlew --stop
rm -rf ~/.gradle
echo "Check existing dockercontainer"
docker ps -a
docker stop `docker ps -qa` > /dev/null 2>&1 || echo
docker rm `docker ps -qa` > /dev/null 2>&1 || echo
echo "Stop existing dockercontainer"
docker ps -a
echo "Check docker-compose version"
docker-compose version
if ! (uname -s | grep -i NT); then
echo "Check existing dockercontainer"
docker ps -a
docker stop `docker ps -qa` > /dev/null 2>&1 || echo
docker rm `docker ps -qa` > /dev/null 2>&1 || echo
echo "Stop existing dockercontainer"
docker ps -a
echo "Check docker-compose version"
docker-compose version
fi
echo "Check existing processes"
ps -ef | grep [o]pensearch | wc -l
Expand Down

0 comments on commit 89b3298

Please sign in to comment.