Hi,

Never used it, but reading the documentation, it says it's reading stdin.

So it's more something like
echo "hey that's the message" | * java -jar E:\m\jenkins-cli.jar
-s http://localhost:8080/jenkins/ <http://localhost:8080/jenkins/> mail*

My 2 cents

2016-01-19 13:48 GMT+00:00 Sumit Waghmode <[email protected]>:

> Hi ,
>
> I want to use Jenkins mail functionality to send mail from my ANT script.
>
> I used* java -jar E:\m\jenkins-cli.jar -s http://localhost:8080/jenkins/
> <http://localhost:8080/jenkins/> mail* in command prompt. (Windows)
>
>  but it is not working , Can anybody tell me how to use mail functionality
> or how to pass parameter to
>
>
>
>
> * java -jar E:\m\jenkins-cli.jar -s http://localhost:8080/jenkins/
> <http://localhost:8080/jenkins/> mail ? in Windows .Thanks ,Sumeet
> Waghmode.*
>
> --
> 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 [email protected].
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/jenkinsci-users/9227936f-cb4c-4c56-9b71-4573f149f24d%40googlegroups.com
> <https://groups.google.com/d/msgid/jenkinsci-users/9227936f-cb4c-4c56-9b71-4573f149f24d%40googlegroups.com?utm_medium=email&utm_source=footer>
> .
> For more options, visit https://groups.google.com/d/optout.
>

-- 
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 [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jenkinsci-users/CANWgJS45Q-BaHxpXnYdP%3DGxFkzGgj-6FU83VTskXqS-PhL3oNQ%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to