Thanks Samy.
Tracked your questions and found that was not building from the cygwin
console either.
So I installed the latest cygwin package and found the helloworld.c is
building from the cygwin console.
After this I tried the same in Jenkins with my old jenkins settings
and got another issue from the Jenkins build console.
Please see the log:
Console Output
View as plain text
Started by user anonymous
Building in workspace C:\Program Files\Jenkins\workspace\Helloworld
[Helloworld] $ C:\cygwin\bin\bash -xe C:\WINDOWS\TEMP
\hudson8960933788009414142.sh
cygwin warning:
MS-DOS style path detected: C:\WINDOWS\TEMP
\hudson8960933788009414142.sh
Preferred POSIX equivalent is: /cygdrive/c/WINDOWS/TEMP/
hudson8960933788009414142.sh
CYGWIN environment variable option "nodosfilewarning" turns off this
warning.
Consult the user's guide for more details about POSIX paths:
http://cygwin.com/cygwin-ug-net/using.html#using-pathnames
+ c:/cygwin/bin/bash -xe c:/test/build.sh
+ c:/cygwin/bin/gcc -c helloworld.c
/usr/lib/gcc/i686-pc-cygwin/4.5.3/cc1.exe: error while loading shared
libraries: ?: cannot open shared object file: No such file or
directory
Build step 'Execute shell' marked build as failure
Finished: FAILURE
Please have a look at it and give some more inputs.
Many kind regards,
/renjith_g
On Mar 1, 10:15 pm, Sami Tikka <
sjti...@gmail.com> wrote:
> Can you execute the same commands in a Command Prompt window as
> Jenkins did and does it work?
>
> Can you do the same in the same directory where Jenkins tried to do it
> and does it work?
>
> Does it work if you change Jenkins service to run as some other user,
> e.g. yourself?
>
> -- Sami
>
> 2012/3/1 RENJITH G <
gopinadhanrenj...@gmail.com>:
>
> > I just noted the cosole output and finalised it was not built due the
> > sentence I saw
> > Build step 'Execute shell' marked build as failure
> > Finished: FAILURE
>
> > Now I checked in the workspace also and didn't see any out file.
>
> > I searched the error message in google and didn't get any valid results.Also
> > I posted in #jenkins IRC and didn't get any inputs.
> > I tried to dig into the error log but no more details on the issue is found
>
> > Expecting some more inputs from the team.
>
> > Many kind regards
> > /renjith_g
>
> > On Thu, Mar 1, 2012 at 8:01 AM, Sami Tikka <
sjti...@gmail.com> wrote:
>
> >> Have you considered the possibility that your build really failed? An
> >> error in the compiler or cygwin is not really jenkins's fault. What kind of
> >> steps have you taken to investigate the problem?
>
> >> -- Sami
>