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

Query on scheduled Build

    XMLWordPrintable

Details

    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

          Hi sagayd,

          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?

          pingunaut Martin Spielmann added a comment - Hi sagayd , 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?

          Hi sagayd

          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.

          pingunaut Martin Spielmann added a comment - Hi sagayd 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.

          got no feedback

          pingunaut Martin Spielmann added a comment - got no feedback

          People

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

            Dates

              Created:
              Updated:
              Resolved: