Started by user anonymous Building in workspace C:\Users\Prasanth\.jenkins\workspace\Test > C:\Program Files (x86)\Git\cmd\git.exe rev-parse --is-inside-work-tree # timeout=10 Fetching changes from the remote Git repository > C:\Program Files (x86)\Git\cmd\git.exe config remote.origin.url https://github.com/Prasanthkarthick/samp.git # timeout=10 Fetching upstream changes from https://github.com/Prasanthkarthick/samp.git > C:\Program Files (x86)\Git\cmd\git.exe --version # timeout=10 using .gitcredentials to set credentials > C:\Program Files (x86)\Git\cmd\git.exe config --local credential.helper store --file=\"C:\Users\Prasanth\AppData\Local\Temp\git2187987975379449027.credentials\" # timeout=10 > C:\Program Files (x86)\Git\cmd\git.exe -c core.askpass=true fetch --tags --progress https://github.com/Prasanthkarthick/samp.git +refs/heads/*:refs/remotes/origin/* > C:\Program Files (x86)\Git\cmd\git.exe config --local --remove-section credential # timeout=10 > C:\Program Files (x86)\Git\cmd\git.exe rev-parse "refs/remotes/origin/master^{commit}" # timeout=10 > C:\Program Files (x86)\Git\cmd\git.exe rev-parse "refs/remotes/origin/origin/master^{commit}" # timeout=10 Checking out Revision e379cc050db983a21f82e40e1a77015d3401cce1 (refs/remotes/origin/master) > C:\Program Files (x86)\Git\cmd\git.exe config core.sparsecheckout # timeout=10 > C:\Program Files (x86)\Git\cmd\git.exe checkout -f e379cc050db983a21f82e40e1a77015d3401cce1 > C:\Program Files (x86)\Git\cmd\git.exe rev-list e379cc050db983a21f82e40e1a77015d3401cce1 # timeout=10 [Test] $ cmd.exe /C '"C:\apache-ant-1.9.3\bin\ant.bat clean debug && exit %%ERRORLEVEL%%"' Buildfile: C:\Users\Prasanth\.jenkins\workspace\Test\build.xml -check-env: [checkenv] Android SDK Tools Revision 24.0.0 [checkenv] Installed at C:\Users\Prasanth\AppData\Local\Android\sdk\android-sdk -setup: [echo] Project Name: androidtestapp [gettype] Project Type: Application -pre-clean: clean: [delete] Deleting directory C:\Users\Prasanth\.jenkins\workspace\Test\bin [delete] Deleting directory C:\Users\Prasanth\.jenkins\workspace\Test\gen [getlibpath] Library dependencies: [getlibpath] No Libraries [subant] No sub-builds to iterate on -set-mode-check: -set-debug-files: -check-env: [checkenv] Android SDK Tools Revision 24.0.0 [checkenv] Installed at C:\Users\Prasanth\AppData\Local\Android\sdk\android-sdk -setup: [echo] Project Name: androidtestapp [gettype] Project Type: Application -set-debug-mode: -debug-obfuscation-check: -pre-build: -build-setup: [getbuildtools] Using latest Build Tools: 21.1.1 [echo] Resolving Build Target for androidtestapp... [gettarget] Project Target: Android 5.0 [gettarget] API level: 21 [echo] ---------- [echo] Creating output directories if needed... [mkdir] Created dir: C:\Users\Prasanth\.jenkins\workspace\Test\bin [mkdir] Created dir: C:\Users\Prasanth\.jenkins\workspace\Test\bin\res [mkdir] Created dir: C:\Users\Prasanth\.jenkins\workspace\Test\bin\rsObj [mkdir] Created dir: C:\Users\Prasanth\.jenkins\workspace\Test\bin\rsLibs [mkdir] Created dir: C:\Users\Prasanth\.jenkins\workspace\Test\gen [mkdir] Created dir: C:\Users\Prasanth\.jenkins\workspace\Test\bin\classes [mkdir] Created dir: C:\Users\Prasanth\.jenkins\workspace\Test\bin\dexedLibs [echo] ---------- [echo] Resolving Dependencies for androidtestapp... [dependency] Ordered libraries: [dependency] [dependency] ------------------ [echo] ---------- [echo] Building Libraries with 'debug'... [subant] No sub-builds to iterate on -code-gen: [mergemanifest] Merging AndroidManifest files into one. [mergemanifest] Manifest merger disabled. Using project manifest only. [echo] Handling aidl files... [aidl] No AIDL files to compile. [echo] ---------- [echo] Handling RenderScript files... [echo] ---------- [echo] Handling Resources... [aapt] Generating resource IDs... [echo] ---------- [echo] Handling BuildConfig class... [buildconfig] Generating BuildConfig class. -pre-compile: -compile: [javac] Compiling 3 source files to C:\Users\Prasanth\.jenkins\workspace\Test\bin\classes -post-compile: -obfuscate: -dex: [dex] input: C:\Users\Prasanth\.jenkins\workspace\Test\bin\classes [dex] input: C:\Users\Prasanth\.jenkins\workspace\Test\libs\android-support-v4.jar [dex] Pre-Dexing C:\Users\Prasanth\.jenkins\workspace\Test\libs\android-support-v4.jar -> android-support-v4-3d55c3f91b679ed0ef61b096555c27e9.jar [dx] 'reg' is not recognized as an internal or external command, [dx] operable program or batch file. BUILD FAILED C:\Users\Prasanth\AppData\Local\Android\sdk\android-sdk\tools\ant\build.xml:892: The following error occurred while executing this line: C:\Users\Prasanth\AppData\Local\Android\sdk\android-sdk\tools\ant\build.xml:894: The following error occurred while executing this line: C:\Users\Prasanth\AppData\Local\Android\sdk\android-sdk\tools\ant\build.xml:906: The following error occurred while executing this line: C:\Users\Prasanth\AppData\Local\Android\sdk\android-sdk\tools\ant\build.xml:283: null returned: 255 Total time: 1 second Build step 'Invoke Ant' marked build as failure Archiving artifacts Finished: FAILURE
I find that the Archive Artifacts plugin is very good at telling you “there are no such files in the workspace” and that is what it is telling you. I am guessing that there are no .apk file because your build failed to create them.
--
You received this message because you are subscribed to the Google Groups "Jenkins Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to
jenkinsci-use...@googlegroups.com.
To view this discussion on the web visit
https://groups.google.com/d/msgid/jenkinsci-users/92b8a01d-a2f8-4618-b308-ad461c5daf0c%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.