Skip to content

Instantly share code, notes, and snippets.

View dennisstritzke's full-sized avatar

Dennis Stritzke dennisstritzke

View GitHub Profile
@jonico
jonico / Jenkinsfile
Last active May 11, 2024 09:58
Example for a full blown Jenkins pipeline script with CodeQL analysis steps, multiple stages, Kubernetes templates, shared volumes, input steps, injected credentials, heroku deploy, sonarqube and artifactory integration, Docker containers, multiple Git commit statuses, PR merge vs branch build detection, REST API calls to GitHub deployment API, …
#!groovy
import groovy.json.JsonOutput
import groovy.json.JsonSlurper
def label = "mypod-${UUID.randomUUID().toString()}"
podTemplate(label: label, yaml: """
spec:
containers:
- name: mvn
image: maven:3.3.9-jdk-8
@fritschy
fritschy / anno-1602-gog.sh
Last active November 6, 2021 09:30
Run Anno 1602 on Linux with Wine
#!/bin/sh
export WINEPREFIX=$PWD
case "$1" in
setup)
mkdir -p ~/Games/anno-1602
cd ~/Games/anno-1602
winetricks winxp
winetricks ddr=gdi # do I need this?