Once you have prepared
the Ant script, you must create the manifest file that lists the jobs
that you want to deploy. The manifest file should be formatted as
a standard text file, but name and extension do not matter. Each line
of the manifest file is deployed individually. A line can specify
a directory to deploy, a specific job to deploy, or a regular expression
to deploy.
When you specify a directory,
all of the jobs within that directory are deployed. When you specify
a specific job, only the matching job is deployed (if it exists).
When you specify a regular expression, any job in the given path that
matches the regular expression passed in by the user is deployed.
You can also deploy jobs recursively by adding the argument
-r to
the end of the line. When recursion is enabled, all subdirectories
of the given directory are deployed in the same manner as the given
directory.
Perform the following
steps to prepare the manifest:
-
Create a new text file
to contain the manifest and save in the location specified in the
deployment script file. Note that you can also modify one of the sample
manifest files provided in the
SASHomeSASDataIntegrationStudio<version>batchdeploy directory.
-
Enter the information
about the jobs that you want to deploy. For example, samplemanifest2
contains the following information:
/SampleFolder/SampleJob -r
/SampleFolder/^[A-Za-z]+$ -r
-
Note: A line in the manifest should
not end with a forward slash (/) unless the slash is followed by a
valid expression. If the line ends with a forward slash and no expression,
the job will run, return a 0 return code, but nothing will be deployed.