if (manager.build.result == hudson.model.Result.SUCCESS) { def publish_server = manager.envVars["PUBLISH_SERVER"] def pub_dest = manager.envVars["PUB_DEST"] def desc = " Build location
" manager.build.setDescription(desc) }