Step-by-step
-
Run your local Cloud Foundry service
Execute the following commands from the Spring Cloud Task project directory.
-
Push the Spring Cloud Task
-
Verify deployment and run the Spring Cloud Task
NOTE: this is the command to run the task:
cf run-task MySimpleTask “.java-buildpack/open_jdk_jre/bin/java org.springframework.boot.loader.JarLauncher arg1” -m 256M –name newstask