The Proposal's main idea is to build and provide a real runtime environment allowing a full integration test.
Using Jenkins with Docker Pipeline we are able to build and use Docker containers from pipelines Groovy scripting.
- Get from SCM Pipeline configuration and artifacts
- Get from Nexus latest version of Enron_Indexer and Enron_Web
- Pull image elasticsearch:2.4.5-alpine and run ElasticSearch Container
- Create image enron_indexer with Dockerfile based on openjdk:8-jre-alpine
- Run image enron_indexer and import enron.json data
- Stop and remove image enron_indexer and print logs
- Create image enron_web with Dockerfile based on openjdk:8-jre-alpine
- Run Postman tests
- Archive test report
- Waiting for user input to finish
- Clean workspace
- Stop and remove image enron_web and print logs
- Stop and remove image elasticsearch:2.4.5-alpine