Giter VIP home page Giter VIP logo

jengo's Introduction

Jengo

How to Install it

MacOS

brew tap tkennes/jengo

brew install jengo

How To Use it

Step 0. - Run a local Jenkins Server

If you already have a Jenkins Server, continue with the next step. If you are looking to deploy a more production-worthy Jenkins server, consult the Jenkins documentation.

Shortest option:

docker pull jenkins/jenkins

docker run -p 8080:8080 -p 50000:50000 -v jenkins_home:/var/jenkins_home jenkins/jenkins:lts

Short option: https://medium.com/@YetkinTimocin/creating-a-local-jenkins-server-using-docker-2e4dfe7b5880

Long option: https://www.jenkins.io/doc/book/installing/docker/

Step 1. Create an API Token

If you have sufficient rights, you should be able to create a token at the url suffix: /user//configure.

See also the screenshot below:

Step 1. Create a configuraiton file

Name it:

~/.jenkins.yaml

Fill it:

current: localhost
contexts: 
 - name: localhost
   url: "http://localhost:8080"
   username: "<username>"
   token:    "<token>"

In the future, I might add options for more customization with regard to the contexts, as well as making use of multiple contexts. Currently, this is not of direct use for my own projects, so I am postponing this.

Contributions are as always much appreciated!

Step 2.

The commands should be working now!

Give it a try:

jengo jobs
jengo builds --job <job-name>

Contribute

We make use of githooks, taken out of the unsynced ./.git/hooks folder and put in the .githooks folder (surprisingly :)). This allows for versioning of githooks as well. There is only a small caveat, you need to adjust your git settings before it is able to pick up this change. If the git your are using is of version 2.29 or above, doing so is fairly simple:

git config core.hooksPath .githooks

Notice that this only applies to the repository you're currently in.

https://www.viget.com/articles/two-ways-to-share-git-hooks-with-your-team/

jengo's People

Contributors

tkennes avatar

Stargazers

 avatar  avatar

Watchers

 avatar

jengo's Issues

invalid tap config

Was attempted to install per the instructions, and I got this error:

$ brew tap tkennes/jengo
==> Tapping tkennes/jengo
Cloning into '/usr/local/Homebrew/Library/Taps/tkennes/homebrew-jengo'...
remote: Enumerating objects: 72, done.
remote: Counting objects: 100% (72/72), done.
remote: Compressing objects: 100% (68/68), done.
remote: Total 72 (delta 19), reused 18 (delta 2), pack-reused 0
Receiving objects: 100% (72/72), 11.03 KiB | 2.21 MiB/s, done.
Resolving deltas: 100% (19/19), done.
Error: Invalid formula: /usr/local/Homebrew/Library/Taps/tkennes/homebrew-jengo/jengo.rb
jengo: Calling bottle :unneeded is disabled! There is no replacement.
Please report this issue to the tkennes/jengo tap (not Homebrew/brew or Homebrew/core):
  /usr/local/Homebrew/Library/Taps/tkennes/homebrew-jengo/jengo.rb:6

Error: Cannot tap tkennes/jengo: invalid syntax in tap!

Some quick googling suggests this can be fixed simply by removing the offending line.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.