This should now be:

```
<env name="JENKINS_URL" value="<%= @new_resource.endpoint %>" />
```