Skip to content

Instantly share code, notes, and snippets.

Keybase proof

I hereby claim:

  • I am darinpope on github.
  • I am darinpope (https://keybase.io/darinpope) on keybase.
  • I have a public key whose fingerprint is 331F 1E52 D97C E90C E281 E637 B129 1D61 0F21 81C6

To claim this, I am signing this object:

This is a Dockerfile and docker-compose.yml to run a custom CloudBees Core Traditional Client Master that has the /var/jenkins_support as an exposed volume

gcloud container clusters create dpope-gke --region us-east1 --machine-type n1-standard-2 --enable-autoscaling --num-nodes 1 --max-nodes 3 --min-nodes 1
kubectl create namespace cloudbees-core
kubectl create namespace ingress-nginx
kubectl config set-context $(kubectl config current-context) --namespace=cloudbees-core
helm repo add cloudbees https://charts.cloudbees.com/public/cloudbees
helm repo add stable https://kubernetes-charts.storage.googleapis.com/
helm repo update
import com.ning.http.client.*;
import jenkins.plugins.asynchttpclient.*;
import com.cloudbees.jenkins.plugins.assurance.model.*;
import org.apache.commons.lang.*;
ProxyServer proxy = AHCUtils.getProxyServer()
if (proxy != null) {
println proxy.getHost()
println proxy.getPort()

Table definition

CREATE TABLE countries (
  id INT NOT NULL AUTO_INCREMENT,
  iso VARCHAR(2) NOT NULL,
  iso3 VARCHAR(3) NOT NULL,
  iso_numeric INT NOT NULL,
  country_name VARCHAR(64) NOT NULL,
 capital VARCHAR(64) NOT NULL,

Pipeline version 1

pipeline {
  agent { label "linux" }
  stages {
    stage('Hello') {
      steps {
        sh '''
          aws --version
        '''