Skip to content

Commit 10e8f38

Browse files
committedFeb 10, 2025··
Bot Updating Templated Files
1 parent 375734e commit 10e8f38

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed
 

‎Jenkinsfile

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,9 @@ pipeline {
7272
fi
7373
done
7474
fi
75-
docker system prune -f --volumes || : '''
75+
docker system prune -f --volumes || :
76+
docker image prune -af || :
77+
'''
7678
script{
7779
env.EXIT_STATUS = ''
7880
env.LS_RELEASE = sh(
@@ -691,7 +693,8 @@ pipeline {
691693
if [[ -n "${containers}" ]]; then
692694
docker stop ${containers}
693695
fi
694-
docker system prune -af --volumes || :
696+
docker system prune -f --volumes || :
697+
docker image prune -af || :
695698
'''
696699
}
697700
}
@@ -1117,6 +1120,7 @@ EOF
11171120
done
11181121
fi
11191122
docker system prune -f --volumes || :
1123+
docker image prune -af || :
11201124
'''
11211125
cleanWs()
11221126
}

0 commit comments

Comments
 (0)
Please sign in to comment.