You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: azure-spring-apps-enterprise/workshops/azure-spring-apps-enterprise/day/04-hello-world-application/README.md
+4-2
Original file line number
Diff line number
Diff line change
@@ -240,7 +240,8 @@ pwd
240
240
az spring app deploy \
241
241
--name hello-world \
242
242
--source-path . \
243
-
--build-env BP_JVM_VERSION=17
243
+
--build-env BP_JVM_VERSION=17 \
244
+
--verbose
244
245
```
245
246
246
247
* Alternatively, you can deploy an application using JAR file, e.g.
@@ -249,7 +250,8 @@ az spring app deploy \
249
250
az spring app deploy \
250
251
--name hello-world \
251
252
--artifact-path target/demo-0.0.1-SNAPSHOT.jar \
252
-
--build-env BP_JVM_VERSION=17
253
+
--build-env BP_JVM_VERSION=17 \
254
+
--verbose
253
255
```
254
256
> Note: You could skip the `--build-env BP_JVM_VERSION=17` as that is now the default Java version for Microsoft Java Buildpack. You could use `--build-env BP_JVM_VERSION=21` for Java 21 applications.
0 commit comments