Uploaded image for project: 'Bigtop'
  1. Bigtop
  2. BIGTOP-3644 Improve dowload artifact resilency in Gradle/Maven/etc..
  3. BIGTOP-3649

Nexus local mirror functionality doesn't work in CI build

    XMLWordPrintableJSON

Details

    • Sub-task
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • None
    • 3.1.0, 3.0.1
    • None
    • None

    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'
      

       

       

       

       

       

      Attachments

        Activity

          People

            cheelio Michiel Verheul
            cheelio Michiel Verheul
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Time Tracking

                Estimated:
                Original Estimate - Not Specified
                Not Specified
                Remaining:
                Remaining Estimate - 0h
                0h
                Logged:
                Time Spent - 5h 40m
                5h 40m