mirror of
https://github.com/woodpecker-ci/woodpecker.git
synced 2025-09-19 04:30:39 +00:00
fix cli exec statement in debug tab (#4643)
This commit is contained in:
@@ -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."
|
||||
}
|
||||
}
|
||||
},
|
||||
|
@@ -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) {
|
||||
|
Reference in New Issue
Block a user