Re: how do we intentionally fail a job run in Post build task

2013-03-26 Thread syamimi mokhtar
You can use fail the build plugin.

On Tue, Mar 26, 2013 at 2:05 PM, Z W  wrote:

> Hi All
>
> How do we intentionally fail a job run in Post build task in the
> script section after the condition passed ?
> ie how do we report back to the job that we should fail the run since
> we found a text in the log ?
>
> Thanks all.
>
> --
> 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-users+unsubscr...@googlegroups.com.
> For more options, visit https://groups.google.com/groups/opt_out.
>
>
>

-- 
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-users+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.




AVD exception in Jenkins

2013-03-21 Thread syamimi mokhtar
Hi, 

I was tried to run build with AVD in jenkins with below configuration.


But , when I build the job, I got below exception. What I need to do..

[android] Failed to run AVD creation command
Exception in thread "main" java.lang.NullPointerException
at 
com.android.sdklib.internal.avd.AvdManager.parseAvdInfo(AvdManager.java:1387)
at 
com.android.sdklib.internal.avd.AvdManager.buildAvdList(AvdManager.java:1366)
at com.android.sdklib.internal.avd.AvdManager.(AvdManager.java:315)
at 
com.android.sdklib.internal.avd.AvdManager.getInstance(AvdManager.java:325)
at com.android.sdkmanager.Main.createAvd(Main.java:1100)
at com.android.sdkmanager.Main.doAction(Main.java:268)
at com.android.sdkmanager.Main.run(Main.java:119)
at com.android.sdkmanager.Main.main(Main.java:102)
[android] Could not create Android emulator: Failed to run AVD creation 
command

-- 
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-users+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.