A Jenkins pipeline authenticates against Tosca Cloud, triggers a playlist such as a sanity suite and waits for results on the team agent. It then pulls the JUnit output into the Jenkins build, so the test results appear with the build that produced them. The video shows the pipeline stages and a complete execution in about five minutes.
Chapter Navigation
7Key Takeaways
- 01
Jenkins can orchestrate Tosca Cloud test execution end to end, from token authentication through playlist trigger to JUnit result retrieval.
- 02
A Slack post action gives the whole team, including non-QA stakeholders, immediate visibility into test outcomes without opening Jenkins or Tosca Cloud.
- 03
The Slack notification includes deep links to the Jenkins build and the Tosca Cloud run, so anyone can drill into individual test results, agents, and logs.
- 04
Tosca Cloud runs can capture execution recordings and attachments, giving teams video evidence of what the automation saw during GUI tests.
Run Tosca Cloud Tests from Jenkins and Get Results in Slack: transcript and chapter notes
Watch how three tools work together in one automated testing pipeline. Tosca Cloud runs the GUI and API tests, Jenkins orchestrates the jobs in sequence, and Slack delivers the results to the whole team the moment execution finishes.
In this demo we authenticate against Tosca Cloud, trigger a sanity playlist, wait for results on the team agent, pull the JUnit output, and push a summary straight into Slack. The Slack message includes pass and fail counts plus direct links back into both the Jenkins build and the Tosca Cloud run, so QA and stakeholders get visibility without digging through consoles.
If your team runs Tricentis Tosca or Tosca Cloud and wants help wiring it into your CI pipeline, we do this every day. Book a conversation.
What we're connecting and why (0:00)
Hey guys, Felipe here. I just want to show you guys a quick demonstration. I want to show you three different tools connected together. So we have Tosca Cloud. We have our Jenkins system, which is going to be our orchestrator.
Then we have Slack, which is going to be our communication system. And so Tosca Cloud, you know, that's our automated one of our automated tools that we're going to use to run GUI test or API test. And so that's going to do the bulk of the work. Jenkins is just going to make sure that several different jobs happen in a certain sequence so that things work as expected. So for example here first thing that Jenkins is going to do is going to make sure it gets a token so that we are authenticated against Tosca Cloud.
Jenkins pipeline walkthrough (0:55)
Then it's going to execute a playlist. So we have for this demo, we're going to be running this short playlist here, sanity playlist. Just has two quick test cases. Then, you know after triggering the playlist those are going to execute. It's going to run on a Tosca Cloud team agent.
Then we're going to wait for the results. We're going to check every few seconds just to see if we get a result or not back from the system. And then we're going to get the JUnit results. And then at the very end, our post action is going to be to message the team in Slack.
Executing the build (1:49)
So let's go ahead and execute this. So we're going to build now. This is going to be our pipeline. It's to execute so we see here that we have authenticated. We're going to get the playlist.
We're going to trigger the playlist. And then here we're going to wait. We're going to wait for the results to come back to the agent. All right. And then once we get the results back from Tosca Cloud, Tosca Cloud has JUnit.
This is basically just we can think of this as a response from the system, from Tosca Cloud. It holds the results of our tests.
Slack notification and team visibility (2:34)
And then automatically, we're going to do a post action to send it out to our Slack channel. You can think of this as a way to communicate with the team. We see it over here. It will show here. This notifies the whole team, gives us visibility.
So, we can notify not only the QA team, but if there's any stakeholders, they can also get the results. So, here we get a detail of what we what executed in the playlist. So, for example, we here we get the name of the playlist. We see how many tests were executed, how many failed, and if there were any errors.
Drilling into Jenkins test results (3:22)
Then here we also get two links that are very handy. So, first one is to If we're interested, we can jump back straight into our Jenkins instance. So, we see this build number eight. I can come in here. I see the test information.
I can go into tests. And then I can look exactly at which test passed, which ones failed. So, it gives us a good linkage back to Jenkins. And then here I can see our general pipeline overview. So on the top left on this bottom left section, we see every build that has ran.
Top right, we see test result trends draft that's given to us by Jenkins. And then the other link is going to be to open up the runs in the Tosca Cloud application.
Reviewing the run in Tosca Cloud (4:11)
So if I click there, it take us it takes us here. So this gives us a different view from Jenkins. Basically, we come in here, we see the statuses of the different two test cases that ran. Tells us about the agent that ran the execution of the test. For example, I can come in here, I can click here, I can see the different test steps.
I can see the agent that ran this test case. I can see the different logs. This case I did not turn on recording, but we can set that up so that it holds an actual video of what Tosca Cloud saw. And if there's any attachments, we can also just go ahead and download them from here.
Wrap up (5:08)
All right, that's the demo. Thank you.
Frequently Asked Questions
Run Tosca Cloud Tests from Jenkins and Get Results in Slack: questions and answers
Consultation request
Book a consultation with Merito
Use this form to talk through the workflow, platform fit, and delivery priorities behind this video with a Merito specialist.
Discovery
Turn the video into a working plan
Use the conversation to translate what you saw here into a practical next step for your team.
Alignment
Get the right specialist involved
We route the request to the team best suited for platform strategy, implementation, quality, or AppSec delivery work.
Get Started
Secure intake workflow
The request is protected by reCAPTCHA Enterprise and processed through Merito's standard consultation flow.