Skip to content

Instantly share code, notes, and snippets.

@dtheodor
Last active November 10, 2015 21:53
Show Gist options
  • Save dtheodor/260961c104978236cff2 to your computer and use it in GitHub Desktop.
Save dtheodor/260961c104978236cff2 to your computer and use it in GitHub Desktop.

Jenkins stuff

Ideas on what to do per build, when to trigger builds, etc.

Basic build per project

  • compile
    • triggers build failure
  • run unittests
    • triggers build unstable
  • run end-to-end/integration tests
    • triggers build unstable
  • produce unittest coverage report, publish it somewhere
  • generate documentation, publish it somewhere
  • deploy if build is stable (or even unstable)

Notifications

When to trigger builds

  • on commit: specific branches may trigger different tasks: (e.g. a push to a 'master' branch can deploy a web app to an acceptance environment, a push to a 'develop' branch may do no deployment action)
  • nightly: deploy to some environment

Custom automation tasks

  • copy/backup/restore a database (e.g. copy a production db to an acceptance environment)
  • deploy on-demand (a branch to a target env)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment