Skip to content

Commit cb884e0

Browse files
docs: add changelog entry for WRANGLER_OUTPUT_FILE environment variables
Add changelog entry describing the new WRANGLER_OUTPUT_FILE_PATH and WRANGLER_OUTPUT_FILE_DIRECTORY environment variables that allow capturing Wrangler command output in structured ND-JSON format for CI/CD pipelines. Co-Authored-By: pbacondarwin@cloudflare.com <pete@bacondarwin.com>
1 parent 4e39eba commit cb884e0

1 file changed

Lines changed: 9 additions & 0 deletions

File tree

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
---
2+
title: Capture Wrangler command output in structured format
3+
description: New environment variables allow CI/CD pipelines to programmatically access deployment information
4+
products:
5+
- workers
6+
date: 2025-11-03
7+
---
8+
9+
You can now capture Wrangler command output in a structured [ND-JSON](https://github.com/ndjson/ndjson-spec) format by setting the [`WRANGLER_OUTPUT_FILE_PATH`](/workers/wrangler/system-environment-variables/#supported-environment-variables) or [`WRANGLER_OUTPUT_FILE_DIRECTORY`](/workers/wrangler/system-environment-variables/#supported-environment-variables) environment variables. This feature is particularly useful for CI/CD pipelines and automation tools that need programmatic access to deployment information such as worker names, version IDs, deployment URLs, and error details. Commands that support this feature include [`wrangler deploy`](/workers/wrangler/commands/#deploy), [`wrangler versions upload`](/workers/wrangler/commands/#versions), [`wrangler versions deploy`](/workers/wrangler/commands/#versions), and [`wrangler pages deploy`](/workers/wrangler/commands/#deploy-1).

0 commit comments

Comments
 (0)