Uploaded image for project: 'Nuxeo ECM Build/Test Environment'
  1. Nuxeo ECM Build/Test Environment
  2. NXBT-1438

Avoid upload of package if build fails

    XMLWordPrintable

    Details

      Description

      The job at https://qa.nuxeo.org/jenkins/job/master/job/addons_FT_nuxeo-signature-master using template https://qa.nuxeo.org/jenkins/job/template_marketplace/ shows that upload of the package is sent to connect even if build fails, see attached logs

      Failed to transfer Could not find metadata org.nuxeo.marketplace.signature:parent:2.5.3-SNAPSHOT/maven-metadata.xml in internal-snapshots-mirror (http://mavenin.nuxeo.com/nexus/content/groups/internal-snapshots)
      Failed to transfer Could not find artifact org.nuxeo.marketplace.signature:parent:pom:2.5.3-SNAPSHOT in internal-snapshots-mirror (http://mavenin.nuxeo.com/nexus/content/groups/internal-snapshots)
      Downloaded artifact http://maven.nuxeo.org/nexus/content/groups/public-snapshot/org/nuxeo/nuxeo-addons-core-parent/9.1-SNAPSHOT/maven-metadata.xml
      Downloaded artifact http://mavenin.nuxeo.com/nexus/content/groups/internal-snapshots/org/nuxeo/nuxeo-addons-core-parent/9.1-SNAPSHOT/maven-metadata.xml
      [addons_FT_nuxeo-signature-master] $ /bin/bash -xe /tmp/hudson8119262833452146439.sh
      + for file in 'marketplace/target/marketplace-*-SNAPSHOT.zip'
      + [[ -e marketplace/target/marketplace-2.6.0-SNAPSHOT.zip ]]
      ++ ls marketplace/target/marketplace-2.6.0-SNAPSHOT.zip
      + curl -i -n -F package=@marketplace/target/marketplace-2.6.0-SNAPSHOT.zip 'https://connect.nuxeo.com/nuxeo/site/marketplace/upload?batch=true'
        % 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 1117k    0     0  100 1117k      0   934k  0:00:01  0:00:01 --:--:--  935k
      100 1117k    0     0  100 1117k      0   508k  0:00:02  0:00:02 --:--:--  509k
      100 1117k    0     0  100 1117k      0   349k  0:00:03  0:00:03 --:--:--  349k
      100 1117k    0     0  100 1117k      0   324k  0:00:03  0:00:03 --:--:--  324k
      HTTP/1.1 100 Continue
      
      HTTP/1.1 200 OK
      Content-Type: text/html;charset=UTF-8
      Date: Fri, 02 Dec 2016 09:04:26 GMT
      Server: Apache-Coyote/1.1
      Set-Cookie: JSESSIONID=68F34D088B029E1ED02E1F05B718A8FC.test1; Path=/nuxeo/; HttpOnly
      X-UA-Compatible: IE=10; IE=11
      Content-Length: 0
      Connection: keep-alive
      

        Attachments

          Issue Links

            Activity

              People

              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated: