Skip to content

Conversation

zhibek
Copy link

@zhibek zhibek commented Feb 17, 2016

Re-pushing previous merge from @zilmTT as a starting point, so the CI errors can be reviewed (the last CI job showing the errors has expired).

zilmTT and others added 4 commits August 24, 2015 12:28
If the deletion and adding path share some characters the contains() function succeed and removes the added path. It should be checked if they are equal. This fixes some rename issues we discovered in our environment.
Before deleting the job hierarchy it is needed to check for changes on the files, e.g config.xml. While deleting a job it gets updated, this blocks the git -rm command from deleting this hierarchy. Commits should always come with proper messages, git command fails if the commit message is empty. Which put scm-sync in an dirty state if there are commits which cannot be pushed.
As i encountered some copy issues, e.g was not able to copy blank build/ dir, i implemented a basic filter for the FileUtil.copy function. This matches on any XML-File and on includes specified on ManualIncludes list from scm-sync-configuration.
Conflicts:
	src/main/java/hudson/plugins/scm_sync_configuration/SCMManipulator.java
	src/main/java/hudson/plugins/scm_sync_configuration/ScmSyncConfigurationBusiness.java
	src/main/java/hudson/plugins/scm_sync_configuration/ScmSyncConfigurationPlugin.java
@jenkinsadmin
Copy link
Member

Thank you for this pull request! Please check this document for how the Jenkins project handles pull requests.

@amandel
Copy link
Member

amandel commented Jun 14, 2016

What about merging this?

@tommywo
Copy link

tommywo commented Oct 11, 2016

@rodrigc can you merge this?

Copy link
Contributor

@mnencia mnencia left a comment

Choose a reason for hiding this comment

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

This pull request is full of white space changes. It's very unlikely that it will be approved with all this unrelated changes.

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.

5 participants