summaryrefslogtreecommitdiff
path: root/examples
diff options
context:
space:
mode:
Diffstat (limited to 'examples')
-rw-r--r--examples/scorsh_script.sh10
-rw-r--r--examples/worker1/worker1.cfg2
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"
}
]
}