How to attach WAR file in email from jenkins
- by birdy
We have a case where a developer needs to access the last successfully built WAR file from jenkins. However, they can't access the jenkins server.
I'd like to configure jenkins such that on every successful build, jenkins sends the WAR file to this user.
I've installed the ext-email plugin and it seems to be working fine. Emails are being received along with the build.log. However, the WAR file isn't being received.
The WAR file lives on this path in the server:
/var/lib/jenkins/workspace/Ourproject/dist/our.war
So I configured it under Post build actions like this:
The problem is that emails are sent but the WAR file isn't being attached.
Do I need to do something else?