Skip to content

Commit 990bb20

Browse files
Bot Updating Templated Files
1 parent 72383b5 commit 990bb20

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
@@ -73,7 +73,9 @@ pipeline {
7373
fi
7474
done
7575
fi
76-
docker system prune -f --volumes || : '''
76+
docker system prune -f --volumes || :
77+
docker image prune -af || :
78+
'''
7779
script{
7880
env.EXIT_STATUS = ''
7981
env.LS_RELEASE = sh(
@@ -761,7 +763,8 @@ pipeline {
761763
if [[ -n "${containers}" ]]; then
762764
docker stop ${containers}
763765
fi
764-
docker system prune -af --volumes || :
766+
docker system prune -f --volumes || :
767+
docker image prune -af || :
765768
'''
766769
}
767770
}
@@ -1187,6 +1190,7 @@ EOF
11871190
done
11881191
fi
11891192
docker system prune -f --volumes || :
1193+
docker image prune -af || :
11901194
'''
11911195
cleanWs()
11921196
}

0 commit comments

Comments
 (0)