From 5fc1627755c0c0bb461bc3e22119c13fc83c41df Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Kevin=20McCarpenter=E2=84=A2=EF=B8=8F?= Date: Fri, 18 Mar 2022 18:43:59 -0300 Subject: [PATCH] Fix bitbucket args (#8) --- .../on-premise-agent/configure-bitbucket-to-agent.md | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/how-to/on-premise-agent/configure-bitbucket-to-agent.md b/how-to/on-premise-agent/configure-bitbucket-to-agent.md index f540a160..d6754506 100644 --- a/how-to/on-premise-agent/configure-bitbucket-to-agent.md +++ b/how-to/on-premise-agent/configure-bitbucket-to-agent.md @@ -73,18 +73,18 @@ Quickly get a single-line instance of your private key with the key header/foote The following arguments must be provided in addition to the arguments provided in ![on-premise agent](README.md). You can configure multiple bitbuckets by including multiple entries with different indices. The private key of each index must match up with the host for that index. -* `moderne_agent_bitbucket[{index}]_private-key` - Private key configured in previous step -* `moderne_agent_bitbucket[{index}]_host` - fully-qualified hostname of running bitbucket instance. example: `bitbucket.org` +* `moderne_agent_bitbucket_{index}_private-key` - Private key configured in previous step +* `moderne_agent_bitbucket_{index}_host` - fully-qualified hostname of running bitbucket instance. example: `bitbucket.org` Example using Docker (note that host and private-key are fake): ``` docker run \ ... --e moderne_agent_bitbucket[0]_private-key=ABCDE \ --e moderne_agent_bitbucket[0]_host=bitbucket.myorg.com \ --e moderne_agent_bitbucket[1]_private-key=FGHIJ \ --e moderne_agent_bitbucket[1]_host=bitbucket2.myorg.com \ +-e moderne_agent_bitbucket_0_private-key=ABCDE \ +-e moderne_agent_bitbucket_0_host=bitbucket.myorg.com \ +-e moderne_agent_bitbucket_1_private-key=FGHIJ \ +-e moderne_agent_bitbucket_1_host=bitbucket2.myorg.com \ ... ``` {% endtab %}