Disabled ws cleanup for obs-event-dispatcher job
authorEd Bartosh <eduard.bartosh@intel.com>
Mon, 16 Sep 2013 19:17:15 +0000 (22:17 +0300)
committerEd Bartosh <eduard.bartosh@intel.com>
Thu, 19 Sep 2013 07:25:40 +0000 (10:25 +0300)
commitf666c9220e84682f1ffb9d43251b96244bd84062
tree749572043c89625032b17016656bd976fca0f963
parent5c9b76567767f5aaa1d1d8c1c45853b77e2c1d11
Disabled ws cleanup for obs-event-dispatcher job

Workspace cleanup plugin doesn't work properly when job allows parallel
build execution. It removes workspaces for other builds, which causes
spectacular crashes like this:
[workspace@2] $ /bin/bash /tmp/hudson934458048082312142.sh
python: can't open file
'/var/lib/jenkins/jobs/obs-event-dispatcher/workspace@2/jenkins-scripts/job_jobs_dispatcher.py':
[Errno 2] No such file or directory
Build step 'Execute shell' marked build as failure

This change replaces buggy magic of workspace cleanup plugin with simple
deletion of *.env files.

Fixes: #1328

Change-Id: I7f9b59dcc10d11ba985f6ae58933d6d250e4b820
Signed-off-by: Ed Bartosh <eduard.bartosh@intel.com>
jobs/obs-event-dispatcher/config.xml