Jenkins CLI is not reporting a failure error code when builds fail

This issue is archived. You can view it, but you can't modify it. Learn more

XMLWordPrintable

    • Type: Bug
    • Resolution: Unresolved
    • Priority: Major
    • Component/s: cli
    • Environment:
      Windows Server 2003,
      Java Version 1.6.0_29,
      Jenkins and Jenkins-CLI 1.442

      Jenkins CLI is not reporting a failure error code when builds fail.

      This is a problem when you call one build from another in the command line. In console output you see

      Stuff happens...
      C:\JenkinsNew\jobs\project1\workspace>java -jar "C:\JenkinsNew\jenkins-cli.jar" -s "http://jenkins:80" build "project2" -s
      Completed project2 #27 : FAILURE
      Stuff happens...

      Then the build is passed, and erroneous emails are sent.

            Assignee:
            Kohsuke Kawaguchi
            Reporter:
            mark lemay
            Archiver:
            Jenkins Service Account

              Created:
              Updated:
              Archived: