Job#getLastCompletedBuild works like lastBuild but excludes running builds.
It is useful especially when used with copyartifact-plugin (
JENKINS-16476). Of course, it is also useful to get the last result of the project.
I want to add "Last Completed Build" to built-in permalinks.