Skip to content
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Commit 462be1b

Browse files
committedFeb 15, 2025··
Bot Updating Templated Files
1 parent 350dd60 commit 462be1b

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed
 

‎Jenkinsfile

+6-2
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,9 @@ pipeline {
7070
fi
7171
done
7272
fi
73-
docker system prune -f --volumes || : '''
73+
docker system prune -f --volumes || :
74+
docker image prune -af || :
75+
'''
7476
script{
7577
env.EXIT_STATUS = ''
7678
env.LS_RELEASE = sh(
@@ -751,7 +753,8 @@ pipeline {
751753
if [[ -n "${containers}" ]]; then
752754
docker stop ${containers}
753755
fi
754-
docker system prune -af --volumes || :
756+
docker system prune -f --volumes || :
757+
docker image prune -af || :
755758
'''
756759
}
757760
}
@@ -1177,6 +1180,7 @@ EOF
11771180
done
11781181
fi
11791182
docker system prune -f --volumes || :
1183+
docker image prune -af || :
11801184
'''
11811185
cleanWs()
11821186
}

0 commit comments

Comments
 (0)
Please sign in to comment.