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.
|Status||Open [ 1 ]||Resolved [ 5 ]|
|Resolution||Fixed [ 1 ]|
|Workflow||JNJira [ 160331 ]||JNJira + In-Review [ 196387 ]|