How pipeline is named?


I’m following the basic HelloWorld tutorial to experiment Concourse. I copied the basic pipeline YAML:

- name: job-hello-world
  public: true
  - task: hello-world
      platform: linux
        type: docker-image
        source: {repository: busybox}
        path: echo
          - hello world

This has no problem to work. But my question is why this pipeline is named ‘hello-world’? Only thing I can see is that this pipeline has a task named ‘hello-world’. If the name is taken from task name, then how about if a pipeline has multiple tasks?


Hello evanchaoli, please edit your post, it is not very readable at the moment.

Use the </> button above the input field to format your code, command line output or error message (select the text first, then click the button or wrap it in ````` manually). Check the preview if it looks better. This will make sure your text is readable and if it recognizes the programming language it also automatically adds code syntax highlighting. Thanks.

To answer your question, the pipeline name is given by fly set-pipeline -p XXX:

fly set-pipeline -h
      -p, --pipeline=               Pipeline to configure
      -c, --config=                 Pipeline configuration file

this also means that you can use the same configuration file and instantiate multiple pipelines by changing the -p option.


Thanks for the answer. I have edited my post.