CruiseControl.Net messages for "Last Build Status" - cruisecontrol.net

Could anyone help me with reporting?
I want to make my dashboard more informative, so if it possible to put custom message for the last build status? Now, in case of failure I have just a message "Failing Tasks: Executable Task" (see picture below). How can I write there which particular task failed? Can the task write something from itself?
Please, point me to the right direction of looking for.
Thanks for a help!

I found out how to do it. The all I need - just to add description attribute to nodes.

Related

How to attach the screenshot to each step in ExtentReport?

I'm trying to use ExtentReport with Cucumber v4. I'm able to generate the execution report at the end of the test case, including the proper step list (for all steps that were executed) with their screenshots.
However, although the screenshots are properly generated, the link that ties the step with its respective screenshot seems to be broken (when clicking on it, nothing happens).
Any ideas of what should I try?
Thanks in advance!

How to rerun groovy script after completing it

I need advice. First of all, I'm really sorry if this thread already exists, I tried searching for one but wasn't successful Im trying to rerun the groovy script after it's completion, but I can't find any information on this topic. Thank you in advance for any help.

Blue Prism: Object not found when ran using Control Center, but runs without issue through Process Studio

During my process there is a drop-down html element that I have spied and set correctly. I run through the Object and Process studio without any issues. Once the same process is ran through the Control Room the element throws and error that it cannot be found.
I have tried multiple different configurations without any luck and the element is still found without issue when ran manually. I even checked by signing into the VM having it error and on the second retry had the VM up; at this stage the element was found without issue. It seems to only be when the bot is running and the screen is not up. No other elements give this issue and the next step is the same dropdown, but for a stop time not start.
Any help would be appreciated!
I have added pics of the STARTSPIED - START and ENDSPIED - END spied configs,the Navigation Stage, and the process correctly running in the Object Studio OB Studio correct.
Thank you!
For the person who down-voted this item...Configs here are my two days of config changes and research that I tried on my own before asking for help. This is my 5th automation that I have put into deployment without help, so thank you for down-voting someone trying to get help where they are stuck.
Your problem is most likely connected with the fact that processes run in the control room are executed much faster than in studio and your webpage might not be loaded on time (that would explain why it works after retry).
Best practice approach would be to add a dynamic wait stage after attach and use “Parent Document Loaded” option on the element you want to interact with. It will wait for the page to be loaded and then check exist for the element. I would also suggest splitting your action into two, first to set start date and second for end date.

How to integrate Google Docs/Excel with Jenkins to automatically populate Pass/Fail field

Im relatively new to this industry, and Ive just received my first assignment. Im not looking to take up too much of anyone's time, Im just looking for a little guidance.
I need to create a spreadsheet with "Ticket ID", "Test Case ID", "Pass/Fail" and "Comments" columns.
We have builds running on/managed by Jenkins, and we have failed builds more often than not.
Id like to link/integrate this spreadsheet with Jenkins, so that way the document is automatically populated with data.
(Please see attached image for a better visual of what Im trying to realize)
If a build passes, populate "Pass/Fail" column in spreadsheet with "Pass" and "Comments" column with "Build passed"
If a build fails, say "Failed" and import the "Comments" from Jenkins why the build the failed
Any advice would be much appreciated, thank you. Also, if you have a suggestion of a better way to do this, please let me know.
Probably your best choice would be using a Groovy post-script to fill in your Excel table. Using Groovy you can access Jenkins' environment variables and get the status of each job. In order to use Groovy you'll need this plugin https://wiki.jenkins-ci.org/display/JENKINS/Groovy+plugin

Is there a way to log who created a force build in CC.Net?

When someone creates a force build on CC.Net dashboard, is there a way to log who created the build (a name of a person/dept) or a field entry for that? Any pointers please would be appreciated.
Anything that is logged in the "super build results" file...can be displayed, if you write a custom .xsl for it, or edit an existing .xsl.
To see the build log, click on "View Log File" from the CCNET project page.
See if the piece of information you're after is in the file.
If so, then you can "fish" for that piece of information.
Here is an example of editing an existing .xsl file....and "fishing" for the svn-revision number.
It's not exactly what you're looking for, but it can be a basic "how to".
http://www.richard-banks.org/2007/01/add-subversion-revision-to.html
According to the ccnet docs it's the property: CCNetUser
http://cruisecontrolnet.org/projects/ccnet/wiki/Integration_Properties
So if you're using Nant you could echo ${CCNetUser} to see who forced the build.
That's only valid if security is on. If security is not on(most likely it's not if anyone can force the build) you could present the user with a textbox or dropdown to enter/select their username. See http://cruisecontrolnet.org/projects/ccnet/wiki/Parameters for how to do that. Of course it's then up to the user whether they enter the correct information.

Resources