okgolove / robotframework-jenkins

Robot Framework library for Jenkins interaction

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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.

Keyword Documentation

See keyword documentation for available keywords.

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

About

Robot Framework library for Jenkins interaction

License:MIT License


Languages

Language:RobotFramework 59.3%Language:Python 37.8%Language:Groovy 2.5%Language:Dockerfile 0.4%