Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

SCM and Git plugin fixes #6353

Merged
merged 5 commits into from
Aug 10, 2020
Merged

SCM and Git plugin fixes #6353

merged 5 commits into from
Aug 10, 2020

Conversation

gschueler
Copy link
Member

Is this a bugfix, or an enhancement? Please describe.

Fix several issues with SCM/git serialization.

Describe the solution you've implemented

  • renaming a job does not correctly show as "Modified" state, instead shows as "Created" state
  • deleting a job and later recreating it or adding another job with same scm file path, can fail to serialize properly
  • updating multiple jobs via API/rd can fail to serialize some jobs

If a job is deleted, then another job added
with same scm path, it may fail to be serialized
to the git repo correctly because the version
check counter is not reset
if multiple job changes occur at once, e.g. api import,
then asynch handler was not loading correct job definitions
and failing to serialize the jobs for scm

removed transaction settings, and pass job
@jtobard
Copy link
Contributor

jtobard commented Aug 7, 2020

Tested on local and is working. We have some SCM API tests, it is possible to include tests for this? (In a future iteration I mean)

Copy link
Contributor

@sjrd218 sjrd218 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Works for me.

@gschueler gschueler added this to the 3.3.2 milestone Aug 10, 2020
@gschueler gschueler merged commit 50b38f7 into main Aug 10, 2020
@gschueler gschueler deleted the fix/git-scm-synch branch August 10, 2020 16:08
gschueler added a commit that referenced this pull request Sep 1, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants