jar.archiveName needs to be set before the task definition if we want to have correct name on the print "For CloudBees"