Uploaded image for project: 'Jenkins'
  1. Jenkins
  2. JENKINS-27970

Issue with docker-build-publish-plugin --- build failed, but success is reported

XMLWordPrintable

      One of my docker application failed to install in docker and due to that the build failed. But the jenkins job continued to run and reported success.

      Attachments:
      1. Error logs
      2. Dockerfile
      3. Jenkins job config

      When I run docker build from command line, it returns as below, which is same as that in the jenkins console log.
      ==================
      extconf failed, exit code 1

      Gem files will remain installed in /usr/local/lib/ruby/gems/2.2.0/gems/snappy-0.0.11 for inspection.
      Results logged to /usr/local/lib/ruby/gems/2.2.0/extensions/x86_64-linux/2.2.0-static/snappy-0.0.11/gem_make.out
      INFO[0316] The command [/bin/sh -c buildDeps=' autoconf bison gcc libbz2-dev libgdbm-dev libglib2.0-dev libncurses-dev libreadline-dev libxml2-dev libxslt-dev make g++ '; set -x && apt-get update && apt-get install -y --no-install-recommends $buildDeps nodejs npm && gem install franz --no-rdoc --no-ri && apt-get purge -y --auto-remove $buildDeps && apt-get clean -y && rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/*] returned a non-zero code: 1
      ==================

            csanchez Carlos Sanchez
            mgireesh05 Gireesh Kumar
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: