Is it possible to use the
_Leave states in update Modules ? If yes , what should be the syntax ? I have tried using something like this but it doesn’t seem to be working.
#!/bin/sh case "$STATE" in ArtifactCommit) echo "In ArtifactCommit" "Files- $FILES, DEST-$DEST" ;; ArtifactCommit_Leave) echo "In ArtifactCommit_Leave" "Files- $FILES, DEST-$DEST" ;; esac exit 0
I have also tried using the state-script naming syntax (
ArtifactCommit_Leave_00) with out any success.