-
-
Notifications
You must be signed in to change notification settings - Fork 431
List of Plugins
If your project matches the detection rules of a plugin, the associated commands are run. If no plugins are matched, then nothing is run, and the build fails.
As of v1.6.0, Strider has a built-in plugin manager available to admins from which plugins can be installed, uninstalled, and upgraded. The official plugin index used by the plugin manager can be viewed here https://github.com/Strider-CD/ecosystem-index/blob/master/plugins.yml
detection rules
- presence of
package.json
prepare commands
npm install
test command
npm tests
detection rules
- presence of
requirements.txt
prepare command
pip install
test command
./setup.py test
This plugin allows you to run custom scripts
- before cloning the repo
- after cloning before testing
- as tests
- as deploy
- as cleanup
Exiting any of the scripts with a non-zero value with report a failed test. To check the return value of commands (such as other scripts) you run in the script check the $rc and exit accordingly:
./failingScript.sh
rc=$?
if [[ $rc != 0 ]] ; then
echo 'failingScript failed'
exit $rc
fi
[strider-jshint] (https://github.com/TopTechPhoto/strider-jshint)
detection rules
- presence of
.travis.yml