The notify parameter is not something you can set (yet), there is probably 
still much that can be done to enhance the usage of the REST API.
The only thing that is used from the command settings is the contents of the 
message.


Robert Sandell
Software Tools Engineer - SW Environment and Product Configuration
Sony Mobile Communications

From: jenkinsci-dev@googlegroups.com [mailto:jenkinsci-dev@googlegroups.com] On 
Behalf Of Øyvind Harboe
Sent: den 28 november 2013 10:24
To: jenkinsci-dev@googlegroups.com
Cc: jenkinsci-us...@googlegroups.com
Subject: Re: Beta release of Gerrit Trigger plugin 2.11.0

Hi Robert,

I installed the beta because I would like to switch from the ssh commands to 
REST API commands in order to more carefully manage which email notifications 
are sent out.


Is there any documentation or pointers on how I can change the line below, 
which adds a comment that a build was started, to the REST API command to do 
the same, but set notify=NONE?

     gerrit approve <CHANGE>,<PATCHSET> --message 'Build Started <BUILDURL> 
<STARTED_STATS>' --verified <VERIFIED> --code-review <CODE_REVIEW>



REST API feature that I would like to use:

https://gerrit-review.googlesource.com/Documentation/rest-api-changes.html#review-input







On Tuesday, November 26, 2013 4:15:19 PM UTC+1, Robert Sandell wrote:
I just released version 2.11.0-beta-1 of the Gerrit Trigger plugin. It contains 
some great new features by some great contributors, the release notes are on 
the wiki [1].
The support for multiple Gerrit servers required quite a lot of refactoring in 
central parts of the plugin that potentially could affect everything, so I 
released a beta  that should be available in the experimental update center [2] 
within the normal waiting period. And I am looking for some brave people who 
can help us test it and provide me with a hint if it is good enough for a 
"normal" release or if there is anything major in need of fixing before.

Thanks,
Bobby

[1] https://wiki.jenkins-ci.org/display/JENKINS/Gerrit+Trigger
[2] Set your update center to 
http://updates.jenkins-ci.org/experimental/update-center.json


Robert Sandell
Software Tools Engineer
SW Environment and Product Configuration
Development Environment

Sony Mobile Communications
Tel: +46 (0)10 80 12721
sonymobile.com<http://sonymobile.com/>

[https://groups.google.com/group/jenkinsci-dev/attach/e8c393dc4d6b07d8/image001.jpg?part=4&authuser=0]


--
You received this message because you are subscribed to the Google Groups 
"Jenkins Developers" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to 
jenkinsci-dev+unsubscr...@googlegroups.com<mailto:jenkinsci-dev+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 Developers" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to jenkinsci-dev+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to