Configuring Jenkins connections
Jenkins connections use basic authentication. You store the credential in Secrets Manager and reference that secret when you create the connection in AWS Glue Studio.
To configure a Jenkins connection:
Obtain your Jenkins API credential (see the Jenkins API documentation on the Jenkins website).
In Secrets Manager, create a secret containing your Jenkins credential with the keys
USERNAMEandPASSWORD. The key names must be in uppercase exactly as shown.In the AWS Glue Studio console, choose Connections under Data Catalog, then choose Create connection.
Search for and choose Jenkins as the data source.
For credentials, choose the Secrets Manager secret you created, select the IAM role that AWS Glue can assume to read the secret, optionally set network options, and complete the connection creation.
Grant the IAM role associated with your AWS Glue job permission to read the secret.