Uploaded image for project: 'OpenShift Pipelines'
  1. OpenShift Pipelines
  2. SRVKP-7901

opc results list command removed from new CLI

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Not a Bug
    • Icon: Critical Critical
    • Pipelines 1.19.0
    • Pipelines 1.19.0
    • OpenShift OPC
    • None
    • False
    • Hide

      None

      Show
      None
    • False
    • Release Note Not Required

      Description of problem:

      opc results list command removed from new CLI which was present earlier in 1.18

      Workaround
      Workaround is to use "opc results result list" command instead of "opc results list"

      opc results result list --insecure --addr ${RESULTS_API} test-results
      Name                                                       Start                                   Update
      test-results/results/ed537166-19b2-4fa2-b85e-66acf08178da  2025-06-20 12:38:35 +0530 IST           2025-06-20 13:38:28 +0530 IST
       

      Prerequisites (if any, like setup, operators/versions):

      Steps to Reproduce

      1. Install 1.19 pipelines operator
      2. Download 1.19 CLI
      3. Create a new namespace and trigger a pipelinerun/taskrun
      4. Fetch the results list using the opc results list command

      Actual results:

      **

      $ opc version
      OpenShift Pipelines Client: 1.19.0
      Tekton CLI: 0.41.0
      Pipelines as Code CLI: 0.35.1
      Tekton Results CLI: 0.15.0
      Manual Approval Gate CLI: 0.6.0
      
      $ opc results
      opc results [command]
      Available Commands:
        logs        [To be deprecated] Commands for finding and retrieving logs
        pipelinerun Query PipelineRuns
        records     [To be deprecated] Command sub-group for querying Records
        result      [To be deprecated] Query Results
        taskrun     Query TaskRuns
       

      Expected results:
      **

      $ opc results
      opc results [command]
      Available Commands:
        list        List Results
        logs        Commands for finding and retrieving logs
        records     Command sub-group for querying Records
      
      $ opc version
      OpenShift Pipelines Client: 1.18.0
      Tekton CLI: 0.40.0
      Pipelines as Code CLI: 0.33.0
      Tekton Results CLI: 0.14.0
      Manual Approval Gate CLI: 0.5.0
      
      $ opc results list --insecure --addr ${RESULTS_API} test-results
      
      test-results/results/ed537166-19b2-4fa2-b85e-66acf08178da  2025-06-20 12:38:35 +0530 IST           2025-06-20 13:38:28 +0530 IST
       

       

      Reproducibility (Always/Intermittent/Only Once):

      Acceptance criteria: 

       

      Definition of Done:

      Build Details:

      Additional info (Such as Logs, Screenshots, etc):

       

       *

              diagrawa Divyanshu Agrawal
              rh-ee-smanthin Sai Raju Manthina
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

                Created:
                Updated:
                Resolved: