You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: jekyll/_cci2/index.md
+11-4Lines changed: 11 additions & 4 deletions
Original file line number
Diff line number
Diff line change
@@ -4,7 +4,12 @@ title: "2.0 Docs"
4
4
description: "Landing page for CircleCI 2.0"
5
5
permalink: /2.0/
6
6
---
7
-
Welcome to CircleCI 2.0 documentation! This page describes how to run your first green build.
7
+
Welcome to CircleCI 2.0 documentation! Included here are tutorials, samples, and reference documentation for CircleCI version 2.0 in the following two sections:
8
+
9
+
-**Developers:** Instructions for configuring a CircleCI YML file to automate your builds, tests, and deployments using the hosted CircleCI application.
10
+
-**Server Administrators:** Instructions for installing and maintaining CircleCI on your local server or private cloud.
11
+
12
+
This page describes how to run your first green build.
@@ -15,7 +20,7 @@ Welcome to CircleCI 2.0 documentation! This page describes how to run your first
15
20
16
21
## Creating a Repository
17
22
1. Navigate to your account on GitHub.com
18
-
* Go to the **Repositories** tab and then select **New** or navigate directly to <https://github.com/new>. 
23
+
* Go to the **Repositories** tab and then select **New** or navigate directly to [https://github.com/new](https://github.com/new){:target="_blank"}. 
19
24
20
25
2. Select Initialize this repository with a README and click the Create repository button. 
21
26
@@ -39,6 +44,8 @@ jobs:
39
44
- run: echo "A first hello"
40
45
```
41
46
47
+
3. Commit the file by entering comments and clicking the Commit New File button.
48
+
42
49
The `- image: circleci/ruby:2.4.1` text tells CircleCI what Docker image to use when it builds your project. CircleCI will use the image to boot up a "container" — a virtual computing environment where it will install any languages, system utilities, dependencies, web browsers, and tools, that your project might need to run.
43
50
44
51
## Setting up Your Build on CircleCI
@@ -53,7 +60,7 @@ The `- image: circleci/ruby:2.4.1` text tells CircleCI what Docker image to use
53
60
54
61
## Running Your First CircleCI Build!
55
62
56
-
You should see your build start to run automatically—and pass! So, what just happened? Click on the green button and let's investigate.
63
+
You should see your build start to run automatically—and pass! So, what just happened? Click on the green Success button on the CircleCI dashboard to investigate the following parts of the run:
57
64
58
65
1. **Spin up environment:** CircleCI used the `circleci/ruby:2.4.1` Docker image to launch a virtual computing environment.
59
66
@@ -65,7 +72,7 @@ Even though there was no actual source code in your repo, and no actual tests co
65
72
66
73
## Breaking Your Build!
67
74
68
-
Edit your `config.yml` file in the GitHub editor for simplicity and replace `echo "A first hello"` with `notacommand`. Click the **Commit change** button in the GitHub editorto trigger a new build and see what happens!
75
+
Edit your `config.yml` file in the GitHub editor for simplicity and replace `echo "A first hello"` with `notacommand`. Click the **Commit change** button in the GitHub editor. When you navigate back to the Builds page in CircleCI, you will see that a new build was triggered. This build will fail with a red Failed button and will send you a notification email of the failure.
0 commit comments