buildsImageWithMultipleCommandLineEnvironments() — spring-boot Function Reference
Architecture documentation for the buildsImageWithMultipleCommandLineEnvironments() function in BootBuildImageIntegrationTests.java from the spring-boot codebase.
Entity Profile
Dependency Diagram
graph TD 62075fb7_1bd7_ad4a_5b11_e5f87871c9b6["buildsImageWithMultipleCommandLineEnvironments()"] f965ce7e_2357_c125_a1d3_24069c68ecf8["writeMainClass()"] 62075fb7_1bd7_ad4a_5b11_e5f87871c9b6 -->|calls| f965ce7e_2357_c125_a1d3_24069c68ecf8 66ac0fbc_cfc2_1ca0_5597_62584de5d0fb["writeLongNameResource()"] 62075fb7_1bd7_ad4a_5b11_e5f87871c9b6 -->|calls| 66ac0fbc_cfc2_1ca0_5597_62584de5d0fb 59ffb962_26a5_d14b_c297_e84d0815a53a["removeImages()"] 62075fb7_1bd7_ad4a_5b11_e5f87871c9b6 -->|calls| 59ffb962_26a5_d14b_c297_e84d0815a53a b3171812_ab1f_87c4_a83a_2a91e929e461["getName()"] 62075fb7_1bd7_ad4a_5b11_e5f87871c9b6 -->|calls| b3171812_ab1f_87c4_a83a_2a91e929e461 style 62075fb7_1bd7_ad4a_5b11_e5f87871c9b6 fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
build-plugin/spring-boot-gradle-plugin/src/dockerTest/java/org/springframework/boot/gradle/tasks/bundling/BootBuildImageIntegrationTests.java lines 472–484
@TestTemplate
void buildsImageWithMultipleCommandLineEnvironments() throws IOException {
writeMainClass();
writeLongNameResource();
BuildResult result = this.gradleBuild.build("bootBuildImage", "--environment", "BP_LIVE_RELOAD_ENABLED=true",
"--environment", "MY_CUSTOM_VAR=hello_world");
BuildTask task = result.task(":bootBuildImage");
assertThat(task).isNotNull();
assertThat(task.getOutcome()).isEqualTo(TaskOutcome.SUCCESS);
assertThat(result.getOutput()).contains("BP_LIVE_RELOAD_ENABLED=true");
assertThat(result.getOutput()).contains("MY_CUSTOM_VAR=hello_world");
removeImages(this.gradleBuild.getProjectDir().getName());
}
Domain
Subdomains
Source
Frequently Asked Questions
What does buildsImageWithMultipleCommandLineEnvironments() do?
buildsImageWithMultipleCommandLineEnvironments() is a function in the spring-boot codebase.
What does buildsImageWithMultipleCommandLineEnvironments() call?
buildsImageWithMultipleCommandLineEnvironments() calls 4 function(s): getName, removeImages, writeLongNameResource, writeMainClass.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free