Add `commit` field to checkout/tag creation/etc. steps (OD-2333)
sev opened 10 months ago

I was following this guide, and was surprised when the Push repository step pushed the commit of the build, not the current HEAD. In hindsight this makes sense, but it would be nice to have the option to use the current HEAD or step-provided commit instead of the build commit. Currently to work around this I am git pushing manually inside a command step.

  • Robin Shen commented 10 months ago

    Job runs against a specific commit (either selected by user or auto-triggered when branch is updated) to make sure the same commit is used across all steps of the job which is important for consistency of the job. Specifying commit in each step violates OneDev's design goal.

  • Robin Shen changed state to 'Closed' 10 months ago
    Previous Value Current Value
    Open
    Closed
issue 1/1
Type
Improvement
Priority
Normal
Assignee
Labels
No labels
Issue Votes (0)
Watchers (2)
Reference
OD-2333
Please wait...
Connection lost or session expired, reload to recover
Page is in error, reload to recover