You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Logged in as an admin, go to the top left, click 'Jenkins', then 'manage Jenkins', and select 'Manage Plugins'.
Use the "Available" tab, filter by "Blue Ocean," select the first option ("BlueOcean aggregator") and install without a restart.
Filter once again for "pipeline-aws" and install, this time selecting "Download now and install after restart."
Once all plugins are installed, Jenkins will restart
Set up GitHub
Shows the GitHub project as a pipeline
Set up AWS credentials in Jenkins
Leave the Blue Ocean GUI, and go back to the main Jenkins page. Then click on the “Credentials” link from the sidebar.
Click on "(global)" from the list, and then "Add credentials" from the sidebar.
Choose "AWS Credentials" from the dropdown, add "aws-static" on ID, add a description like "Static HTML publisher in AWS," and fill in the AWS Key and Secret Access Key generated when the IAM role was created.
Click OK, and the credentials should now be available for the rest of the system.
Set up S3 Bucket
Select the "Properties" tab, and click on "Static website hosting." Enable the "Use this bucket to host a website" and type in "index.html" for the Index document. Click "save."
Click on "Bucket policy" and add the our bucket policy.
Set up pipeline for AWS
The unique AWS url, and shows "index.html" rendered