UNCLASSIFIED

Commit 69fc5b20 authored by Ajith Gudem's avatar Ajith Gudem
Browse files

Add sleep after delete and add

parent 671e7a9a
Pipeline #308238 passed with stages
in 6 minutes and 13 seconds
......@@ -36,11 +36,11 @@ echo " enabled: $enabled";
# if creds successfully stored, then delete the plugin by ID (we don't care if it fails or not)
result=$(/mattermost/bin/mmctl plugin delete ${PLUGIN_ID})
sleep 3
if [[ $enabled == "true" ]]; then
# install the plugin with the tar.gz file
result=$(/mattermost/bin/mmctl plugin add ${PLUGIN_ARTIFACT} --format json)
sleep 3
# if the install was successful, then enable it
result=$(/mattermost/bin/mmctl plugin enable ${PLUGIN_ID} --format json)
fi
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment