[squeak-dev] First green ball

Chris Cunnington smalltalktelevision at gmail.com
Wed Aug 1 17:26:11 UTC 2012


[root at server1 Squeak]# pwd
/home/teamjenkins/workspace/Squeak
[root at server1 Squeak]# ls -la
total 67632
drwxr-xr-x 4 teamjenkins teamjenkins     4096 Aug  1 13:00 .
drwxr-xr-x 3 teamjenkins teamjenkins     4096 Jul 31 13:04 ..
-rwxr-xr-x 1 jenkins     jenkins          373 Aug  1 13:00 builtastic.sh
drwxr-xr-x 6 jenkins     jenkins         4096 Jul 31 13:04 coglinux
drwxr-xr-x 8 jenkins     jenkins         4096 Aug  1 13:00 .git
-rw-r--r-- 1 jenkins     jenkins         1828 Jul 31 13:04 
HelpSystem-Tests-Test.xml
-rw-r--r-- 1 jenkins     jenkins          209 Aug  1 13:00 README.md
-rw-r--r-- 1 jenkins     jenkins      7214653 Jul 31 13:04 
Squeak4-2012-07-31T13:04:46.33+00:00.changes
-rw-r--r-- 1 jenkins     jenkins     18002240 Jul 31 13:04 
Squeak4-2012-07-31T13:04:46.33+00:00.image
lrwxrwxrwx 1 root        root               9 Aug  1 13:00 
Squeak4.4-12053.changes -> /dev/null
-rw-r--r-- 1 jenkins     jenkins     17999888 Aug  1 13:00 
Squeak4.4-12053.image
-rw-r--r-- 1 jenkins     jenkins     25999800 Aug  1 13:00 SqueakV41.sources
-rw-r--r-- 1 jenkins     jenkins         2595 Aug  1 13:00 tests.st
[root at server1 Squeak]# su -s /bin/sh -c "git reset --hard" - jenkins
fatal: Not a git repository (or any of the parent directories): .git


Two things.

The first is I don't use sudo on Linux, as it's usually just me on the 
box. As such, I've used "su -s /bin/sh -c..." instead.

The second is are you sure you want /home/teamjenkins/workspace/Squeak? 
And not:

/var/lib/jenkins/workspace/Squeak

A symbolic link from one to the other gives an appearance of things but 
not a permission of things.

Actually, I did it in that dir and got the same response:

[root at server1 Squeak]# pwd
/var/lib/jenkins/workspace/Squeak
[root at server1 Squeak]# su -s /bin/sh -c "git reset --hard" - jenkins
fatal: Not a git repository (or any of the parent directories): .git


I'm back in front of the computer now, so I can respond more quickly.

Chris


More information about the Squeak-dev mailing list