Created
January 12, 2016 07:52
-
-
Save huanggm/c8cd7b7205cd96e31c32 to your computer and use it in GitHub Desktop.
自动构建的脚本,主要是调用fis3 release进行输出
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
echo 'start building!' | |
echo $PATH | |
export PATH=$PATH:/usr/local/bin | |
echo $PATH | |
pwd | |
cd use-php | |
/usr/local/bin/npm install | |
/usr/local/bin/fis3 release -d ../../builds/$BUILD_NUMBER/use-php | |
tar -czf ../../builds/$BUILD_NUMBER/$BUILD_TAG.tar.gz -C ../../builds/$BUILD_NUMBER/use-php . | |
echo 'build success!' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment