Hi Abbas Sabra,
Pls find the above solution and send me a correct byuild command to execute in execute shell command for c-project using build-wrapper sonarqube on high priority.
Thanks
Hi Abbas Sabra,
Pls find the above solution and send me a correct byuild command to execute in execute shell command for c-project using build-wrapper sonarqube on high priority.
Thanks
Hi Abbas Sabra,
Pls find the above solution and send me a correct byuild command to execute in execute shell command for c-project using build-wrapper sonarqube on high priority.
Thanks
Hello @csk,
I don’t know how can I help you if you are not reading my replies and you are not answering my questions. Can you please answer my previous question:
No its not building my C-project its throwing error like below:
C:\Program Files (x86)\Jenkins\workspace\C-Project>build-wrapper-win-x86-64.exe --out-dir bw_output mingw32-make clean all
-d was unexpected at this time.
‘PKG_CONFIG_PATH’ is not recognized as an internal or external command,
operable program or batch file.
FIND: Invalid switch
rm -f /src/dll.o /src/libdll.a
process_begin: CreateProcess(NULL, pwd, …) failed.
process_begin: CreateProcess(NULL, pwd, …) failed.
process_begin: CreateProcess(NULL, pwd, …) failed.
src/src.mk:14: recipe for target ‘clean-libdll’ failed
process_begin: CreateProcess(NULL, rm -f /src/dll.o /src/libdll.a, …) failed.
make (e=2): The system cannot find the file specified.
mingw32-make: *** [clean-libdll] Error 2
C:\Program Files (x86)\Jenkins\workspace\C-Project>exit 2
Build step ‘Execute Windows batch command’ marked build as failure
Finished: FAILURE
the command i have given in exeute shell is like:
build-wrapper-win-x86-64.exe --out-dir bw_output mingw32-make clean all
@csk,
I’m asking you to run mingw32-make clean all and not build-wrapper-win-x86-64.exe --out-dir bw_output mingw32-make clean all.
Hi,
I have executed the command as mingw32-make clean all in Build section execute shell as :
mingw32-make clean all and i am getting this error as:
[C-Project] $ C:\Users\KRY1COB\AppData\Local\Programs\Git\bin\sh.exe -xe C:\WINDOWS\TEMP\jenkins6432704205977111658.sh
(' /usr/bin/sh: -c: line 0: find /c/Program Files (x86)/Jenkins/workspace/C-Project/ -name ‘*.d’’@csk why did you switch to another directory?? and why are you running it through sh.exe ??
you should run the command from the same directory :
C:\Program Files (x86)\Jenkins\workspace\C-Project> mingw32-make clean all
and not
C:\Users\KRY1COB\AppData\Local\Programs\Git\bin\sh.exe -xe
Anyway, as you can see you are not able to build your project without build-wrapper. Please fix and master your build system without build-wrapper. Only when “C:\Program Files (x86)\Jenkins\workspace\C-Project> mingw32-make clean all” build your project successfully I will be able to help you.