Polishing.

Rename agent, improve logging.
This commit is contained in:
Mark Paluch
2025-01-17 10:39:56 +01:00
parent 60e6c78aa1
commit bcdf865d83
2 changed files with 7 additions and 3 deletions

6
Jenkinsfile vendored
View File

@@ -23,7 +23,7 @@ pipeline {
}
}
agent {
label 'e2-standard-4'
label 'data-release'
}
steps {
@@ -43,7 +43,7 @@ pipeline {
}
agent {
label 'e2-standard-4'
label 'data-release'
}
options { timeout(time: 4, unit: 'HOURS') }
@@ -64,7 +64,7 @@ pipeline {
steps {
script {
docker.image("springci/spring-data-release-tools:0.20") {
docker.image("springci/spring-data-release-tools:0.20").inside() {
sh "ci/build-spring-data-release-cli.bash"
sh "ci/build-and-distribute.bash ${p['release.version']}"
}

View File

@@ -41,6 +41,7 @@ import org.springframework.data.release.model.Phase;
import org.springframework.data.release.model.Project;
import org.springframework.data.release.model.Projects;
import org.springframework.data.release.model.TrainIteration;
import org.springframework.data.release.utils.Logger;
import org.springframework.shell.core.annotation.CliCommand;
import org.springframework.shell.core.annotation.CliOption;
import org.springframework.util.Assert;
@@ -60,6 +61,7 @@ class ReleaseCommands extends TimedCommand {
@NonNull BuildOperations build;
@NonNull IssueTrackerCommands tracker;
@NonNull GitHubCommands gitHub;
private final Logger logger;
/**
* Composite command to prepare a release.
@@ -79,6 +81,8 @@ class ReleaseCommands extends TimedCommand {
conclude(iteration);
gitHub.push(iteration);
logger.log(iteration, "Preparation completed 🤹‍♀️. Ready to ship 🛳️ binaries 💾!");
}
/**