Uploaded image for project: 'OpenShift Jenkins'
  1. OpenShift Jenkins
  2. JKNS-708

[Openshift Jenkins Client Plugin] Update maven binary url

XMLWordPrintable

    • Icon: Task Task
    • Resolution: Done
    • Icon: Normal Normal
    • None
    • 4.18
    • jenkins-client-plugin
    • None

      CI tests are failing due to the maven binary url has been changed recently. So to download maven binary, the correct URL needs to be updated in CI.

      Periodic CI test job are continuously failing for OpenShift Jenkins Client Plugin with the below error. These jobs are running twice a daily and report status on #forum-openshift-jenkins
       

      Writing manifest to image destination
      STEP 2/8: ENV "BUILD_LOGLEVEL"="0"
      STEP 3/8: WORKDIR /home/jenkins
      STEP 4/8: COPY . .
      STEP 5/8: USER 0
      STEP 6/8: RUN curl -L -o maven.tar.gz https://dlcdn.apache.org/maven/maven-3/3.8.8/binaries/apache-maven-3.8.8-bin.tar.gz && mkdir maven && tar -xvzf maven.tar.gz -C maven --strip-component 1 && cp -R maven /opt && ln -sf /opt/maven/bin/mvn /usr/bin/mvn && chmod -R 777 $HOME && mvn --version
        % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                       Dload  Upload   Total   Spent    Left  Speed
      
        0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0
      100   196  100   196    0     0    513      0 --:--:-- --:--:-- --:--:--   513
      
      gzip: stdin: not in gzip format
      tar: Child returned status 1
      tar: Error is not recoverable: exiting now
      error: build error: building at STEP "RUN curl -L -o maven.tar.gz https://dlcdn.apache.org/maven/maven-3/3.8.8/binaries/apache-maven-3.8.8-bin.tar.gz && mkdir maven && tar -xvzf maven.tar.gz -C maven --strip-component 1 && cp -R maven /opt && ln -sf /opt/maven/bin/mvn /usr/bin/mvn && chmod -R 777 $HOME && mvn --version": while running runtime: exit status 2

      https://storage.googleapis.com/test-platform-results/logs/periodic-ci-openshift-jenkins-client-plugin-master-e2e-aws-jenkins-client-plugin-continuous/1938387018249670656/build-log.txt 

              rhn-support-prdhamdh Prashant Dhamdhere
              rhn-support-prdhamdh Prashant Dhamdhere
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated:
                Resolved: