ant - Android Jenkins Build - debug "target" does not exist in the project error -
i set jenkins server along android sdk on headless linux build server. create android project via typical "android create project ..." command.
after "cd" new project, can "ant clean debug" jenkins user on command line. running jenkins workspace directory (.jenkins/workspace/<project name>):
# su jenkins $ ant clean debug .... successful ....
however, when jenkins job builds target "debug" not exist in project "projectname" error
i set sdk.dir variable android sdk directory, command in jenkins log runs like:
$ ant -dsdk.dir=/opt/java/android clean debug
i've set permissions 777 on entire android sdk folder:
# chmod -r 777 /usr/java/android/android-sdk
i'm @ loss else might missing? why command run on command line unsuccessful jenkins job?
thanks!
are running command line ant build same place jenkins trying to?
double check
.jenkins/workspace/<project-name>
directory create sure has same project files you're running things command line manually.
android ant jenkins
No comments:
Post a Comment