Created
June 11, 2014 02:04
-
-
Save etoews/e2061a056b31b1bc5a2c to your computer and use it in GitHub Desktop.
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
gem install jekyll -v '1.5.1' --no-rdoc --no-ri --conservative --user-install | |
gem install rdiscount --no-rdoc --no-ri --conservative --user-install | |
jekyll build --safe | |
# Save the GitHub PR number for the downstream build | |
curl -sO $BUILD_URL/consoleText | |
GITHUB_PR_NUMBER=$(head -1 consoleText | sed 's/.*pull request #\([0-9]*\) to.*/\1/') | |
echo "export GITHUB_PR_NUMBER=$GIT_PR_NUMBER" > $WORKSPACE/_site/triggering-build.rc |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment