From 001bcbdbfff95a3edcdae21b687f58c2628116f9 Mon Sep 17 00:00:00 2001 From: KatolaZ Date: Thu, 20 Jul 2017 08:35:28 +0100 Subject: Environment variables exported. added examples/scorsh_script.sh --- examples/scorsh_script.sh | 10 ++++++++++ examples/worker1/worker1.cfg | 2 +- 2 files changed, 11 insertions(+), 1 deletion(-) create mode 100644 examples/scorsh_script.sh (limited to 'examples') 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" } ] } -- cgit v1.2.3