Skip to content

Instantly share code, notes, and snippets.

@jonathanhle
Forked from mocon/jenkins_pipeline_stages.md
Last active February 25, 2020 05:57
Show Gist options
  • Save jonathanhle/9ebffee8c9a3e0f75c6fefc136c552f0 to your computer and use it in GitHub Desktop.
Save jonathanhle/9ebffee8c9a3e0f75c6fefc136c552f0 to your computer and use it in GitHub Desktop.

πŸ“‚ repo_root/

πŸ“„ Jenkinsfile (has no file extension, references tasks in xx_BUILD_STEP folders below)

πŸ“‚ 01_BUILD/
    πŸ“„  _build.sh
        Dockerfile.build
    (optional - add more files for BUILD stage here)

πŸ“‚ 02_UNIT_TESTS/
    πŸ“„  _unit_tests.sh
    (optional - add more files for UNIT_TESTS stage here)

πŸ“‚ 03_INTEGRATION_TESTS/
    πŸ“„  _integration_tests.sh
    (optional - add more files for INTEGRATION_TESTS stage here)

πŸ“‚ 04_CREATE_RELEASE/
    πŸ“„  _create_release.sh
        Dockerfile.run
    (optional - add more files for CREATE_RELEASE stage here)

πŸ“‚ 05_DEPLOY_DEV/
    πŸ“„  _deploy_dev.sh
    (optional - add more files for DEPLOY_DEV stage here)

πŸ“‚ 06_QA_DEV/
    πŸ“„  _qa_dev.sh
    (optional - add more files for QA_DEV stage here)

πŸ“‚ 07_DEPLOY_STAGING/
    πŸ“„  _deploy_staging.sh
    (optional - add more files for DEPLOY_STAGING stage here)

πŸ“‚ 08_QA_STAGING/
    πŸ“„  _qa_staging.sh
    (optional - add more files for QA_STAGING stage here)

πŸ“‚ 09_OPS_SIGNING/
    πŸ“„  _ops_signing.sh
    (optional - add more files for OPS_SIGNING stage here)

πŸ“‚ 10_DEPLOY_PROD/
    πŸ“„  _deploy_prod.sh
    (optional - add more files for DEPLOY_PROD stage here)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment