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

Query on scheduled Build

    XMLWordPrintable

    Details

    • Similar Issues:

      Description

      I want to run a scheduled build as specific user.

      Currently, for Scheduled build we cant define a user. and we do not have information on who ran the build. Let me know if there is any option available to assign a user for scheduled build

        Attachments

          Activity

          Hide
          pingunaut Martin Spielmann added a comment -

          Hi Sagayaraj David,

          I'm not sure if I get the requirement correctly. If a build is started by scheduled build plugin, the behavior is basically the same like starting a build using the "Build now" button. This means that the user who scheduled the build should be logged in the first line of the console output:

          If this is not the case in your build, you are maybe able to get the user information manually by using https://wiki.jenkins.io/display/JENKINS/Build+User+Vars+Plugin

          What exactly do you mean by assigning another user? Running a job as another jenkins user? Or provide user credentials as a build parameter?

          Show
          pingunaut Martin Spielmann added a comment - Hi Sagayaraj David , I'm not sure if I get the requirement correctly. If a build is started by scheduled build plugin, the behavior is basically the same like starting a build using the "Build now" button. This means that the user who scheduled the build should be logged in the first line of the console output: If this is not the case in your build, you are maybe able to get the user information manually by using https://wiki.jenkins.io/display/JENKINS/Build+User+Vars+Plugin What exactly do you mean by assigning another user? Running a job as another jenkins user? Or provide user credentials as a build parameter?
          Hide
          pingunaut Martin Spielmann added a comment -

          Hi Sagayaraj David

          if no further feedback will be provided until the end of the month, i'll close this issue as incomplete. If your problem still persists, please comment.

          Show
          pingunaut Martin Spielmann added a comment - Hi Sagayaraj David if no further feedback will be provided until the end of the month, i'll close this issue as incomplete. If your problem still persists, please comment.
          Hide
          pingunaut Martin Spielmann added a comment -

          got no feedback

          Show
          pingunaut Martin Spielmann added a comment - got no feedback

            People

            Assignee:
            sagayd Sagayaraj David
            Reporter:
            sagayd Sagayaraj David
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: