nike-inc / bartlett Goto Github PK
View Code? Open in Web Editor NEWA simple Jenkins command line client to serve your needs.
License: Other
A simple Jenkins command line client to serve your needs.
License: Other
As a bartlett user, I would like to be able to download artifacts by id, so that I can manipulate them from my local machine.
AC:
As a Bartlett user I would like to be able to display the currently running build queue of my Jenkins instance, so that I can have an accurate snapshot of the Jenkins server.
AC:
As a Bartlett user I would like the ability to delete jobs, so that I can keep my Jenkins tidy.
AC:
As a Bartlett user I would like to filter the depth and trees of my responses, so that only relevant information is returned from my requests to Jenkins.
AC:
The current documentation doesn't make it explicit that passing -f
to the config sub-command will update a job. Clean this up a bit!
As a Bartlett developer, I want a Travis build for Bartlett, so that I can reliably build, deploy, and test Bartlett.
AC:
As a Bartlett user on OSX, I want a simple way to install Bartlett, so that I don't have to manage build tools or development environments to run Bartlett.
AC:
Since moving to hpack the release task is no longer correct; it should be looking for the version of the application form package.yaml
instead of bartlett.cabal
.
As a Bartlett user, I would like to know what version of Bartlett I am currently using, so that I know what featureset I have and when I should upgrade my installed version.
AC:
This ticket is simply to track porting the Bartlett tool to the Windows platform while maintaining feature parity with the OSX platform version of the tool.
One thing to note about Windows support is finding an adequate credentials store. I'm not aware of anything native to Windows like OSX's Keychain. It could also mean that credentials caching is not supported if a happy medium can't be found!
Currently you can browse the root tree by executing
bartlett info /
However it seems you can't do the same on a subtree
bartlett info /folder/
or bartlett info /folder/folder/
Can we allow the same type of listing that is done for the subtree if it ends in a forward slash as we do for the root folder?
As a Bartlett developer, I want some means to mock Jenkins API responses, so that I can unit test my IO actions and have greater confidence in the codebase.
This could also be accomplished by running the tests in a Docker container with a running Jenkins instance. This may or may not be more work.
AC:
As a Bartlett user, I would like to supply job parameters from a file, so that I can reduce the tedium of typing all options out for a job on each invocation.
AC:
If the user fails to authenticate to Jenkins the credentials will still be stored in the Keychain. Expected behavior is that the credentials are not cached, or if they are, that there is a cli option to re-cache credentials.
This ticket is simply to track porting the Bartlett tool to the GNU/Linux family of operating systems while maintaining feature parity with the OSX platform version of the tool.
There's a bevy of credentials store options on Linux. The currently library supports KWallet, but there's potential to support more offerings in the future. It could also mean that credentials caching is not supported if a happy medium can't be found!
Bartlett fails to omit the CSRF crumb header if it is not enabled on the target Jenkins server. This means that any authenticated action will fail with a mysterious 400 BAD REQUEST error.
from command line, we can disable a bunch of jobs.
As a Bartlett user I want to be aware of the gotchas when entering a URL to my Jenkins instance, so that I can make informed decisions about how I configure Bartlett.
AC:
As a bartlett user I want to read API documentation in my browser, so that I do not have to compile the project from source to access this documentation.
AC:
As a Bartlett user, I would like the tool to support CSRF crumb generation, so that I can securely upload data to my Jenkins instance.
AC:
As a user, I'd like to pass in my credentials at invocation time, so that I do not have to store them locally or input them manually at runtime.
As a Bartlett user, I would like to stream log output directly from the build
sub-command, so that I do not have to execute a second log
sub-command when triggering jobs in order to stream log output.
AC:
-f|--follow
) to build
sub-command to stream log outputcurrent one can only update
As a Bartlett user, if I have not specified a protocol at invocation, I want my requests to be resolved via SSL before they are attempted over HTTP, so that my user credentials are not sent in the clear.
AC:
As a bartlett user, I would like to download the config.xml for a given job, so that I can debug the output of my generated jobs.
AC:
As a Bartlett user, I would like to stream job output from a running or triggered job, so that I can monitor the progress of my job from the command line.
AC:
log
sub-command added to print completed job's log given job path and build numberlog
sub-command has flag -f|--follow
that follows Jenkins log output for a running job given job pathAs a Bartlett user, I would like the option to enable colors in log output if the upstream job has enabled them, so that I can easily distinguish events in my builds.
Notes:
AC:
log
and build
sub-commands support option to display log output with colorsso we can use to get all jobs and back them up.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.