visual studio - Jenkins to build only modified files when checkout happens from subversion when build is scheduled -
i have configured subversion , jenkins microsoft visual basic 6 project. subversion contains more 4000 files. every time build triggers, jenkins compiles 4000 files, if few files have changed. have written batch script compile visual basic 6 files search *.vpb
files in every folder. if *.vpb
, present compile files present in folder
@echo off del "d:\buildfiles\log_file.txt" /r "d:\jenkins_setup\workspace\project" %%a in (*.vbp) ( "c:\program files\microsoft visualstudio\vb98\vb6.exe" /make %%a /outdir "d:\buildfiles" /out d:error_log.txt echo %%a >> "d:\buildfiles\log_file.txt" )
pasted script in jenkins.
if files few folders have changed, want script compile files, not 4000 files present in jenkins workspace. make work, else need add script?
jenkins doesn't compile. process handed whatever build software use. example, if have c
or c++
project, jenkins call make
, pass makefile. if have java project, jenkins call mvn
, ant
, or gradle
correct pom or build script. individual build system rebuild intelligently if desired.
in case, it's how visual basic handling visual basic project files. believe build system compiles files last modification date , time newer corresponding object file's modification date , time.
you should able onto jenkins system, go workdirectory of project , run build command line , see happens. check file dates. might want set jenkins project update instead of checkout.
Comments
Post a Comment