Creating run shell script tasks#
Shell script tasks are used to execute a sequence of commands.
On the Deployment plan detail page, click Create Task.
If you want to insert a task at a specific position in the plan, select a task before using the Create Task. The new task is inserted above the selected task.
On the Create task dialog box, in the Type list, select Run a Shell Script Task.
In the Name field, enter a name for the task.
In the Description field, enter or paste a description.
You might enter a note, a reminder, or other instructions in the field.
In the Shell Script field, enter or paste the shell script code. An example shell script code is the following:
echo "Hello World" sleep 2 "Do some stuff..." sleep 2 echo "Task finished"
The task is inserted into the deployment plan.
Parent topic: Tasks