Building from develop branch works, but not master
Hello,
I don't necessarily think that this is an issue with AppVeyor, but I am hoping for some help/guidance.
I have a repository with both a master and develop branch. We have just finished a scope of work on the develop branch, and the build completed successfully:
https://ci.appveyor.com/project/GaryEwanPark/chocolateygui/build/0....
So I went ahead and merged into the master branch. At this point, the code in master and develop are EXACTLY the same. I have verified this using kdiff. However, the build of the master branch on AppVeyor immediately fails when it tries to call into psake:
https://ci.appveyor.com/project/GaryEwanPark/chocolateygui/build/1....
The error doesn't make any sense to me, and although it is a known issue on the psake issue list:
https://github.com/psake/psake/issues/126
There doesn't seem to be any suggestions about what the problem is.
Can you think of anything from an AppVeyor stand point that would be different between the builds running on the master and develop branch?
Thanks
Gary
Comments are currently closed for this discussion. You can start a new one.
Keyboard shortcuts
Generic
? | Show this help |
---|---|
ESC | Blurs the current field |
Comment Form
r | Focus the comment reply box |
---|---|
^ + ↩ | Submit the comment |
You can use Command ⌘
instead of Control ^
on Mac
1 Posted by gep13 on 26 Feb, 2015 10:00 PM
Is there any difference in the error handling that is applied on AppVeyor, depending on what branch is being built? I believe I might have found the problem in psake that is causing the problem, and I have went as far as to comment out the line of code in psake, but the build is still failing, but with a different error message:
https://ci.appveyor.com/project/GaryEwanPark/chocolateygui/build/1....
It's almost as though, when running on the develop branch, an internal error code is being ignored by the build, but when running on anything but develop, it is being bubbled up.
Does that even make any sense? I am really clutching at straws here. I really can't see why it would work from one branch, but not others.
Any ideas?
Gary
Support Staff 2 Posted by Feodor Fitsner on 26 Feb, 2015 10:31 PM
At a glance - the error says
...file 'psake.psd1' in directory 'C:\projects\ChocolateyGUI\Tools\psake\en-US\'
and indeed there is no such directory in the repo and build commit: https://github.com/chocolatey/ChocolateyGUI/tree/1e059d01bbaf2efd3c...Support Staff 3 Posted by Feodor Fitsner on 26 Feb, 2015 10:35 PM
OK, I went through that issue regarding psake. You can try modifying psake by removing that line in question and put it in your repo.
4 Posted by gep13 on 26 Feb, 2015 10:54 PM
Yip, tried that as well, but still no dice...
I "think" I might be onto something though, and if it pans out, it is entirely my fault! :-)
Will post back soon.
Gary
5 Posted by gep13 on 26 Feb, 2015 10:55 PM
Yip, entirely my fault!
Sorry to waste your time!
Gary
6 Posted by gep13 on 26 Feb, 2015 10:57 PM
Here is the problem:
https://github.com/chocolatey/ChocolateyGUI/commit/6d5c83e4e1bb447d...
A
-ne
that really should have been a-eq
.And so I don't forget again:
https://github.com/chocolatey/ChocolateyGUI/commit/6d5c83e4e1bb447d...
Support Staff 7 Posted by Feodor Fitsner on 26 Feb, 2015 11:07 PM
:)
gep13 closed this discussion on 15 Mar, 2017 02:42 PM.