Undeploying an application
You can remove an application from a production or staging environment by changing the version setting.
Tip: Click a Commit link for your deployed application to find
the GitHub configuration repo
environment.yaml file quickly. From staging or production environment page
details, click the release build or deployment job link and then click the
Commit link. A browser opens on the environment.yaml
file.
Undeploying an application for the build, deploy, and run option
If your instance was configured for the Build, deploy and run your application option, set the version ID in your GitHub configuration repo environment.yaml file back to an empty value.
version: 1.0
app:
# Set the build version ID to deploy for the "Build, deploy, and run" scenario.
# If the value is set to an empty string ("") the application is not deployed.
version: ""
Undeploying an application for the deploy and run option
If your instance was configured for the Deploy and run your application
option, set maven.version in your GitHub
configuration repo environment.yaml file back to an empty
value.
maven:
groupId: "net.wasdev.wlp.sample"
artifactId: "ferret"
version: ""
type: "war"