Uploaded image for project: 'Modules'
  1. Modules
  2. MODULES-8749

Sqlserver : Make job_name param on start jobs task required

    XMLWordPrintable

    Details

    • Template:
      MODULES Bug Template
    • Acceptance Criteria:
      Hide

      Invoking this task without passing the job_name parameter should result in Bolt telling you that this parameter is required before the powershell executes. This should prevent the task hanging the commandline.

      Show
      Invoking this task without passing the job_name parameter should result in Bolt telling you that this parameter is required before the powershell executes. This should prevent the task hanging the commandline.
    • Team:
      Windows
    • Sprint:
      Windows 2019-03-20
    • Method Found:
      Needs Assessment
    • QA Risk Assessment:
      Needs Assessment

      Description

      Currently the start_sql_agent_job.json specifies the job_name parameter as optional. This should be a required parameter. In the powershell code that runs the job the parameter is already required. This will cause the task to hang if it is called without passing this parameter.

      This ticket should also remove a conditional check to see if the job_name parameter has been passed, as for this particular task the job_name will always be passed into the script, and the else block contains logic that would be a problem if it ever ran.

        Attachments

          Activity

            People

            Assignee:
            Unassigned Unassigned
            Reporter:
            william.hurt William Hurt
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:

                Zendesk Support