Created
November 19, 2014 20:04
-
-
Save bighappyface/b56859f9c2a598cb3b58 to your computer and use it in GitHub Desktop.
Bash to used for a jenkins job check for drupal and module updates with drush
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# prints the list | |
drush ups | |
# wraps the same command but to return pass/fail exit code | |
[ `drush ups --pipe | wc -l` -eq 0 ] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment