Re: How to get Xcode CI bot to update git submodules?
Re: How to get Xcode CI bot to update git submodules?
- Subject: Re: How to get Xcode CI bot to update git submodules?
- From: Dave Camp <email@hidden>
- Date: Fri, 09 Jan 2015 23:27:06 -0800
I saw someone on my team fix this very issue today on our Xcode server, but I wasn’t paying terribly close attention to exactly what buttons were clicked. Somewhere in the bot configuration there is a place to enter a script to run before CI is started. We had it cd into the project directory and do a git submodules update —init —recursive. Seemed to fix the problem.
Dave
On Jan 5, 2015, at 2:27 PM, Jens Alfke < email@hidden> wrote:
My QA team and I are still stuck on this problem. I've now filed rdar://19378528. Has anyone gotten Xcode CI bots to work with a project whose repo uses Git submodules??
—Jens On Dec 12, 2014, at 3:20 PM, Jens Alfke < email@hidden> wrote:
We set up a CI bot for Xcode to build our project, but it's not working correctly. Our git repo has a number of submodules, but the bot doesn't update the submodules before building, so it ends up building old revisions of the code in the submodules and gets errors.
I looked at the Source Control Log portion of the bot's logs, and I saw some lines saying "Forced Revision" implying that it's checked out specific revisions of the submodules. The problem is, those revisions are incorrect. I don't know where it got those rev IDs from; they're not the ones specified in the git repo, they're often several weeks old.
What's going wrong here?
—Jens
|
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden