a broken splinter

Sunday, March 6, 2016

Accessing CodeShip Build Environment variables from a deployment script

This is just for my personal reference:

CodeShip build time parameters:

https://codeship.com/documentation/continuous-integration/set-environment-variables/

Sample Script utilizing some of the environment variables:

echo " Commit #: $CI_COMMIT_ID \n Commit Message: $CI_MESSAGE \n Build URL: $CI_BUILD_URL" > $CI_BUILD_NUMBER-build.txt


Posted by Unknown at 4:02 AM No comments:
Email ThisBlogThis!Share to XShare to FacebookShare to Pinterest
Labels: CI, CodeShip
Newer Posts Home
Subscribe to: Posts (Atom)

About Me

Unknown
View my complete profile

Blog Archive

  • ►  2018 (2)
    • ►  September (1)
    • ►  May (1)
  • ►  2017 (2)
    • ►  May (1)
    • ►  March (1)
  • ▼  2016 (11)
    • ►  October (1)
    • ►  August (3)
    • ►  July (2)
    • ►  June (2)
    • ►  April (2)
    • ▼  March (1)
      • Accessing CodeShip Build Environment variables fro...
Simple theme. Powered by Blogger.