Skip to content

Commit d9ebf6c

Browse files
Bot Updating Templated Files
1 parent 45c29e1 commit d9ebf6c

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
@@ -71,7 +71,9 @@ pipeline {
7171
fi
7272
done
7373
fi
74-
docker system prune -f --volumes || : '''
74+
docker system prune -f --volumes || :
75+
docker image prune -af || :
76+
'''
7577
script{
7678
env.EXIT_STATUS = ''
7779
env.LS_RELEASE = sh(
@@ -759,7 +761,8 @@ pipeline {
759761
if [[ -n "${containers}" ]]; then
760762
docker stop ${containers}
761763
fi
762-
docker system prune -af --volumes || :
764+
docker system prune -f --volumes || :
765+
docker image prune -af || :
763766
'''
764767
}
765768
}
@@ -1185,6 +1188,7 @@ EOF
11851188
done
11861189
fi
11871190
docker system prune -f --volumes || :
1191+
docker image prune -af || :
11881192
'''
11891193
cleanWs()
11901194
}

0 commit comments

Comments
 (0)