Skip to content

Commit df52d09

Browse files
Bot Updating Templated Files
1 parent 86113a9 commit df52d09

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
@@ -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(
@@ -755,7 +757,8 @@ pipeline {
755757
if [[ -n "${containers}" ]]; then
756758
docker stop ${containers}
757759
fi
758-
docker system prune -af --volumes || :
760+
docker system prune -f --volumes || :
761+
docker image prune -af || :
759762
'''
760763
}
761764
}
@@ -1181,6 +1184,7 @@ EOF
11811184
done
11821185
fi
11831186
docker system prune -f --volumes || :
1187+
docker image prune -af || :
11841188
'''
11851189
cleanWs()
11861190
}

0 commit comments

Comments
 (0)