How to get compute engine service account using gcloud command?

# gcloud iam service-accounts list –filter=”displayName:’Compute Engine default service account'” –format=’value(email)’ 285466277759-compute@developer.gserviceaccount.com export COMPUTE_SVC_ACCOUNT=$(gcloud iam service-accounts list –filter=”displayName:’Compute Engine default service account'” –format=’value(email)’)

Integrating AWS CodeCommit with Jenkins

https://aws.amazon.com/blogs/devops/integrating-aws-codecommit-with-jenkins/ 1. Create an IAM user name ‘jenkins’ 2. Save the access key ID and the secret key for jenkins user 3. Attach the managed policy named AWSCodeCommitPowerUser to the IAM user you created. 4. Configure the AWS CLI. cd ~jenkins sudo -u jenkins aws configure 5. Configure Git to use IAM credentials and an…