I'm trying to integrate Jenkins with AWS CodeCommit. My jenkins is running on an ec2 instance with ubuntu 14.04.
The problem is, that sudo -u jenkins aws configure isn't executed because the jenkins user has no permissions.
What would you do?
Hey @Vishal, Follow these steps:
Create an ssh key on the Jenkins EC2 instance (/var/lib/jenkins/.ssh/id_rsa)
ssh-keygen -b 2048 -t rsa -f /var/lib/jenkins/.ssh/id-rsa -a -N
Upload the public key to an IAM user (IAM user must have CodeCommit access)
aws iam upload-ssh-public-key --user-name <username> --ssh-public-key-body file:///var/lib/jenkins/.ssh/id_rsa.pub
Collect the SSHPublicKeyID when you upload the key
"SSHPublicKeyBody": "ssh-rsa <rsa-key> <host>\n",
Create/modify SSH config file
Where the ****** is the value of the Key ID retrieved in step 3
I'm trying to integrate Jenkins with AWS ...READ MORE
Now, there is no official servicenow support ...READ MORE
Check if you can connect to tfs ...READ MORE
Hey @Ali, follow these steps to integrate ...READ MORE
Hey @nmentityvibes, you seem to be using ...READ MORE
It can work if you try to put ...READ MORE
To solve this problem, I followed advice ...READ MORE
Consider this - In 'extended' Git-Flow, (Git-Multi-Flow, ...READ MORE
Hey @Jithin, you could use something like ...READ MORE
Yes, you can! try something like this:
node ...READ MORE
Already have an account? Sign in.