Skip to content

DanielConnelly/hackathon-deploy-tool

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

hackathon-deploy-tool

A tool made in 1 day for the HMRC DDC Worthing hackathon (19-07-17) to automate the deployment process

How does it work?

  • Triggers the necessary existing jenkins jobs in the correct sequence when they are ready, which will deploy to the dev, qa and staging environments.
  • Uses the Jenkins API Client for java to interact with jenkins which can be found here: https://github.com/jenkinsci/java-client-api

How to use

  • add credentials.properties to ~/.credentials/credentials.properties with your environment credentials
  • Run 'DeployTool' with the list of arguments you wish to deploy, which should be your app name.

You should know

  • This does not show you the console output for the jobs, you will still need to monitor the existing jobs on their own if you want to see what is happening.
  • The tool does not wait for the deployment jobs themselves to complete, just triggers them once the depending jobs are complete.
  • If a depending job is not successful i.e. create-a-release-slug, the tool will just hang.

About

A tool made in 1 day for the HMRC DDC Worthing hackathon (19-07-17) to automate the deployment process

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages