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

Mail Commander: what are the Commands to build a war using subject in mail.

XMLWordPrintable

      I send the mail with the subject :

      build JOB_NAME

      The mail was triggered and build starts but at the end i received the following logs. What's that mean please help.

      "BUILD SUCCESSFUL
      Total time: 39 seconds
      No such job 'payhubvt'
      java -jar jenkins-cli.jar build args...
      Starts a build, and optionally waits for a completion.
      Aside from general scripting use, this command can be
      used to invoke another job from within a build of one job.
      With the -s option, this command changes the exit code based on
      the outcome of the build (exit code 0 indicates a success.)
      With the -c option, a build will only run if there has been
      an SCM change
      JOB : Name of the job to build
      -c : Check for SCM changes before starting the build, and if
      there's no change, exit without doing a build
      -p : Specify the build parameters in the key=value format.
      -r VAL : Number of times to retry reading of the output log if it
      does not exists on first attempt. Defaults to 0. Use
      with -v.
      -s : Wait until the completion/abortion of the command
      -v : Prints out the console output of the build. Use with -s
      -w : Wait until the start of the command
      --username VAL : User name to authenticate yourself to Jenkins
      --password VAL : Password for authentication. Note that passing a
      password in arguments is insecure.
      --password-file VAL : File that contains the password
      Build step 'Mail Commander' marked build as failure
      Finished: FAILURE"

      Suggest me on this....ASAP.

            Unassigned Unassigned
            dneema Deepal Neema
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated: