Forum Discussion

ramakkonatam's avatar
ramakkonatam
Regular Visitor
2 years ago

Is it possible to trigger the Jenkins build or job by using the test cycle from Zephyr scale Cloud?

Hello Team
I'm exploring ways to trigger Jenkins builds from Zephyr Scale Cloud. Before exploring I would like to know whether it is possible or not. As per the documentation https://support.smartbear.com/zephyr-scale-cloud/docs/test-automation/test-automation-overview.html I understand that we can post the test execution results from Jenkins to Zephyr scale cloud. But we also looking for the approach to trigger the selected test cycles from Zephyr on Jenkins.

 

Please let us know the feasibility of the Zephyr Scale Cloud to trigger the Jenkins pipeline from the existing test cycles of the Zephyr scale?

2 Replies

  • Hi, were you able to find any solution for this. I have the exact same requirement but im not able to find any solution for zephyr scale. did you happen to find any workaround?

  •  

    It is not possible to trigger Jenkins builds or pipelines directly from Zephyr Scale Cloud, including triggering selected test cycles from Zephyr Scale on Jenkins. The integration between Zephyr Scale Cloud and Jenkins is designed to allow Jenkins to execute automated tests and then publish the results back to Zephyr Scale, not the other way around.

    Key Points:

    1. Supported Workflow:  

    • Jenkins can execute automated tests and use the Zephyr Scale API to publish test results into Zephyr Scale Cloud.
    • The results can be associated with specific test cycles in Zephyr Scale by using parameters in the API call.


    2. Unsupported Workflow:
      
    Zephyr Scale Cloud does not have a feature to initiate Jenkins jobs or trigger test cycles directly from its interface.

    3. Feature Request:

    This functionality has been suggested as a feature request by other users, but it is not currently supported.

    Resolution Steps:

    • Configure your Jenkins pipeline to execute automated tests.
    • Use a script within Jenkins to call the Zephyr Scale API and upload the test results to the desired test cycle in Zephyr Scale Cloud.

    Sources:

    • Zephyr Scale Cloud FAQ (https://support.smartbear.com/zephyr/docs/en/faq.html)
    • Zephyr Scale Cloud Test Automation Overview (https://support.smartbear.com/zephyr/docs/en/test-automation/test-automation--overview-.html)