Hi,

Workaround for job renames is :

  • Stop Jenkins
  • Manually `git mv` directories in the checkoutConfiguration/ directory, commit change, then push the commit to your repository
  • Restart Jenkins

In last resort, you can switch in the global config page : Git SCM => No SCM + save => Git SCM + save
This will result in :

  • Resetting checkoutConfiguration/ content (changing scm resets the directory)
  • Performing a new "initial sync" with the repository, that is to say :
    • Clone repo into checkoutConfiguration
    • Add folders located into your JENKINS_HOME/ and not present into checkoutConfiguration/ to the repo

Initial sync has a drawback : if you have checkoutConfiguration/foo and JENKINS_HOME/foo doesn't exist, foo won't be removed from your repository (I prefer not to remove such files due to "reload files from repo" feature)

This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators.
For more information on JIRA, see: http://www.atlassian.com/software/jira

--
You received this message because you are subscribed to the Google Groups "Jenkins Issues" group.
To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-issues+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to