Jazz Forum Welcome to the Jazz Community Forum Connect and collaborate with IBM Engineering experts and users

Sending Email notification on build and MORE !

Hi,

I have implemented this -> https://jazz.net/wiki/bin/view/Main/SCM15MinutesDemo .And adding further functionalities, I want to:-
1- EMAIL Notification to team members when a build is run (by request or automatic scheduling).
2- EMAIL Notification to team members when a change occurs, or new code is checked in/delivered.
Is there any panel/wizard, where such a setting can be done, as scheduling feature? Or Ant Script needs to be added/modified? Please help with that, I don't know how/what to modify. :(
3- Is there any mail transport agent with JBE etc? If yes, where/how to use it? , So basically HOW TO SEND AN EMAIL ???
4- How to use SCM Command Line Interface ?
5- I tried copying Feed URL and adding the same in Outlook feeds, but it never worked?

PLEASE guide/help/suggest me with simple solution, such that automatic email notification (on every build and/or change occurs) is sent.
If possible, STEP BY STEP and with necessary CODE SNIPPETS (as of now my code is very similar to that provided at SCM15MinutesDemo). Will greatly appreciate any help. Thanks.

Regards,
Geny
p.s. Sorry for reposting under this category too. Apologies.Please help, I am stuck :(

0 votes



4 answers

Permanent link
Hi,

as far as I know RTC does not send e-mails for builds. There is no chekbox in the mail configuration.
I am not aware of anything special within JBE to help.

Google brought up this mail task for ANT that you could try using: http://ant.apache.org/manual/CoreTasks/mail.html.

Question would be how to get the users you want mail sent to. I am not sure there is a batch command for that. You could potentially write something using the Plain Java Client libraries https://jazz.net/downloads/rational-team-concert/releases/2.0.0.2/JazzPlainJavaClient-2.0.0.2.zip to write some java code to do that.

The SCM commandline is documented in the help try searching for SCM.
I assume to use it the build would run a batch file instead of an ANT build script but I am not sure because of a lack of ANT experience.


Ralph

Hi,

I have implemented this -> https://jazz.net/wiki/bin/view/Main/SCM15MinutesDemo .And adding further functionalities, I want to:-
1- EMAIL Notification to team members when a build is run (by request or automatic scheduling).
2- EMAIL Notification to team members when a change occurs, or new code is checked in/delivered.
Is there any panel/wizard, where such a setting can be done, as scheduling feature? Or Ant Script needs to be added/modified? Please help with that, I don't know how/what to modify. :(
3- Is there any mail transport agent with JBE etc? If yes, where/how to use it? , So basically HOW TO SEND AN EMAIL ???
4- How to use SCM Command Line Interface ?
5- I tried copying Feed URL and adding the same in Outlook feeds, but it never worked?

PLEASE guide/help/suggest me with simple solution, such that automatic email notification (on every build and/or change occurs) is sent.
If possible, STEP BY STEP and with necessary CODE SNIPPETS (as of now my code is very similar to that provided at SCM15MinutesDemo). Will greatly appreciate any help. Thanks.

Regards,
Geny
p.s. Sorry for reposting under this category too. Apologies.Please help, I am stuck :(

0 votes


Permanent link
Hi,

as far as I know RTC does not send e-mails for builds. There is no chekbox in the mail configuration.
I am not aware of anything special within JBE to help.

Google brought up this mail task for ANT that you could try using: http://ant.apache.org/manual/CoreTasks/mail.html.

Question would be how to get the users you want mail sent to. I am not sure there is a batch command for that. You could potentially write something using the Plain Java Client libraries https://jazz.net/downloads/rational-team-concert/releases/2.0.0.2/JazzPlainJavaClient-2.0.0.2.zip to write some java code to do that.

The SCM commandline is documented in the help try searching for SCM.
I assume to use it the build would run a batch file instead of an ANT build script but I am not sure because of a lack of ANT experience.


Ralph

Hi,

I have implemented this -> https://jazz.net/wiki/bin/view/Main/SCM15MinutesDemo .And adding further functionalities, I want to:-
1- EMAIL Notification to team members when a build is run (by request or automatic scheduling).
2- EMAIL Notification to team members when a change occurs, or new code is checked in/delivered.
Is there any panel/wizard, where such a setting can be done, as scheduling feature? Or Ant Script needs to be added/modified? Please help with that, I don't know how/what to modify. :(
3- Is there any mail transport agent with JBE etc? If yes, where/how to use it? , So basically HOW TO SEND AN EMAIL ???
4- How to use SCM Command Line Interface ?
5- I tried copying Feed URL and adding the same in Outlook feeds, but it never worked?

PLEASE guide/help/suggest me with simple solution, such that automatic email notification (on every build and/or change occurs) is sent.
If possible, STEP BY STEP and with necessary CODE SNIPPETS (as of now my code is very similar to that provided at SCM15MinutesDemo). Will greatly appreciate any help. Thanks.

Regards,
Geny
p.s. Sorry for reposting under this category too. Apologies.Please help, I am stuck :(


Thanks, the email worked with Ant script.

0 votes


Permanent link
Sending emails for builds is not currently supported, but is planned for 3.0. See 50000: Provide a Build option to send notification email upon completion of a requested build.

For using the SCM command line in builds, see the following article:
http://jazz.net/library/article/195

0 votes


Permanent link
http://pic.dhe.ibm.com/infocenter/clmhelp/v3r0/index.jsp?topic=%2Fcom.ibm.team.build.doc%2Ftopics%2Ftcreatenotification.html


Thanks Nick

0 votes

Your answer

Register or log in to post your answer.

Dashboards and work items are no longer publicly available, so some links may be invalid. We now provide similar information through other means. Learn more here.

Search context
Follow this question

By Email: 

Once you sign in you will be able to subscribe for any updates here.

By RSS:

Answers
Answers and Comments
Question details

Question asked: Jan 11 '10, 10:17 a.m.

Question was seen: 9,163 times

Last updated: Nov 23 '12, 3:22 a.m.

Confirmation Cancel Confirm