Hello world
This page provides configuration examples to get started with a basic pipeline using any execution environment.
Prerequisites
-
A CircleCI account connected to your code. You can sign up for free.
-
A code repository you want to build on CircleCI.
-
Follow the Create a Project guide to connect your repository to CircleCI. You can then use the examples below to configure a basic pipeline using any execution environment.
Using Docker? Authenticating Docker pulls from image registries is recommended when using the Docker execution environment. Authenticated pulls allow access to private Docker images, and may also grant higher rate limits, depending on your registry provider. For further information see Using Docker authenticated pulls. |
Echo hello world
These examples adds a job called hello-job
that prints hello world
to the console.
If you get a No Config Found error, it may be that you used .yaml file extension. Be sure to use .yml file extension to resolve this error. |
Echo hello world on CircleCI server
These examples add a job called hello-job
that prints hello world
to the console.
If you get a No Config Found error, it may be that you used .yaml file extension. Be sure to use .yml file extension to resolve this error. |
Next steps
-
See the Concepts page for a summary of CircleCI-specific concepts.
-
Refer to the Workflows page for examples of orchestrating job runs with concurrent, sequential, scheduled, and manual approval workflows.
-
Find complete reference information for all keys and execution environments in the CircleCI Configuration Reference.
Help make this document better
This guide, as well as the rest of our docs, are open source and available on GitHub. We welcome your contributions.
- Suggest an edit to this page (please read the contributing guide first).
- To report a problem in the documentation, or to submit feedback and comments, please open an issue on GitHub.
- CircleCI is always seeking ways to improve your experience with our platform. If you would like to share feedback, please join our research community.
Need support?
Our support engineers are available to help with service issues, billing, or account related questions, and can help troubleshoot build configurations. Contact our support engineers by opening a ticket.
You can also visit our support site to find support articles, community forums, and training resources.
CircleCI Documentation by CircleCI is licensed under a Creative Commons Attribution-NonCommercial-ShareAlike 4.0 International License.