Upgraded from EnvInject 1.0 to 1.85 and builds stopped working correctly.
Each build was using the wrong workspace, and all builds were trying to use this same incorrect workspace. The workspace was a valid workspace for a different job, but not the job that I was running. Each time I reloaded jenkins, the workspace changed but all builds still tried to use that same incorrect workspace.
I had the following in my ant script:
<property environment="env"/>
<property name="job.wspath" value="${env.WORKSPACE}"/>
job.wspath was being set to the workspace of the wrong job, because the WORKSPACE env variable was getting hosed by the new EnvInject.
I downgraded EnvInject from 1.85 to 1.0 and the problem was resolved.
[{"id":-1,"name":"My open issues","jql":"assignee = currentUser() AND resolution = Unresolved order by updated DESC","isSystem":true,"sharePermissions":[],"requiresLogin":true},{"id":-2,"name":"Reported by me","jql":"reporter = currentUser() order by created DESC","isSystem":true,"sharePermissions":[],"requiresLogin":true},{"id":-4,"name":"All issues","jql":"order by created DESC","isSystem":true,"sharePermissions":[],"requiresLogin":false},{"id":-5,"name":"Open issues","jql":"resolution = Unresolved order by priority DESC,updated DESC","isSystem":true,"sharePermissions":[],"requiresLogin":false},{"id":-9,"name":"Done issues","jql":"statusCategory = Done order by updated DESC","isSystem":true,"sharePermissions":[],"requiresLogin":false},{"id":-3,"name":"Viewed recently","jql":"issuekey in issueHistory() order by lastViewed DESC","isSystem":true,"sharePermissions":[],"requiresLogin":false},{"id":-6,"name":"Created recently","jql":"created >= -1w order by created DESC","isSystem":true,"sharePermissions":[],"requiresLogin":false},{"id":-7,"name":"Resolved recently","jql":"resolutiondate >= -1w order by updated DESC","isSystem":true,"sharePermissions":[],"requiresLogin":false},{"id":-8,"name":"Updated recently","jql":"updated >= -1w order by updated DESC","isSystem":true,"sharePermissions":[],"requiresLogin":false}]