diff --git a/web/src/assets/locales/en.json b/web/src/assets/locales/en.json index f02638fea..8ad49e253 100644 --- a/web/src/assets/locales/en.json +++ b/web/src/assets/locales/en.json @@ -261,7 +261,7 @@ "metadata_download_successful": "Metadata downloaded successfully", "no_permission": "You don't have permission to access debug information.", "metadata_exec_title": "Rerun pipeline locally", - "metadata_exec_desc": "Download this pipeline's metadata to run it locally. This allows you to troubleshoot issues and test changes before committing them." + "metadata_exec_desc": "Download this pipeline's metadata to run it locally. This allows you to troubleshoot issues and test changes before committing them. `woodpecker-cli` matching the Woodpecker Server version must be installed locally." } } }, diff --git a/web/src/views/repo/pipeline/PipelineDebug.vue b/web/src/views/repo/pipeline/PipelineDebug.vue index e6d49f7c6..599275582 100644 --- a/web/src/views/repo/pipeline/PipelineDebug.vue +++ b/web/src/views/repo/pipeline/PipelineDebug.vue @@ -41,7 +41,7 @@ const isLoading = ref(false); const metadataFileName = computed( () => `${repo?.value.full_name.replaceAll('/', '-')}-pipeline-${pipeline?.value.number}-metadata.json`, ); -const cliExecWithMetadata = computed(() => `# woodpecker exec --metadata-file ${metadataFileName.value}`); +const cliExecWithMetadata = computed(() => `# woodpecker-cli exec --metadata-file ${metadataFileName.value}`); async function downloadMetadata() { if (!repo?.value || !pipeline?.value || !repoPermissions?.value?.push) {