Polishing.
Rename agent, improve logging.
This commit is contained in:
6
Jenkinsfile
vendored
6
Jenkinsfile
vendored
@@ -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']}"
|
||||
}
|
||||
|
||||
@@ -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 💾!");
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user