Closed sunakan closed 5 years ago
# Authoring Reusable Commands
version: 2.1
commands:
sayhello:
description: "CIでもHelloWorldサンプルがあるなんて!!"
parameters:
to:
type: string
default: "Hello World"
steps:
- run: echo << parameters.to >>
Error
#!/bin/sh -eo pipefail
# Error calling workflow: 'workflow'
# Cannot find a definition for job named build
#
# -------
# Warning: This configuration was auto-generated to show you the message above.
# Don't rerun this job. Rerunning will have no effect.
false
Exited with code 1
ちょっともっと前にやったほうがよさげなHelloworldがあったためそれをやる
orbに使える再利用可能なオーサリングコマンドってことと解釈
ってことで閉じる
https://circleci.com/docs/2.0/reusing-config/#authoring-reusable-commands