Skip to content

Commit 662d9d1

Browse files
Bot Updating Templated Files
1 parent 243af40 commit 662d9d1

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
@@ -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(
@@ -749,7 +751,8 @@ pipeline {
749751
if [[ -n "${containers}" ]]; then
750752
docker stop ${containers}
751753
fi
752-
docker system prune -af --volumes || :
754+
docker system prune -f --volumes || :
755+
docker image prune -af || :
753756
'''
754757
}
755758
}
@@ -1175,6 +1178,7 @@ EOF
11751178
done
11761179
fi
11771180
docker system prune -f --volumes || :
1181+
docker image prune -af || :
11781182
'''
11791183
cleanWs()
11801184
}

0 commit comments

Comments
 (0)