Used Two amazon linux instances to setup the environment, see the user-date of the two instances
Contains the playbooks and inventory files
Maven project with Selenium tests.
applicationUrl and webdriver.chrome.driver are passes as system properties.
Need to update the Jenkinsfile when ansible inventory changes
sh 'mvn clean install -Dwebdriver.chrome.driver=/usr/bin/chromedriver -DapplicationUrl=http://172.31.30.131:8080/'
Content is exactly same as the main repo from where this is forked
Create a Jenkins pipeline project and point to this GitRepo JenkinFile, Webhook configured in GitRepo will notify the Jenkins job of any changes.
Will copy contents of the website, and start Http server
Copy and paste contents of this file to the user-data section of Amazon Linux Instance Jenkins Master
Copy and paste contents of this file to the user-data section of the Amazon Linux Instance Test Server