INNER CODE UNIT · Java

waited

spring-petclinic/spring-petclinic-microservices · scripts/run_all.sh:59

    waited=$((waited + 2))
  done
}

# Fail before touching anything if the project has not been built
for module in "${APP_MODULES[@]}"; do
  if [[ -z "$(find_jar "spring-petclinic-${module}")" ]]; then
    echo "Error: no jar found in spring-petclinic-${module}/target. Build the project first: ./mvnw clean install -DskipTests" >&2
    exit 1
  fi
done

pkill -9 -f spring-petclinic || echo "Failed to kill any apps"

# Containers have fixed names (container_name in docker-compose.yml): remove them, including
# stopped ones or ones created from another compose project/directory, to avoid name conflicts.
docker compose down --remove-orphans || echo "No docker containers are running"
docker rm --force "${INFRA_SERVICES[@]}" > /dev/null 2>&1 || true

View source record →

📰 Research Paper
Loading…
⏳ Fetching content…