We have been using TestRail Api to send the results back to the
test runs in TestRail dashboard. We run a
Jenkins job every now and then but only post for
specific builds (we have the flag that we check if we want to post the results back to TestRail for the specific Jenkins build)
We are not able to differentiate (in case we rely on latest run), since a case might happen where the job triggers the same day (automatically/scheduled) on which we explicitly ask the same job to post results to the TestRail. Two job runs different timings.
Is there a way to send the Jenkins URL back to the
dashboard(at the test run level) and print it every time we want to post results to the TestRail at test run level?