Runs a given Shell command.
**Note: ** Because this plugin could potentially be abused, it requires extra steps to enable it:
- In the root of your PHPCI system, in the same directory where you’ll find composer.json and vars.php, look for a file local_vars.php. If it does not exist, create it.
- In local_vars.php add this code:
<?php define('ENABLE_SHELL_PLUGIN', true);
ENABLE_SHELL_PLUGIN is either false or undefined, the shell plugin won’t work.
- command - Required - The shell command to run.
setup: shell: command: "bin/console build"
You should understand, that in old configuration type, you can run only one command!
New format of Configuration Options¶
setup: shell: - "cd /www" - "chmod u+x %BUILD_PATH%/bin/console" - "%BUILD_PATH%/bin/console build"