NAME

App::JenkinsCli - Command line tool for interacting with Jenkins

VERSION

This documentation refers to App::JenkinsCli version 0.013

SYNOPSIS

use App::JenkinsCli;

# Brief but working code example(s) here showing the most common usage(s)
# This section will be as far as many users bother reading, so make it as
# educational and exemplary as possible.

DESCRIPTION

SUBROUTINES/METHODS

ls ($query)

Alias for list

list ($query)

List all jobs, optionally filtering with $query

start ($job)

Start $job

delete ($job)

Delete $job

status ($job)

Status of $job

enable ($job)

enable $job

disable ($job)

disable $job

conf ($job)

config ($job)

Show the config of $job

queue ()

Show the queue of running jobs

create ($job)

Create a new Jenkins job

load ()

Show the load stats for the server

change ($query, $xsl)

Run the XSLT file ($xsl) over each job matching $query to generate a new config which is then sent back to Jenkins.

copy ( $old, $new )

Copy $old to $new

watch ($job)

Watch jobs to track changes.

ATTRIBUTES

base_url

The base URL of Jenkins

api_key

The username to access jenkins by

api_pass

The password to access jenkins by

test

Flag to not actually perform changes

jenkins

Internal Jenkins::API object

colours

Mapping of Jenkins states to Term::ANSIColors

opt

User options

DIAGNOSTICS

CONFIGURATION AND ENVIRONMENT

DEPENDENCIES

INCOMPATIBILITIES

BUGS AND LIMITATIONS

There are no known bugs in this module.

Please report problems to Ivan Wills (ivan.wills@gmail.com).

Patches are welcome.

ALSO SEE

Inspired by https://github.com/Netflix-Skunkworks/jenkins-cli

AUTHOR

Ivan Wills - (ivan.wills@gmail.com)

LICENSE AND COPYRIGHT

Copyright (c) 2016 Ivan Wills (14 Mullion Close, Hornsby Heights, NSW Australia 2077). All rights reserved.

This module is free software; you can redistribute it and/or modify it under the same terms as Perl itself. See perlartistic. This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.