Hi,

I am trying to build AOSP 4.3 in jenkins.
For this I hava copied AOSP code in my "jenkins home/customworkspace" and I have given this path in Advanced tab as custom workspace.
For build step, I have selected 'execute shell' and I wrote following commands
source build/envsetup.sh; lunch full_grouper-userdebug; make -j2
But this didn't helped me adn showed me the following message.

Then , I added 'android build files' in build step and fired build.
This build got completed but I am not able to recover files required for flash..
Please tell me the correct way to build AOSP through jenkins. And the steps I am following are right or wrong????


Started by user anonymous
Building in workspace /var/lib/jenkins/customworkspace/AOSP4.3
[AOSP4.3] $ /bin/sh -xe /tmp/hudson7101215273969361498.sh
+ source build/envsetup.sh
/tmp/hudson7101215273969361498.sh: 2: /tmp/hudson7101215273969361498.sh: source: Permission denied
Build step 'Execute shell' marked build as failure
[ANALYSIS-COLLECTOR] Skipping publisher since build result is FAILURE
Finished: FAILURE



Please tell me how to configure jenkins for this build....I am new to build process.


Regards,
Sagar.