You'll need roughly 6 minutes to read this article.
This article will teach you how to create and delete a project as well as give some further information on specific questions.
The screenshot below shows the initial dashboard after logging in to Codeship for the first time.
In the next step, you can choose whether you want to import from a GitHub, GitLab, or Bitbucket repository by providing the repository link as shown in the examples.
To get started with a Codeship project, you will want to have a few resources available:
A Github, Bitbucket or Gitlab account with admin permissions for a repo or organization
A Codeship account, either using your email or using source control authentication
A code base with either setup or test commands (or both) that you need to automate
You need to have project ownership for deleting a project. Once you click the delete button, you will have to confirm the deletion once more. A project can be deleted by going to:
Project Settings > General > Delete project
All your builds will be deleted as well. Make sure that you really don’t need this project anymore. It cannot be recovered once deleted.
If you need to create a large number of projects, or maybe just create similar projects on a regular basis, you can use the API to do the heavy lifting and just have a template on your side that forms the basis for all new projects. To learn more, head over to the API Documentation page.
You can transfer your project to another account by navigating to:
Project Settings > General
A user with appropriate permission for the target account needs to confirm the transfer if you do not have project creation rights in the target account. When confirming the transfer, the user can choose which of the current team members to keep and which to remove.
If you want to bulk transfer projects, please reach out to our support via helpdesk.codeship.com.
Use Case Examples
We don’t have a feature to limit which branches can be built.
We build your project on every push (that is, we run your setup and test commands) to let you know as soon as possible if something is broken. We will only ever run a deployment for the specific branch it is configured on and only after all setup and test commands executed successfully. Before deployment, every push to your repository should be tested.
If you wish to skip a build, please refer to the article about skipping builds.
Codeship does not support testing pull requests from forked repositories at the moment. You’d need to configure the forked repository separately on Codeship or push the branch to the already configured repository instead.
To make it easier to navigate through your Codeship projects, we’ve provided several keyboard shortcuts for quickly jumping through the interface:
gp, available from inside your projects, will return you to your projects overview page
Once you’ve created your project, you can invite colleagues members to give them access.
Under Project Settings > Team members, simply add their email address to send them an invite.
Codeship is hosted on AWS EC2 in the us-east-1 region. Because of this, Codeship services do not have static IP addresses by default. There are several different options for allowing Codeship to pass through your firewall.
Another option is to set up and run your own bastion host. This allows you to route all Codeship calls through your bastion host and whitelist only this host.
If your build can’t locate a configuration file which you ignored in your repository, via
.gitignore, create a
your_config.yml.example with data that works for your tests an add it to your repository. Then add the following command to your setup commands so the YAML file is properly set up.
# project settings > test settings > setup commands cp your_config.yml.example your_config.yml
You should also check that you are not coming from a case-insensitive operating system where you may not have noticed that the file name is different, i.e.
File.yml compared to
Right now it is not possible to rename a project. You will need to either remove and re-add the project if a repo’s name is changed and you want to reflect this, or contact our support team.
We also have a couple of code examples and sample projects available.