diff options
author | KatolaZ <katolaz@freaknet.org> | 2017-07-20 08:35:28 +0100 |
---|---|---|
committer | KatolaZ <katolaz@freaknet.org> | 2017-07-20 08:35:28 +0100 |
commit | 001bcbdbfff95a3edcdae21b687f58c2628116f9 (patch) | |
tree | e2ee1ad85a9b626f7696b7786c8ed6cb9673d3f3 /examples | |
parent | 7a4cdc99d9242303c84be398f8b9c296b62c0a27 (diff) |
Environment variables exported. added examples/scorsh_script.sh
Diffstat (limited to 'examples')
-rw-r--r-- | examples/scorsh_script.sh | 10 | ||||
-rw-r--r-- | examples/worker1/worker1.cfg | 2 |
2 files changed, 11 insertions, 1 deletions
diff --git a/examples/scorsh_script.sh b/examples/scorsh_script.sh new file mode 100644 index 0000000..9a563d8 --- /dev/null +++ b/examples/scorsh_script.sh @@ -0,0 +1,10 @@ +#!/bin/sh + +echo "SCORSH_REPO:" ${SCORSH_REPO} +echo "SCORSH_BRANCH:" ${SCORSH_BRANCH} +echo "SCORSH_OLDREV:" ${SCORSH_OLDREV} +echo "SCORSH_NEWREV:" ${SCORSH_NEWREV} +echo "SCORSH_ID:" ${SCORSH_ID} + + +echo "I am running!!!!" >> log.txt diff --git a/examples/worker1/worker1.cfg b/examples/worker1/worker1.cfg index 0eabdf7..178723c 100644 --- a/examples/worker1/worker1.cfg +++ b/examples/worker1/worker1.cfg @@ -25,7 +25,7 @@ w_tags: t_keyrings: ["allowed_users.asc"], t_commands: [ { - c_url: "file:///home/katolaz/bin/scorsh_build.sh" + c_url: "file:///home/katolaz/bin/scorsh_script.sh" } ] } |