Bug #2654

Switching of repository type doesn't work

Added by R. Haschke over 7 years ago. Updated over 7 years ago.

Status:ResolvedStart date:09/09/2016
Priority:NormalDue date:
Assignee:J. Moringen% Done:

100%

Category:Jenkins API
Target version:0.7

Description

If I switch a projects repository type, e.g. from git to archive, the existing jenkins settings for the git repository are not overridden. (The name of the project stays the same.)
I believe I have seen a similar issue for the transition from svn to git (or vice versa).

Associated revisions

Revision afb45fbb
Added by J. Moringen over 7 years ago

Archive aspect removes repository in src/project/aspects.lisp

fixes #2654

Previously, updating a existing job with a repository configuration to
use an archive download did not remove the repository configuration.

  • lib/jenkins.api/src/api/classes.lisp (credentials scm/null): new
    method; empty credentials list for null scm
  • lib/jenkins.api/src/api/package.lisp (package jenkins.api): added
    exported symbol scm/null
  • src/project/aspects.lisp (define-aspect archive): install `scm/null'
    repository

History

#1 Updated by J. Moringen over 7 years ago

  • Category set to Jenkins API
  • Status changed from New to Feedback

R. Haschke wrote:

If I switch a projects repository type, e.g. from git to archive, the existing jenkins settings for the git repository are not overridden.

You mean the repository section in the previously generated job is not deleted?

(The name of the project stays the same.)

I don't understand this part. Are you mentioning this in order to make clear that the name of the generated job does not change?

I believe I have seen a similar issue for the transition from svn to git (or vice versa).

That transition would be slightly different, though.

#2 Updated by J. Moringen over 7 years ago

  • Subject changed from switching of repository type doesn't work to Switching of repository type doesn't work

#3 Updated by J. Moringen over 7 years ago

  • Status changed from Feedback to Resolved
  • % Done changed from 0 to 100

#4 Updated by J. Moringen over 7 years ago

  • Assignee set to J. Moringen

#5 Updated by J. Moringen over 7 years ago

  • Target version set to 0.7

Also available in: Atom PDF