After logging into the Jenkins web console, we’re ready to add our
eksworkshop-app repository. Start by selecting
New Item in the menu on the left side.
Set the name of the item to
codecommit and select the
AWS Code commit item type.
In your Cloud9 workspace, execute the following commands to get your Git username and password.
echo $GIT_USERNAME echo $GIT_PASSWORD
Back to Jenkins. In the Projects section, to the right of
Code Commit Credentials, select
Password to the corresponding values from the previous command and click
Confirm your current AWS Region.
Copy that value to the
URL field under project and select your use from the Code Commit Credentials DropDown menu.
Save at the bottom left of the screen. Jenkins will begin executing the pipelines in repositories and branches that contain a