Scons Jenkins plugin does not read SConstruct -


i trying build c++ project using scons on jenkins running on ubuntu box (running master).

i have installed scons command-line using apt-get , have installed jenkins scons plugin: in master configuration have configured path scons binary:

enter image description here

in job config (freestyle project) have:

enter image description here

when run build get:

building in workspace /var/lib/jenkins/workspace/my-project checkout:my-project / /var/lib/jenkins/workspace/my-project - hudson.remoting.localchannel@5d56ead7 using strategy: default last built revision: revision d919f00fb2e59ce1214e276e6c60e834d4035d5b (origin/master) fetching changes 1 remote git repository fetching upstream changes origin commencing build of revision d919f00fb2e59ce1214e276e6c60e834d4035d5b (origin/master) checking out revision d919f00fb2e59ce1214e276e6c60e834d4035d5b (origin/master) [my-project] $ /usr/bin/scons -f scons9080484787377372778.generated -c my-project scons: entering directory `/var/lib/jenkins/workspace/my-project' scons: reading sconscript files ... scons: done reading sconscript files. scons: building targets ... scons: `.' date. scons: done building targets. finished: success 

but not correct. ideas why project/sconstruct located in root of workspace not read/build?

u123,

scons found sconstruct file (besides showing reading sconscript files). log shows default scons target(s) had build built already, because built job before , no source files changed since then.

try workspace > wipe out current workspace in jenkins , building job again (build now). log file new build must show full scons build sequence then.

a nice thing add build step scons -c (options = -c) before scons target clean , force full rebuild afterwards.


Comments

Popular posts from this blog

ios - UICollectionView Self Sizing Cells with Auto Layout -

node.js - ldapjs - write after end error -

DOM Manipulation in Wordpress (and elsewhere) using php -