On Mon, Apr 04, 2016 at 06:39:00PM +0800, Li-Wen Hsu wrote: > On Mon, Apr 04, 2016 at 00:50:14 +0200, Baptiste Daroussin wrote: > > On Mon, Apr 04, 2016 at 04:41:47AM +0800, Li-Wen Hsu wrote: > > > I've checked this a little more, I found the return code of > > > "installing a installed package" has been changed. > > > > > > For pkg 1.6.4_1, it returns 0, but 1.7.1 returns 70, thus jenkins > > > consider the build script execution failure. > > > > > > > > It shoudl not return 70 if it returns 70 then there is a bug I can fix, I need > > to know more about what is failing to be able to fix > > What else information do you need? My experiment is as following: > > On a machine uses quarterly branch, where pkg is 1.6.4_1, install a > installed package. I choose rsync here, then echo $?, it returns 0. > > And I switch to latest branch, also use `pkg install -y rsync`, but this > time $? is 70. > > Jenkins "Execute shell" build step checks return value of each command > in the shell script, if it is non-zero, it aborts the build and > considers if failure. Return 70 means an error occured. if I look at the log I can see that powerpc64-gcc is not installed for sure, hence the error 70 What is strange it that no "error message is shown" Best regards, Bapt
This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:41:03 UTC