Created
March 18, 2012 04:37
-
-
Save wataru420/2068947 to your computer and use it in GitHub Desktop.
jenkinsでCron
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
rsync -av --exclude="*.svn" $WORKSPACE/scripts/ targethost:/path/to/scripts | |
ssh targethost sh /path/to/scripts/mkdir.sh |
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
#!/bin/bash | |
mkdir log || { echo oops!; exit 1; } | |
echo created directory. | |
exit 0 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment