Affects Version/s: current
Fix Version/s: None
I'm seeing the following problem with the latest version (i.e. 1.5) of the promoted builds plugin.
Even though i tie a job on which promotions are defined to the master, Hudson is trying to execute some of the promotions on the slave(s) resulting in the following error.
Started by user <abc>
Building remotely on lnx-slave-1
FATAL: Failed to mkdirs: /opt/hudson/conf/jobs/<job-name>/workspace
java.io.IOException: Failed to mkdirs: /opt/hudson/conf/jobs/<job-name>/workspace
Error seen in the hudson UI for a promotion failing due to above error is "promotion didn't happen.......re-execute the promotion"
For now, "Andrew bayer" suggested the following workaround and it works nicely.
a.) goto "/opt/hudson/conf/jobs/<job-name>/promotions/<promotion-name>
b.) Open the "config.xml" and add the following 2 lines
c.) Once you add these lines, goto "Hudson->Manage Hudson" and click on "Reload configuration from the disk".
d.) Re-execute the promotion and it will work now.