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

cov-build command sends unnecessary "/bin/sh -xe" arguments to make

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Cannot Reproduce
    • Icon: Minor Minor
    • coverity-plugin
    • Jenkins 1.602
      Java 1.7.0_45
      64-bit Linux
      Plugin 1.5.0
      Coverity 7.0.3

      Hi,

      We're trying to transition from using a script-based approach for our Coverity Jenkins runs to using this plugin. The configuration seems to have gone just fine, but we're hitting an odd issue while trying to run cov-build via the plugin. Our expected command is "cov-build --dir tmpcovdir make -j9" and this is what we use in our script. However, when trying to use the plugin, we're instead receiving

      [Debug] $ cov-build --dir tmpcovdir make -j9 /bin/sh -xe /tmp/hudson4726174545579174700.sh

      I'm not sure where this extra "/bin/sh -xe <path_to_.sh_file>" is coming from, but it also appears if we uncheck the "Perform Coverity build, analysis and commit" option in our job's configuration:

      [Debug] $ /bin/sh -xe /tmp/hudson6272315025342237369.sh

      Any help would be greatly appreciated - I can't seem to find anything about where this debug statement is coming from, and it completely throws off our makefile.

            kdang Ken Dang
            acdevlin Alex Devlin
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: