Description
Looking at the Jenkins build logs and also in my local build output, the 'local' Nexus functionality seems broken. Most of the time, it will not download any artifacts from the local mirror.
What I tested (local):
# (re)create volume and network docker volume rm nexus-data docker volume create --name nexus-data docker network create bigtopNetwork # run nexus docker run -d -p 8081:8081 --network bigtopNetwork --name nexus -v nexus-data:/sonatype-work sonatype/nexus:oss # run build: docker run --network bigtopNetwork --rm -v `pwd`:/ws --workdir /ws bigtop/slaves:trunk-centos-7 bash -l -c './gradlew -PNEXUS_URL=http://nexus:8081/nexus configure-nexus ambari-clean ambari-pkg yum'