aboutsummaryrefslogtreecommitdiffstats
path: root/wercker.yml
diff options
context:
space:
mode:
authorTakashi Kokubun <takashikkbn@gmail.com>2019-05-31 07:24:08 +0900
committerTakashi Kokubun <takashikkbn@gmail.com>2019-05-31 07:24:11 +0900
commit6a5e89e23c433199f926d757481bc3c29fce7854 (patch)
tree48e1f2b7eeabb27d7d78893a6bd1e106b3615fcf /wercker.yml
parentcb40a21da0687b5dd3cd251c9e66bb0edf67f2b9 (diff)
downloadruby-6a5e89e23c433199f926d757481bc3c29fce7854.tar.gz
Set git config to commit mjit-debug
As it failed to commit like: https://app.wercker.com/ruby/ruby/runs/mjit-test1/5cefd8a8105780001c4f2d5d?step=5cefdd1e48fad200077fa3f8
Diffstat (limited to 'wercker.yml')
-rw-r--r--wercker.yml4
1 files changed, 3 insertions, 1 deletions
diff --git a/wercker.yml b/wercker.yml
index 8239dcfff1..ac9c2ab8d2 100644
--- a/wercker.yml
+++ b/wercker.yml
@@ -27,7 +27,7 @@ mjit-test1:
name: install mjit-debug-on-fail
code: |
cat <<'EOS' > /usr/local/bin/mjit-debug-on-fail
- #!/bin/bash
+ #!/bin/bash -x
if ! "$@"; then
git clone --depth=1 git@github.com:ruby/mjit-debug
cd mjit-debug
@@ -36,6 +36,8 @@ mjit-test1:
mkdir "$debug_dir"
cp /tmp/_ruby_mjit*.c "$debug_dir"
+ git config --global user.email "ruby@app.wercker.com"
+ git config --global user.name "Wercker ruby/ruby"
git add "$debug_dir"
git commit -m "Debug ${debug_dir}: ${WERCKER_BUILD_URL}"
git push origin master