Figure out why task Configure File Provider Plugin in conf_jenkins fails with:
script failed with stacktrace: org.codehaus.groovy.control.MultipleCompilationErrorsException: startup failed:\nScript1.groovy: 121: unable to resolve class org.jenkinsci.plugins.configfiles.maven.MavenSettingsConfig \n @ line 121, column 3.\n new org.jenkinsci.plugins.configfiles.maven.MavenSettingsConfig(\n ^\n\nScript1.groovy: 135: unable to resolve class org.jenkinsci.plugins.configfiles.maven.MavenToolchainsConfig \n @ line 135, column 3.\n new org.jenkinsci.plugins.configfiles.maven.MavenToolchainsConfig
How to use the Jenkins playbooks (build_jenkins.yml and update_jenkins.yml)
Build Jenkins (build_jenkins.yml) - First Time Deployment
Requirements:
Local Environment
AWS CLI authentication setup for the BFD AWS Account with admin privs.
packer
Ansible
A Gold Image ID provided by the CCS (GDIT)
A previously created and formatted EBS volume (Skip step if already created)
Create EBS Volume within AWS (console or cli)
Suggested configuration
Name: Same as used for the variable {{ bfd-jenkins-ebs_name }} value in the playbook.
Type: General Purpose SSD (gp2)
Size: >= 1000G
AZ: us-east-1(a-c)
Encryption: Yes, CMK = bfd-mgmt-cmk
Device: /dev/sdf
Filesystem: xfs
Build the Jenkins AMI (first time) From within the Ansible/ directory of the ops code (i.e. bfd-ops) run the following command to build AND configure the Jenkins instance and volume for the first time.