Dot commands
hi,
i have to launch a project on the failure of a step of another project and after that the failed step has to be re-executed.. so i can set the project to be lauched in fail chain field and use .retry command in the last step of the called project. but .retry command takes only script names as arguments..can i use project names or step names which have previously failed as arguments? wat can do abt this?? |
22 answers
bju,
I couldn't see the type select as Step .email Message I can able to see below type templates Filter Match message Project Run .break message Project Run fail message Project run pass message Project run start message project run warn message purge fail message step fail message step pass message step warn messge Thanks Bju, Hi, This may not be the problem I originally thought it was, but if you would like to create a custom email template you can try these steps. 1) Navigate to Projects -> Templates 2) Push 'Add Template' Button 3) For Type select 'Step .email Message' and select your project and step in the drop downs 4) Press the 'Save' button 5) In the upper frame after saving, select the newly created 'Step .email Message' template that corresponds to your project and step 6) Fill in your Description, Subject, From, and Body for the email 7) Press 'Save' button bju |
bju, Hi, What release of Build Forge are you using? If you go to on Windows or /Platform on Unix and execute a 'buildforge -v' that will give you the release and build number. bju |
Hi Bju,
I am using this build forge version buildforge 7.1.1.1-0-0046 bju, Hi, What release of Build Forge are you using? If you go to on Windows or /Platform on Unix and execute a 'buildforge -v' that will give you the release and build number. bju |
Hi Bju, Hi, Are you running on migrated data? bju |
Bju,
Yes We did the data base migration and historical data migration from 7.0.2 to 7.1.1.1 is that any problem ? Thanks Johson Hi Bju, Hi, Are you running on migrated data? bju |
Bju, I think it's a bug in the migration code. If you're willing to try a services layer client to recreate the step email template for en_US locale, you could try the code below. I tried to put the most likely values that you'll need to modify at the top (host, user, password, project name).
bju |
Bju,
Below script works for me that was good. But we have 162 projects so I need to add .email template on 162 projects on each time ? Can you provide me if you have any script which is common for all the projects ? Thanks for all your great help Thanks Johnson Bju, I think it's a bug in the migration code. If you're willing to try a services layer client to recreate the step email template for en_US locale, you could try the code below. I tried to put the most likely values that you'll need to modify at the top (host, user, password, project name).
bju |
Bju, Hi, I opened a defect to have the development team see if there is another solution. The problem that I ran into with the script is that the services layer requires a project uuid when creating a template. In this case, what we really want to do is recreate a base template type instead of create a custom template that is to be used per project/step. The only other option I can think of is to do some inserts into your database, but I'm hoping through the defect that there might be another option. Feel free to add comments to the defect if I didn't capture something. http://jazz.net/jazz08/web/projects/Rational%20Build%20Forge#action=com.ibm.team.workitem.viewWorkItem&id=17759 bju |
Bju,
Thanks for the help. Lets hope will get the answer as soon as possible from dev team. Is there any other way to send an email to team for the pass notify? Once again thanks for the help Thanks Johnson Bju, Hi, I opened a defect to have the development team see if there is another solution. The problem that I ran into with the script is that the services layer requires a project uuid when creating a template. In this case, what we really want to do is recreate a base template type instead of create a custom template that is to be used per project/step. The only other option I can think of is to do some inserts into your database, but I'm hoping through the defect that there might be another option. Feel free to add comments to the defect if I didn't capture something. http://jazz.net/jazz08/web/projects/Rational%20Build%20Forge#action=com.ibm.team.workitem.viewWorkItem&id=17759 bju |
Bju, Hi Johnson, You might want to just use the MIME::Lite package directly to send an email instead of using a Build Forge feature. I have attached the script that we've been working with that contains a few lines at the bottom to send an email using MIME::Lite. You'll have to modify the variables to your liking (ex. to, from, message, etc.). You'll also need to make sure that your system has the MIME::Lite package. You can use cpan to retrieve it if you don't have it.
bju |
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.