The following plugin provides functionality available through Pipeline-compatible steps. Read more about how to integrate steps into your Pipeline in the Steps section of the Pipeline Syntax page.
For a list of other such plugins, see the Pipeline Steps Reference page.
aiAgent: Run AI Agentagent (optional)
claudeCodecodexadditionalExecArgs : String (optional)
codex exec --json --skip-git-repo-check and before the prompt. Use this for exec flags such as --ephemeral, --ignore-user-config, --ignore-rules, --add-dir path, --output-schema schema.json, or --color never. Arguments are split on whitespace.
additionalGlobalArgs : String (optional)
codex and before exec. Use this for global Codex flags such as --search, --profile ci, -c key=value, --enable feature, or --image path.png. Arguments are split on whitespace. Keep secrets in Jenkins credentials or config, not here.
customConfigEnabled : boolean (optional)
~/.codex/config.toml from the configured content. This is useful for per-build Codex settings and MCP configuration.
customConfigToml : String (optional)
~/.codex/config.toml. Stored in job configuration as plain text. Keep secrets in Jenkins credentials.
cursorgeminiCliopenCodeapiCredentialsId : String (optional)
ANTHROPIC_API_KEY, OPENAI_API_KEY, CURSOR_API_KEY, GEMINI_API_KEY). If empty, the build uses credentials already present on the node.
apiEnvVarName : String (optional)
approvalTimeoutSeconds : int (optional)
commandOverride : String (optional)
disableInteractive : boolean (optional)
environmentVariables : String (optional)
KEY=VALUE format, one per line. Lines starting with # are ignored. These values are stored in plain text in job configuration.
extraArgs : String (optional)
--max-budget-usd 5 or --effort high. Arguments are split on whitespace.
failOnAgentError : boolean (optional)
model : String (optional)
claude-sonnet-4, o3, gemini-2.5-pro). Leave empty to use the agent's default model.
prompt : String (optional)
reasoningEffort : String (optional)
model_reasoning_effort, Claude Code maps it to --effort, and OpenCode maps it to --variant. Common values include low, medium, high, xhigh, and max. Unsupported agents ignore this field.
requireApprovals : boolean (optional)
setupScript : String (optional)
workingDirectory : String (optional)
yoloMode : boolean (optional)
Please submit your feedback about this page through this quick form.
Alternatively, if you don't wish to complete the quick form, you can simply indicate if you found this page helpful?
See existing feedback here.