fix: refs #6695 try parallel
gitea/salix-front/pipeline/pr-dev There was a failure building this commit
Details
gitea/salix-front/pipeline/pr-dev There was a failure building this commit
Details
This commit is contained in:
parent
81ad9402ee
commit
d8ff52411f
|
@ -177,8 +177,13 @@ def cleanDockerE2E() {
|
|||
sh """
|
||||
docker ps -a --format '{{.Names}}' | grep '${env.NETWORK}' | xargs -r docker-compose -p ${env.NETWORK} -f docker-compose.e2e.yml down --volumes
|
||||
"""
|
||||
|
||||
sh "docker network rm ${env.NETWORK} || true"
|
||||
def networks = sh(script: "docker network ls --filter name=${env.NETWORK} -q", returnStdout: true).trim()
|
||||
if (networks) {
|
||||
sh "docker network rm ${networks}"
|
||||
echo "${networks}"
|
||||
} else {
|
||||
echo "No se encontraron redes para eliminar."
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue