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,
Again thanks for the help. On this perl script email message could we add the environment variables from build forge project ? We have 8 environment variables on each project so is that possible to get the variables into email message like $URL,$PROJECTNAME from the build forge project Thanks Johnson 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 |
Bju, Hi, Yes, it's possible to add variables to the email. It really just depends on what variables you would like as to which API you need to get them. The code example below gets build environment variables. However, you may want other variables that may be less build dependent, and you can just query other object APIs directly to get those values.
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.