Skip to content

Instantly share code, notes, and snippets.

View SweetOps's full-sized avatar
🖖

Volodymyr S. SweetOps

🖖
View GitHub Profile
@SweetOps
SweetOps / jenkins-plugins.md
Created November 25, 2020 15:24 — forked from noqcks/jenkins-plugins.md
How to get a complete plugin list from jenkins (with version)

I need a way to get a list of plugins so that I can use them with docker jenkins in the format <plugin>: <version>

1. get the jenkins cli.

The jenkins CLI will allow us to interact with our jenkins server from the command line. We can get it with a simple curl call.

curl 'localhost:8080/jnlpJars/jenkins-cli.jar' > jenkins-cli.jar
@SweetOps
SweetOps / nginx.conf
Created August 21, 2020 13:31 — forked from dctrwatson/nginx.conf
Caching PyPi packages locally with nginx
user www-data;
worker_processes 4;
error_log /var/log/nginx/error.log;
pid /var/run/nginx.pid;
events {
worker_connections 1024;
}
@SweetOps
SweetOps / gist:b945d25bbb5f4f8cf6d3bcc8a7f4ab4b
Created January 8, 2019 08:54 — forked from CristinaSolana/gist:1885435
Keeping a fork up to date

1. Clone your fork:

git clone git@github.com:YOUR-USERNAME/YOUR-FORKED-REPO.git

2. Add remote from original repository in your forked repository:

cd into/cloned/fork-repo
git remote add upstream git://github.com/ORIGINAL-DEV-USERNAME/REPO-YOU-FORKED-FROM.git
git fetch upstream