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
This commit is contained in:
parent
cb40a21da0
commit
6a5e89e23c
@ -27,7 +27,7 @@ mjit-test1:
|
|||||||
name: install mjit-debug-on-fail
|
name: install mjit-debug-on-fail
|
||||||
code: |
|
code: |
|
||||||
cat <<'EOS' > /usr/local/bin/mjit-debug-on-fail
|
cat <<'EOS' > /usr/local/bin/mjit-debug-on-fail
|
||||||
#!/bin/bash
|
#!/bin/bash -x
|
||||||
if ! "$@"; then
|
if ! "$@"; then
|
||||||
git clone --depth=1 git@github.com:ruby/mjit-debug
|
git clone --depth=1 git@github.com:ruby/mjit-debug
|
||||||
cd mjit-debug
|
cd mjit-debug
|
||||||
@ -36,6 +36,8 @@ mjit-test1:
|
|||||||
mkdir "$debug_dir"
|
mkdir "$debug_dir"
|
||||||
cp /tmp/_ruby_mjit*.c "$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 add "$debug_dir"
|
||||||
git commit -m "Debug ${debug_dir}: ${WERCKER_BUILD_URL}"
|
git commit -m "Debug ${debug_dir}: ${WERCKER_BUILD_URL}"
|
||||||
git push origin master
|
git push origin master
|
||||||
|
Loading…
x
Reference in New Issue
Block a user