Need help with scripts?
Click the “chat” button below for chat support from the developer who created it, or find similar developers for support.

About the developer

212 Stars 181 Forks MIT License 613 Commits 5 Opened issues


Scripts for use on Codeship Basic

Services available


Need anything else?

Contributors list

Codeship Scripts Codeship Status for codeship/scripts

A public collection of useful scripts for use on Codeship and similar tools.

E.g. scripts to install specific versions of software not included by default on the build VMs. Deployment scripts for external services to customize to your needs, configure caching or trigger notifications. And other scripts if you want to have them included ;)

Using the scripts

Each script includes a comment at the beginning detailing how to configure and use the script in your builds. Those comments look for example like

# Add at least the following environment variables to your project configuration
# (otherwise the defaults below will be used).
# Include in your builds via
# \curl -sSL | bash -s

It is important that you follow those instructions and not simply copy / paste the scripts into your Codeship project configuration.

Most scripts include

set -e
to make the script fail as soon as a subcommand returns a non-zero exit code (which indicates failure).

This is fine if you call the script as documented above (via the

command). But it will have side effects if you copy the commands into your settings on as any command that fails after the
set -e
) will terminate your build. You'll get a
build status, but no further error message or log output. You probably don't want this :)

Please see the post at for more information on how

set -e
works and why this causes issues if you include it in your setup or test commands.

Code of Conduct

Please note that this project is released with a Contributor Code of Conduct. By participating in this project you agree to abide by its terms.

We use cookies. If you continue to browse the site, you agree to the use of cookies. For more information on our use of cookies please see our Privacy Policy.