npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2024 – Pkg Stats / Ryan Hefner

hubot-yardmaster

v1.0.30

Published

Hubot Script for controlling CI server actions, what to deploy, when to deploy, what branch is deployed

Downloads

53

Readme

Hubot Yardmaster

Yardmaster is a Hubot plugin that allows you to interact with Jenkins instance remotely. Build jobs, change branches, start builders, lock jobs... The list goes on.

Environment Variables Required:

  • HUBOT_JENKINS_URL - Jenkins base URL
  • HUBOT_JENKINS_USER - Jenins admin user
  • HUBOT_JENKINS_USER_API_KEY - Admin user API key. Not your password. Find at "{HUBOT_JENKINS_URL}/{HUBOT_JENKINS_USER}/configure"
  • HUBOT_JENKINS_JOB_NAME - Hubot job name on Jenkins (optional)
  • GITHUB_TOKEN - Github API Auth token (optional)
  • MONITOR_JENKINS - true | false : If true, hubot will monitor the jenkins queue and start nodes when job queue is greater than 2.

Commands:

  • hubot jenkins auth set {username} {api key} - Give Hubot your credentials to use when you issue commands.
  • hubot jenkins auth - See what Jenkins username the Hubot has for you.
  • hubot jenkins auth clear - Clear your Jenkins credentials.
  • hubot switch|change|build {job} to|with {branch} - Change job to branch on Jenkins and build.
  • hubot (show|current|show current) branch for {job} - Shows current branch for job on Jenkins.
  • hubot (go) build yourself|(go) ship yourself - Rebuilds default branch if set.
  • hubot list jobs|jenkins list|all jobs|jobs {job} - Shows all jobs in Jenkins. Filters by job if provided.
  • hubot build|rebuild {job} [PARAM1=VALUE1 PARAM2=VALUE2 ...] - Rebuilds job, optionally with parameters.
    • The parameter names must match those defined in Jenkins and currently values cannot have spaces in them.
  • hubot build|rebuild {job}
  • hubot enable|disable {job} - Enable or disable job on jenkins.
  • hubot show|show last|last (build|failure|output) for {job} - show output for last job
  • hubot show|show output|output for {job} {number} - show output job output for number given
  • hubot set branch message to {message} - set custom message when switching branches on a job
  • hubot remove branch message - remove custom message. Uses default message.
  • hubot show|show last|last (build|failure|output) for {job} - show output for last job.
  • hubot show|show output|output for {job} {number} - show output job output for number given.
  • hubot {job} status - show current build status and percent compelete of job and its dependencies.
  • hubot set job repos - Pulls list of jobs and repos from jenkins and places in memory to validate branch names if github token provided.
  • hubot remove job repos - Will remove job repos from memory.
  • hubot watch job {job-url} - Will check job every minute and notify you on completion
  • hubot (show|show last|last) (build) (date|time) for {job} - shows the last build date and time for a job
  • hubot (start|build) (builder|slave|node) - starts one of the available slave nodes.
  • hubot send reinforcements - starts one of the available slave nodes.

Author:

@riveramj