Packaging and deploying with Enterprise Extensions
You can use the deployments and packages components to gather your built artifacts and move them to another location. Packaging and deployment are part of a multistep process that retrieves build output, packages the output, transfers or copies the package to another location, and then deploys it to corresponding containers and runtime environments in test or production systems.
- Build: Save build engine, save build definition, request build, save build result
- Packaging: request packaging
- Deployment: request deployment
If you want to deploy an application on z/OS® or IBM i, use work item packaging and deployment to select specific work items for deployment. Work items that are used to build your application contain information about which output objects resulted from the change sets associated with those work items. This information is used to package those output objects and then deploy them.
For all platforms, including z/OS, IBM i, Linux®, and UNIX, use ship list file packaging and deployment to specify a list of resources to package in a ship list, and then deploy those resources.
- Create a package definition.
- Run the package definition (create a package).
- Create a deployment definition.
- Run the deployment definition (request a deployment).
- Create a ship list filter file.
- Create a package definition.
- Run the package definition (create a package).
- Create a deployment definition.
- Run the deployment definition (request a deployment).
A package definition defines what built objects to package and where to package them.
To view or modify a package definition, from the Team Artifacts view, expand your project area node, then expand , and double-click your package, or right-click it and select Open Package Definition. The Package Definition editor opens. The package definition includes a Packaging tab with two subtabs: Package and Options.
SAMPLE.DEV.BUILD.LOAD
member filter: *
instead of data set filter: SAMPLE.DEV.BUILD.LOAD member filter:
SPECIFIC_NAME
. In this example, the data set SAMPLE.DEV.BUILD.LOAD
might
have 10,000 outputs in it, which is the same as 10,000 entries, instead of one generic entry with
the wild card member filter *.The archive produced on z/OS uses the PAX/tar file format, even if the package has a .zip extension. You can inspect the content of the produced archive. See Inspecting a package.
- Creating packages for UrbanCode Deploy
- Configuring a z/OS package definition
- Configuring an IBM i package definition
- Configuring a Linux package definition
- Configuring a z/OS deployment definition
- Configuring an IBM i deployment definition
- Configuring a Linux deployment definition
- Creating a ship list filter file
- Creating an include or exclude file (optional)
- Package tab
-
- What to package from a ship list, exclude list, or work items (z/OS and IBM i only)
- A root directory; pre- and post-commands
- z/OS: ISPF gateway script
- IBM i: intermediate save library file and save file options
- Options tab
-
- z/OS: the PDS to package, and where to deploy it
- IBM i: the libraries to package, and where to deploy them
- Optional: Delete the package for any deleted package result.
- Which package artifacts to publish (manifest or package)
A deployment definition defines how packages are loaded and deployed to the target server.
- Load tab
- The transport mechanism to use: copy or FTP
- Deployed and original package root directories
- Pre- and post-commands
- IBM i: intermediate save file library
- Deploy tab
- What and how to deploy
- Publish tab
- Which deployment artifacts to publish:
- Delta deployment manifest
- Cumulative deployment manifest
- Rollback deployment manifest