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

Transcribe Jenkinsfile to Tekton

XMLWordPrintable

    • False
    • Hide

      None

      Show
      None
    • False

      Goals

      To accelerate migration from legacy CI solutions and lower the adoption barrier for new users by addressing a key adoption challenge. This feature will provide an AI-driven tool that analyzes a user's existing Jenkinsfile and automatically transcribes it into a functional Tekton pipeline, generating the required YAML files.

      Requirements

      Requirements Notes IS MVP
      User can provide an existing Jenkinsfile as input. The system needs to ingest the raw Jenkins Groovy file. Yes
      The system uses Generative AI to analyze the Jenkinsfile. This is the core AI-driven action. Yes
      The system generates functional, syntactically valid Tekton pipeline YAML files as output. The output must be usable Tekton resources. Yes
      The generated YAML is presented to the user for review and modification. The output is a starting point, not a final, guaranteed product. Yes
      The feature is accessible via a dedicated CLI tool or extension. Provides a path for local development and automation. Yes
      The feature is accessible via the Console as part of an import wizard. Provides a user-friendly, UI-based path for onboarding. Yes

      Out of scope

      • Fine-Tuned LLM model
      • Providing domain-specific docs for a RAG (Retrieval Augmented Generation) system specifically for this feature. (Note: The general OLS RAG may be used, drawing from Jenkins Groovy files ).
      • Guaranteed 100% accurate transcription for all complex Jenkinsfile variations and plugins. The output is a "best-effort" starting point.
      • Direct execution of the generated pipeline without user review.

      Dependencies

      • OpenShift LightSpeed: Required as the underlying AI platform.
      • LLM Access: OpenShift LightSpeed must be enabled with a connection to an LLM capable of understanding Jenkins Groovy and generating Tekton YAML.
      • OpenShift Webconsole UX Design: Required for the "import wizard" requirement (post-MVP).

      Assumptions

      Considerations

      • The connected LLM is capable of producing functional OpenShift Pipelines YAML snippets from Jenkins Groovy syntax.
      • OpenShift LightSpeed is enabled with a connection to a LLM.
      • Users have access to their existing Jenkinsfile to use as input for the tool.

      Customer Considerations

      • Users must be advised that the generated Tekton YAML is an AI-generated starting point and will likely require manual review, testing, and adjustment, especially for complex pipelines or those using specialized Jenkins plugins.
      • The quality of the transcription will depend on the complexity and patterns used in the source Jenkinsfile.

      Done Checklist

      • Requirements are met
      • Non-functional properties of the Feature have been validated (such as performance, resource, UX, security or privacy aspects)
      • User Journey automation is delivered
      • Support and SRE teams are provided with enough skills to support the feature in production environment

              rh-ee-csalinas Carlos Salinas Gancedo
              rh-ee-anataraj Anitha Natarajan
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Created:
                Updated: