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

Determine how a job was started

XMLWordPrintable

    • Icon: Improvement Improvement
    • Resolution: Postponed
    • Icon: Minor Minor
    • multijob-plugin
    • None

      Any Jenkins job should be able to determine how it was started. Among the possible methods is (1) directly started by a user, (2), started by another job (chaining jobs), and (3) started by a job management plugin like the multijob plugin.

      Presently, the only way I've found to determine this information is to parse the log file and inspect the line starting "started by". This does not seem to be a proper method (though it works, thus far, for me). Finding the correct log file is a tricky process.

      By a proper method, I mean one which is documented and which a user can rely on to continue through future updates. It should not require filesystem actions (like "ls -r").

            Unassigned Unassigned
            daveclose Dave Close
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: