Skip to main content

Library for Robot Framework for Jenkins interaction

Project description

Build Status PyPI version

JenkinsLibrary for Robot Framework

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 1.0.2
Filename, size File type Python version Upload date Hashes
Filename, size robotframework_jenkins-1.0.2-py3-none-any.whl (5.0 kB) File type Wheel Python version py3 Upload date Hashes View
Filename, size robotframework-jenkins-1.0.2.tar.gz (3.3 kB) File type Source Python version None Upload date Hashes View

Supported by

Pingdom Pingdom Monitoring Google Google Object Storage and Download Analytics Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page