uploadJob
Because Job Runner executes jobs in a sandbox virtual machine, the process environment variable that some packages or libraries use will not run as part of a job uploaded to Job Runner.
|
dxp-next job-runner uploadJob --help
Upload a new job to the Job runner.
Usage: dxp-next job-runner uploadJob [options] <inputSource>
Upload a new job to the job-runner
Arguments:
inputSource Path to the folder containing the job code .js files and the manifest.json file
Options:
-t, --tenant <string> Tenant ID to deploy to. If not provided will use configured tenant from login
-h, --help display help for command
Required parameters
inputSource
-
Path to the folder that contain the job code
.js
file and themanifest.json
file.The current total package size limit for Job Runner is 100 MB.
Optional parameters
-t
--tenant
<string>-
The tenant ID for deployment. If this string is not provided the service will use the configured tenant from login.
-h --help
-
Display the help for this command.