Jenkins wrapper library for robotframework
Install package by using pip:
pip install -U robotframework-jenkinslibrary| *** Settings *** | ||||||
|---|---|---|---|---|---|---|
| Library | JenkinsLibrary | |||||
| *** Test Cases *** | ||||||
| create session jenkins | ${protocol} | ${host} | ${username} | ${password} | ${verify} | |
| ${job_details}= | Get Jenkins Job | ${job_full_name} | ||||
| ${job_build_details}= | Get Jenkins Job Build | ${job_full_name} | ${build_number} | |||
| ${build_number}= | Build Jenkins With Parameters | ${job_full_name} | ${parameters_string} | |||
| ${job_build_details}= | Build Jenkins With Parameters And Wait Until Job Done | ${job_full_name} | ${parameters_string} | 10 | 2 | False |
For more keyword detail go to the following link: https://robotframework-thailand.github.io/robotframework-jenkinslibrary/
pip uninstall robotframework-jenkinslibrary | API | Status |
|---|---|
| Get Jenkins Job | + |
| Get Jenkins Job Build | + |
| Build Jenkins With Parameters | + |
| Build Jenkins With Parameters And Wait Until Job Done | + |
| - | - |