Skip to content

Conversation

@lockiechen
Copy link
Collaborator

What

  • Add "复用参数执行" (Reuse Parameters Execute) button in the "more actions" dropdown of the Build Detail page header
  • Button is always visible (even when pipeline is running), unlike rebuild dropdown
  • When clicked: Fetch build parameters, create temp paramSet, navigate to Execute Preview, auto-select and apply
  • Button only visible to users with execute permission
  • Temporary paramSet is cleared when leaving the preview page

Why

Users often want to re-run a pipeline with the same parameters from a previous build. Currently, they must manually copy and enter each parameter value. This feature provides a quick way to pre-fill startup parameters from an existing build.

Closes #12418

Changes

  • DetailHeader.vue: Add "more actions" dropdown with "复用参数执行" button
  • ParamSet.vue: Support temp paramSet display and auto-selection
  • preview.vue: Handle temp paramSet cleanup on beforeDestroy
  • store/modules/atom/: Add tempParamSet state, mutation, and action
  • pipelineConst.js: Add TEMP_PARAM_SET_ID constant
  • locale/pipeline/: Add i18n keys for zh-CN, en-US, ja-JP

@lockiechen lockiechen requested a review from terlinhe as a code owner January 21, 2026 08:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

feat:支持快速填充启动参数

1 participant