[Box-Admins] SqueakTrunk is ready

Chris Cunnington smalltalktelevision at gmail.com
Mon Oct 22 17:15:14 UTC 2012


On 12-10-22 12:59 PM, Frank Shearar wrote:
> On 22 October 2012 17:52, Chris Cunnington
> <smalltalktelevision at gmail.com> wrote:
>> On 12-10-22 12:41 PM, Frank Shearar wrote:
>>> On 22 October 2012 17:27, Chris Cunnington
>>> <smalltalktelevision at gmail.com> wrote:
>>>> On 12-10-19 5:18 PM, Frank Shearar wrote:
>>>>> On 19 October 2012 20:09, Chris Cunnington
>>>>> <smalltalktelevision at gmail.com> wrote:
>>>>>> On 12-10-19 2:45 PM, Frank Shearar wrote:
>>>>>>> Er yes, the plugin too. (It's called "Git Plugin", but the old build
>>>>>>> server also has the "GitHub API Plugin".) I meant you probably need to
>>>>>>> "apt-get install git" on the Jenkins box because git's not installed.
>>>>>>>
>>>>>>> frank
>>>>>>>
>>>>>> That made me laugh. Right. Actual Git.
>>>>>>
>>>>>> I've apt-get'd git-core, so maybe you could try it again?
>>>>> Mm, progress! I think we now have a permissions problem, in that git
>>>>> tries to write to somewhere/.git/FETCH_HEAD. I guess "somewhere" is
>>>>> the workspace Jenkins uses?
>>>>> http://173.246.101.237:8080/job/SqueakTrunk/5/console makes it look
>>>>> like it's /var/lib/jenkins/workspace/SqueakTrunk/ that needs
>>>>> adjusting.
>>>>>
>>>>> frank
>>>>>
>>>>>> Chris
>>>>>>
>>>> OK, /var/lib/jenkins/workspace/SqueakTrunk is now a writable directory.
>>> Cool. We now get one step further. I think we're reworking through the
>>> setup of the first CI: we now fail when checking out the repository
>>> (in the sense that we have successfully cloned the repo, and are
>>> setting up the working contents to HEAD):
>>>
>>> Caused by: hudson.plugins.git.GitException: Command "git checkout -f
>>> 2f48b219d00362c1201db0eab1467562f8a77c1f" returned status code 1:
>>> stdout:
>>> stderr: error: unable to unlink old 'Cog.app/Contents/Info.plist'
>>> (Permission denied)
>>>
>>> frank
>>>
>>>> Chris
>> Right. I went into Cog.app and opened some permissions for files and
>> directories.
> You'd need to do so for the whole of
> /var/lib/jenkins/workspace/SqueakTrunk, because we're now failing
> because of file permissions on other files:
>
> Caused by: hudson.plugins.git.GitException: Command "git checkout -f
> 2f48b219d00362c1201db0eab1467562f8a77c1f" returned status code 1:
> stdout:
> stderr: error: unable to unlink old 'Cog.app/Contents/Info.plist'
> (Permission denied)
> error: unable to unlink old 'Cog.app/Contents/MacOS/Croquet' (Permission denied)
> error: unable to unlink old 'Cog.app/Contents/PkgInfo' (Permission denied)
>
> frank
>
>> Chris
>>
>>
Right. I'd cleared permissions for SqueakTrunk and sundries inside that 
directory. I did not do it for the enclosing directory, workspace:

/var/lib/jenkins/workspace/SqueakTrunk

Chris



More information about the Box-Admins mailing list