DevOps Pipeline UI

  • Release version: Washingtondc
  • Updated August 1, 2024
  • 4 minutes to read
  • Summarize
    Summarized using AI
    This content was generated using new OpenAI-powered functionality. Results are provided on an as is basis and are not guaranteed to be accurate or complete.

    Summary of DevOps Pipeline UI

    The Pipeline UI in ServiceNow allows customers to visualize and manage interactions within their DevOps pipeline executions. This graphical interface provides insights into pipeline progression, change requests, commits, and other critical details, facilitating quicker decision-making and enhanced visibility of the entire DevOps process.

    Show full answer Show less

    Key Features

    • Real-time visualization of pipeline states reflecting Azure DevOps.
    • Integration with ServiceNow Change Management, displaying details like commits and committers in one location.
    • Displays parallel stages and all attempts for any rerun or restarted job.
    • Customizable view settings for software quality and security results, allowing users to modify displayed columns as per their needs.
    • Direct access to change request records and detailed execution history for better tracking.
    • Status indicators for pipeline steps: Green for successful, Grey for not yet run, Yellow for waiting, and Red for failed.
    • Ability to configure properties, such as enabling change request cancellation upon step failure.

    Key Outcomes

    By utilizing the Pipeline UI, ServiceNow customers can expect improved oversight of their DevOps processes, leading to more efficient change management. The detailed views and real-time updates empower teams to make informed decisions quickly and respond effectively to any issues, ultimately enhancing the overall quality and speed of their software delivery. Additionally, customization options allow teams to tailor their views to better meet their operational needs.

    Use the Pipeline UI to visualize interactions and results across a pipeline execution. This graphical view shows pipeline step progression and other details for each pipeline.

    From DevOps, get a quick view of how everything is connected to see exactly what is happening with the pipeline and when. From the ServiceNow Change Management application, you can access the Pipeline UI and quickly see the commits, the committers, and other details for the change request in one place.

    The Pipeline UI displays parallel stages as modeled in Azure DevOps release pipelines. The pipeline UI displays the real-time state of the pipeline as it appears in Azure DevOps. The associated artifact details sourced from the build pipeline, Test Results, Software Quality Summary Results also display on the pipeline UI. For more information, see Parallel stages in Azure DevOps release pipelines.

    The Pipeline UI shows all attempts of any stage or job that has been rerun or restarted. For more information, see Restarting failed build or release pipeline jobs and stages.

    The Pipeline UI shows the pipeline steps that ran instead of the steps configured in DevOps.

    You can access the Pipeline UI using the related link from within certain DevOps forms, and also from a DevOps change request form:
    • DevOps Pipeline form
    • DevOps Pipeline Execution form
    • Change Request form created by DevOps
    Note:
    You must reload the view to update the status buttons in the pipeline execution History.
    Table 1. Step run states (task execution status)
    Green

    Successful.

    All step executions associated to the pipeline execution passed.

    Grey Not yet run.
    Yellow

    Waiting (pending, building, validating).

    At least one step execution is waiting.

    Red

    Failed.

    At least one step execution failed.

    Task execution end date is populated even when the change is rejected.

    Note:
    To enable the canceling of the change request associated with the step when the step fails, you must set the sn_devops.cancel_change_on_pipeline_cancel property to Yes. For more information, see Properties installed with DevOps.
    Note:
    The order the cards appear in the Pipeline UI is determined by the Order field in each pipeline step when you modeled your pipeline in DevOps. Skipped stages are not shown.

    The order the cards appear in the Pipeline UI by task execution.

    DevOpsPipelineUI
    UI feature Description
    Pipeline steps
    Timing.
    • Start
    • Last run
    • Duration for each step

      When the downstream task execution starts immediately after the upstream task execution, the duration is 0 seconds.

    • Wait times in between task executions.

      Wait time is calculated as:

      Start time of the task execution minus the end time of the upstream task execution.

    View change request

    Change request record.

    Click directly into the change request of the step that was created by DevOps to view details of the change and take action.

    Note:
    • The change request record for the associated with the latest task execution displays.
    • Commits reverted in the same pipeline execution are not shown in the commit list.
    Pipeline history

    Pipeline Execution.

    Click a history tile to view the previous step details for a pipeline execution.

    Note:
    Pipeline history is displayed for only the most recent 20 pipeline executions.
    View all attempts All attempts that the job has run in a step.

    Click the link in the relevant step to view all attempt details.

    Artifacts
    • Artifact versions
      • Work items
      • Commits
      • Packages
    • Commits
    • Work items
    Note:
    Commits reverted in the same pipeline execution are not shown in the commit list.
    Test Results View the build test results to see what tests passed or failed.
    The quality card contains test summaries:
    • Test type and test category in the format:

      test type/test category

    • Native ID of the step
    • Test pass percentage (unit and functional tests only)
    • Throughput (performance tests only)
    • Step name
    Software Quality Results

    View all the software quality (SonarQube scan) results grouped by project name that were fetched as part of the selected pipeline. You can view the scan results for all categories in a pipeline execution step.

    You can customize the results that are displayed in the Pipeline UI by configuring the columns in the Software quality categories shown by default in the Pipeline UI view (DevOps > Administration > Properties > DevOps Properties Category > ) property in a comma separated format.

    • Click the gear icon to modify the column view in the pipeline UI.
    • Click the step execution record to view the corresponding Software Quality Scan Summary record.
    • Click the Vulnerabilities count record to view the Software Quality Scan Detail record and the corresponding sub category details.
    Security Results

    View all the security results that were retrieved as part of the selected pipeline. You can view the scan results for all categories in a pipeline execution step.

    You can customize the results that are displayed in the Pipeline UI.

    • Click the gear icon to modify the view in the pipeline UI.
    • Click the step execution record to view the corresponding Security scan summary record.
    • Click the Detected flaws count record to view the Security scan details.
    Note:
    When you reattempt running a stage or a pipeline job in Azure DevOps, which contains a test or a software quality scan, the results get appended with the attempt number.

    Click directly into DevOps change requests, step executions, artifacts, artifact versions, work items, test summaries, and reattempts in flyout windows.

    Figure 1. Pipeline UI — Artifact version flyout
    DevOpsPipelineUILink
    Figure 2. Pipeline UI - Reuse change request - Step execution flyout
    DevOps Reuse Change request flyout
    Figure 3. Azure DevOps - Pipeline UI with parallel stages
    Pipeline UI with parallel stages- Azure DevOps