Configure Connection Details of DevOps CI/CD Pipeline Tool

DevOps CI/CD pipeline tools are software tools and platforms that facilitate the implementation and management of Continuous Integration (CI) and Continuous Deployment (CD) practices within DevOps workflows. These tools are designed to automate and streamline the process of building, testing, and deploying software applications, enabling teams to deliver high-quality software more efficiently and reliably. They offer a range of features and functionalities such as source code management, build automation, testing and quality assurance, deployment automation, continuous monitoring, and orchestration and workflow management, among others.

Jenkins

Currently, the Lazsa Platform supports Jenkins in the DevOps CI/CD Pipeline Configuration category. Before you configure the connection details of your Jenkins account in the Lazsa Platform, ensure that you have completed the following prerequisites:

To automate the continuous building, testing, and deployment of your apps through Jenkins from within the Lazsa Platform, you must provide the connection details of your active Jenkins user account as explained in the following steps:

  1. Sign in to the Lazsa Platform and click Configuration in the left navigation pane.
  2. On the Platform Setup screen, on the Cloud Platform, Tools & Technologies tile, click Configure.
  3. On the Cloud Platform, Tools & Technologies screen, in the DevOps CI/CD Pipeline Configuration section, click Configure.

    (After you save connection details for at least one Jenkins user account, you see the Modify button here.)

    Configure connection details of DevOps CICD automation tools

  4. On the DevOps CI/CD Pipeline Configuration screen, click the Jenkins tile to configure the connection details of your active Jenkins user account.
  5. To save the connection properties of your Jenkins account, provide the following details:
    1. Configuration Name: Give a local name to your configuration. Your Jenkins server connection details are saved by this name in the Lazsa Platform.

    2. Jenkins URL: Provide your Jenkins server URL.

    3. Depending on how you want your Jenkins credentials to be managed, do one of the following:

      • Connect using Lazsa Orchestrator Agent:

        Turn on this toggle to use Lazsa Orchestrator Agent to programmatically resolve the Jenkins credentials stored in your secrets management tool within your private network and to establish communication with the Jenkins instance.

        In the Lazsa Orchestrator Agent dropdown list, all your configured agents are displayed. Select the one you want to use to connect to your Jenkins instance.

        The secrets management tool that the selected Orchestrator Agent is authorized to access for retrieving secrets is auto-selected. Specify the details of Jenkins secrets that the agent should retrieve from the secrets management tool. Currently, we support AWS Secrets Manager and Azure Key Vault.

        For AWS Secrets Manager, provide the secret name, username key, and password or token key for your Jenkins account credentials.

        Enter details of secrets forJenkins credentials stored in AWS Secrets Manager

        For Azure Key Vault, provide the vault name, username secret, and password or token secret for your Jenkins account credentials.

        Enter details of secrets forJenkins credentials stored in Azure Key Vault

      • Select Secret Manager

        If you don't use the Lazsa Orchestrator Agent, you can directly provide your Jenkins username and password or authentication token in the configuration, or retrieve it programmatically from a secrets management tool of your choice (such as AWS Secrets Manager or Azure Key Vault). Do one of the following:

        • Select Lazsa and type your Jenkins account username and password or API token. In this case, your Jenkins user credentials are securely stored in the Lazsa-managed secrets store.
        • Select AWS Secrets Manager. In the Secrets Management Tool dropdown list, the AWS Secrets Manager configurations that you save and activate in the Secret Management section on the Cloud Platform, Tools & Technologies screen are listed for selection. Select your desired secrets management tool configuration. Provide the secret name, username key, and the password or token key for the Lazsa Platform to retrieve the secrets for your Jenkins account.
        • Select Azure Key Vault. In the Secrets Management Tool dropdown list, the Azure Key Vault configurations that you save and activate in the Secret Management section on the Cloud Platform, Tools & Technologies screen are listed for selection. Select your desired secrets management tool configuration. Provide the vault name, username secret, and password or token secret for the Lazsa Platform to retrieve the credential values.
    4. Add Jenkins jobs to run from Lazsa

      You can trigger your existing Jenkins job builds, pass parameters, and retrieve job status and results from within the Lazsa Platform. Simply turn on the Add Jenkins jobs to run from Lazsa toggle and add your Jenkins job details and the required parameters in this section. You can then run your configured Jenkins jobs from the Deploy phase of your product development cycle.

      To make your Jenkins job management easier and for reusability, you can store the values of your job parameters in the Lazsa Platform. However, if you mark a parameter as sensitive, its value is not stored in the platform. You must enter the values of sensitive parameters when you trigger a job from the Deploy phase.

      Store Jenkins job parameters in Lazsa Platform

    5. Secure configuration details with a password
      To password-protect your Jenkins account connection details, enable the Secure configuration details with a password option, enter a password, and then retype it to confirm.

      This is optional but recommended. When you share the connection details with multiple users, password protection helps you ensure authorized access to the connection details.

    6. Test Connection
      Click Test Connection to check if you can connect to the configured Jenkins server successfully.

    7. After you save and activate the configured connection details, you can see your saved configuration listed in the DevOps CI/CD Pipeline Configuration section on the Cloud Platform, Tools & Technologies screen.

With this, your Jenkins connection details are successfully configured in the Lazsa Platform. Now, you may want to configure the connection details of other tools involved in your PDLC.

Related Topics Link IconRecommended Topics What's next? Configure Kubernetes Cluster Connection Details