Prepare for test.

This commit is contained in:
Mark Paluch
2025-06-17 09:41:18 +02:00
parent ffa14025c0
commit f9b367be58
2 changed files with 6 additions and 4 deletions

View File

@@ -1,6 +1,4 @@
workspace cleanup
git update ${VERSION}
release build ${VERSION}
artifactory release create ${VERSION}
release distribute ${VERSION}
quit

View File

@@ -203,7 +203,7 @@ public class BuildOperations {
logger.log(iteration, "Release: %s", summary);
if (stagingRepository.isPresent()) {
publishDeployment(iteration, stagingRepository);
// publishDeployment(iteration, stagingRepository);
}
return summary.getExecutions().stream().map(BuildExecutor.ExecutionResult::getResult).collect(Collectors.toList());
@@ -270,7 +270,11 @@ public class BuildOperations {
}
StagingRepository deploymentId = publisher.upload(iteration, deploymentName, localStaging);
publisher.validate(iteration.getTrainIteration(), deploymentId);
try {
publisher.validate(iteration.getTrainIteration(), deploymentId);
} catch (Exception e) {
e.printStackTrace();
}
return deploymentId;
}