I put the build script (copy past) into my shell and changed some parameters. Screenshot is coming..
EDIT1:
The script I put inso the jenkins shell:
http://pastebin.com/BKcif2aZ
EDIT2:
The Screenshots
I hope this helps you to help me
Kaaaaaaaaatsching.... Tapatalked!
OK, so I'm not sure this will resolve your issue without us working through it a little more, but right off the bat you are doing something fundamentally on disagreement with my guide.
Do not paste the build script in your execute shell section in Jenkins. You just CALL it from Jenkins.
Your execute shell section should ONLY have something like this
Code:
#!/bin/bash
cd ~/var/lib/jenkins/ParanoidAndroidFolder
source rom-build.sh i9300
That's ALL your execute shell section should have. The execute shell section doesn't work properly with full scripts, that's why we care CALLING to your actual shell script from the folder.
Try that and get back to me, but that is STEP 1 to fixing this.
If this doesn't work, its because we can't call the script with the i9300 parameter from Jenkins. To fix that we will have to make another local (not Jenkins) script to call the ROM build script.
I can help you do all this. But first let me know if this gets the build any further.
If not, we will have Jenkins call a local shell script that runs the build script with the i9300 parameter separately
I know this gets complex, but you have to do this type of stuff to get Jenkins to work.
Then once we get all this done we can setup auto upload.
Sent from my GT-N7000 using Tapatalk 2