I am trying to use a post build step to trigger release in TFS / team system. Originally my jenkins job was in a subfolder and i had setup the release artifact on TFS side to point to my job as folder/jobname. With this setup the jenkins job fails with the message:
listener.getLogger().printf("No jenkins artifact found with name: %s%n", jobName);
which is in src/main/java/hudson/plugins/tfs/rm/ReleaseManagementCI.java
After looking at the plugin code i moved my jenkins job to the root folder and then the i was able to trigger the release.
This means i cannot use the folder plugin to organize my jobs that trigger tfs release.