8000 Merge pull request #3643 from circleci/michelle-luna-patch-6 · adicoderanger/circleci-docs@ba362d8 · GitHub
[go: up one dir, main page]

Skip to content

Commit ba362d8

Browse files
Merge pull request circleci#3643 from circleci/michelle-luna-patch-6
Update hello-world.md
2 parents 9664795 + 026369e commit ba362d8

File tree

1 file changed

+9
-9
lines changed

1 file changed

+9
-9
lines changed

jekyll/_cci2/hello-world.md

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -11,17 +11,17 @@ This document describes how to get started with a basic build of your Linux, And
1111

1212
## Echo Hello World on Linux
1313

14-
This example adds a job called `build` that spins up a container running a the [pre-built CircleCI Docker image for Node]({{ site.baseurl }}/2.0/circleci-images/#nodejs). Then, it runs a simple `echo` command. To get started, complete the following steps:
14+
This example adds a job called `build` that spins up a container running a [pre-built CircleCI Docker image for Node]({{ site.baseurl }}/2.0/circleci-images/#nodejs). Then, it runs a simple `echo` command. To get started, complete the following steps:
1515

1616
1. Create a directory called `.circleci` in the root directory of your local GitHub or Bitbucket code repository.
1717

1818
1. Create a [`config.yml`]({{ site.baseurl }}/2.0/configuration-reference/) file with the following lines:
1919

2020
```yaml
21-
version: 2
21+
version: 2.1
2222
jobs:
23-
build-linux:
24-
docker: # use the docker executor type; machine and macos executors are also supported
23+
build:
24+
docker:
2525
- image: circleci/node:4.8.2 # the primary container, where your job's commands are run
2626
steps:
2727
- checkout # check out the code in the project directory
@@ -61,10 +61,10 @@ See the [Android Language Guide]({{site.baseurl}}/2.0/language-android/) for det
6161
Using the basics from the Linux and Android examples above, you can add a job that uses the `macos` executor and a supported version of Xcode as follows:
6262

6363
```
64-
jobs: # a basic unit of work in a run
65-
build-macos: # runs not using `Workflows` must have a `build` job as entry point
66-
macos: # indicate that we are using the macOS executor
67-
xcode: "10.0.0" # indicate our selected version of Xcode
64+
jobs:
65+
build-macos:
66+
macos:
67+
xcode: "10.0.0"
6868
```
6969

7070
Refer to the [Hello World on MacOS]({{site.baseurl}}/2.0/hello-world-macos) document for more information and a sample project.
@@ -78,7 +78,7 @@ orbs:
7878
win: circleci/windows@1.0.0
7979
8080
jobs:
81-
build:
81+
build-windows:
8282
executor: win/vs2019
8383
steps:
8484
- checkout

0 commit comments

Comments
 (0)
0