Skip to main content

Library for Robot Framework for Jenkins interaction

Project description

JenkinsLibrary for Robot Framework

PyPI Supported Jenkins Version

Introduction

JenkinsLibrary is a Robot Framework test library which helps you to involve Jenkins in your tests.

Installation

Just run:

pip install robotframework-jenkins

Usage

You need to import Jenkins library:

*** Settings ***
Library    JenkinsLibrary

Then, you need to initialize Jenkins server with keyword:

Set Jenkins Server    url=http://example.com:8080    username=admin    password=admin

Example

*** Settings ***
Library    JenkinsLibrary

*** Test Cases ***
Jenkins Create And Run Job
    [Setup]    Set Jenkins Server    url=http://example.com:8080    username=admin    password=admin
    Create Jenkins Job    test_job
    Start Jenkins Job    test_job

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

robotframework-jenkins-2.1.0.tar.gz (4.1 kB view hashes)

Uploaded Source

Built Distribution

robotframework_jenkins-2.1.0-py3-none-any.whl (5.1 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page