7. Pipeline
❏ A pipeline consists of multiple stages, each of which will be run in
order. If a stage fails, then the pipeline is considered failed and the
following stages will not be started.
8. Stage
❏ A stage consists of multiple jobs, each of which can run
independently of the others. This means that Go can and does
parallelize the execution of jobs in a stage.
❏ If a job fails, then the stage is considered failed. However, since
jobs are independent of each other, the other jobs in the stage will
be run to completion.
10. JOB
❏ A job consists of multiple tasks, each of which will
be run in order.
❏ If a task in a job fails, then the job is considered
failed, and unless specified otherwise, the rest of
the tasks in the job will not be run.
11. JOB
❏ A job can be
cd /usr/local/tomcat/bin
sh ./startup.sh
cd /usr/local/tomcat/logs
tail -f catalina.out -n 1000
12. Task
❏ A task is an action that needs to be performed.
Usually, it is a single command.
❏ The task can be running the command
cd /usr/bin when executed by Go.
13. Install & Set up Go CI
❏ Download Go Server and Go agent:
https://www.go.cd/download/
❏ Install Go server application and run it on your
machine(by default it runs on
http://localhost:8153/go/pipelines )
❏ Install Go agent and give the address of the
server (to connect to local Go server use
127.0.0.1)