Package hudson.cli

Class SetExternalBuildResultCommand

    • Field Detail

      • displayName

        public transient String displayName
      • result

        public transient int result
      • duration

        public transient long duration
      • dumpBuildNumber

        public boolean dumpBuildNumber
    • Constructor Detail

      • SetExternalBuildResultCommand

        public SetExternalBuildResultCommand()
    • Method Detail

      • run

        protected int run()
                   throws Exception
        Entry point to the SetExternalBuildResultCommand command.

        Schedule an external build, put passed build result. If log is '-' then gzipped stream is expected on stdin, otherwise it is raw string (not BASE64 encoded). If -dump-build-number is set, the new created build number dumped to the stdout

        Specified by:
        run in class CLICommand
        Returns:
        0: success.
        Throws:
        Exception