Getting your hands dirty
It is time for you to test out those newly learned skills. You can find a solution to those problems in the Assessments section of this book. Those challenges will use the concepts that you have seen in this chapter.
More than Hello World
In this first challenge, build a task with three steps. The first step should output a log message stating that the task has started. Then, the task will sleep for a number of seconds that the user specifies. In the third step, the task should log a string that the user provides. Be sure to add default values to those two parameters. Now try running the task with the tkn
CLI tool. Run it a second time using the default values this time. Start this task a third time, specifying the parameter values directly in the command line.
Tips
- You will have three steps and two parameters in this task.
- Use the default field to set a default value to the parameters.
- With the CLI tool, you can use the --use...