Jenkins account details

To establish a connection to Jenkins, you must add an account that defines the account details to connect with. You can define these details by creating a configuration object in the App Connect Dashboard, the Red Hat® OpenShift® web console or CLI, or the Kubernetes CLI.

Account parameters

You can define one or more accounts for Jenkins.

For each account that you require, you can specify a new set of account details in any of the following ways:

  • If you are using the App Connect Dashboard, either complete the Account details fields in the Create configuration panel, or specify the account parameters in an accounts.yaml file before importing it into the Create configuration panel. For more information, see Accounts type.
  • If you are using the Red Hat OpenShift web console or CLI, or the Kubernetes CLI, specify the account parameters in an accounts.yaml file, and then use this configuration file to create a configuration object. For more information, see Creating the file for a configuration object of type Accounts.

The set of required and optional Account fields or parameters are listed in the following table.

Field Parameter Values Condition Description

Account name

name

User defined

Required

The name of a Jenkins account that is used in the exported flow.

Username

User defined

Required

The username for the Jenkins account.

Password

User defined

Required

The password that is associated with the specified username.

Application URL

User defined

Required

The application URL of the Jenkins instance in the format https://hostname (for example, https://123.25.132.75).

Example

Remember: An accounts.yaml file that defines one or more accounts must always begin with the following line:
accounts:

  jenkins:
    - name: Account 1
      credentials:
        username: user
        password: Abcdefgh123
      endpoint:
        endpointUrl: 'https://123.25.132.75'