summaryrefslogtreecommitdiff
path: root/tsp/jobs
diff options
context:
space:
mode:
authorAleksander Mistewicz <a.mistewicz@samsung.com>2016-07-07 13:51:40 +0200
committerAleksander Mistewicz <a.mistewicz@samsung.com>2016-10-07 17:29:30 +0200
commitfc48025902c14cf59d0ab43010aa49e703824b0e (patch)
treecb64a70f970e96e92cd80678c534ad29854969e1 /tsp/jobs
parent77f8c41a1eecb1da3be3fed9e7dabf04d2dc73f9 (diff)
downloadmajor-fc48025902c14cf59d0ab43010aa49e703824b0e.tar.gz
major-fc48025902c14cf59d0ab43010aa49e703824b0e.tar.bz2
major-fc48025902c14cf59d0ab43010aa49e703824b0e.zip
Replace env variable with argparse in crawler.py
Change-Id: I4a299d124df4692670d46726177073980aefdc88 Signed-off-by: Aleksander Mistewicz <a.mistewicz@samsung.com>
Diffstat (limited to 'tsp/jobs')
-rwxr-xr-xtsp/jobs/watcher.sh10
1 files changed, 4 insertions, 6 deletions
diff --git a/tsp/jobs/watcher.sh b/tsp/jobs/watcher.sh
index b7160e4..47884cb 100755
--- a/tsp/jobs/watcher.sh
+++ b/tsp/jobs/watcher.sh
@@ -25,9 +25,7 @@ cd "${WS_WATCHER}"
touch dispatched_urls
touch timestamp
touch timestamp_snapshot
-nr=$(tspoll -L PRERELEASE_WATCHER timeout 120 sh -c "ROOT=\"http://download.tizen.org/prerelease/tizen/common/\" \
- ${TSP_DIR}/scripts/crawler.py")
-nr=$(tspoll -D $nr -L DOWNLOAD_TRIGGER sh -c "${TSP_DIR}/jobs/trigger_downloads.sh")
-nr=$(tspoll -D $nr -L SNAPSHOT_WATCHER timeout 120 sh -c "ROOT=\"http://download.tizen.org/snapshots/tizen/common/\" \
- ${TSP_DIR}/scripts/crawler.py")
-tspoll -D $nr -L DOWNLOAD_TRIGGER sh -c "${TSP_DIR}/jobs/trigger_downloads.sh"
+nr=$(tspoll -L PRERELEASE_WATCHER timeout 120 "${TSP_DIR}/scripts/crawler.py" "http://download.tizen.org/prerelease/tizen/common/")
+nr=$(tspoll -D $nr -L DOWNLOAD_TRIGGER sh "${TSP_DIR}/jobs/trigger_downloads.sh")
+nr=$(tspoll -D $nr -L SNAPSHOT_WATCHER timeout 120 "${TSP_DIR}/scripts/crawler.py" "http://download.tizen.org/snapshots/tizen/common/")
+tspoll -D $nr -L DOWNLOAD_TRIGGER sh "${TSP_DIR}/jobs/trigger_downloads.sh"