Skip to content

Commit

Permalink
Update more
Browse files Browse the repository at this point in the history
Signed-off-by: Peter Zhu <[email protected]>
  • Loading branch information
peterzhuamazon committed Oct 25, 2023
1 parent eb5b4a5 commit 175e6c8
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion vars/runGradleCheck.groovy
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,8 @@ void call(Map args = [:]) {
if command -v docker > /dev/null; then
echo "Check existing dockercontainer"
docker ps -a
docker_rm_list=`docker ps -qa | grep -v "gradle-check-jenkins-$BUILD_NUMBER"`
docker_gradlecheck_id=`docker ps -a --filter name=gradle-check-jenkins-$BUILD_NUMBER`
docker_rm_list=`docker ps -qa | grep -v \$docker_gradlecheck_id`
echo \$docker_rm_list
docker stop \$docker_rm_list > /dev/null 2>&1 || echo
docker rm --force \$docker_rm_list > /dev/null 2>&1 || echo
Expand Down

0 comments on commit 175e6c8

Please sign in to comment.