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.

Files for robotframework-jenkins, version 2.1.0
Filename, size File type Python version Upload date Hashes
Filename, size robotframework_jenkins-2.1.0-py3-none-any.whl (5.1 kB) File type Wheel Python version py3 Upload date Hashes View
Filename, size robotframework-jenkins-2.1.0.tar.gz (4.1 kB) File type Source Python version None Upload date Hashes View

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring DigiCert DigiCert EV certificate Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page