Skip to content

Instantly share code, notes, and snippets.

View sophistifunk's full-sized avatar

Josh McDonald sophistifunk

  • Expantra
  • Brisbane, Australia
View GitHub Profile
1 pkt chocolate biscuits, crushed up - food processor works well
1 tin condensed milk
170gm icing sugar
115 gm cocoa
115 gm melted cooled copha
2 or 3 tablespoons of rum
Mix it up, add more icing sugar if it's too wet, then roll into balls and cover with sprinkles (no coconut, or else!)
/*
# TODO:
- [ ] Not sure about "@antora/types" because there's no physical module for that. Maybe there should be a
types-only package within the antora lerna tree?
- [ ] Get Dan to vet names for types, and fill in any props I've missed - particularly AntoraFile
- [ ] Get Dan to confirm what's optional vs nullable vs required
- [ ] Do we want to use namespaces for things like the objects within a Playbook?
Or just code the structures in?
pipeline {
agent any
stages {
stage('A') {
steps{
echo '1'
sleep 5
}
pipeline {
agent any
stages {
stage('Alpha') {
parallel {
stage('Blue') {
steps {
script {
println "XXXX"
}
pipeline {
agent any
stages {
stage('T1 Triggers Bug') {
parallel {
// Removing T1-S1 completely does not trigger bug
stage('T1-S1') {
stages {
pipeline {
agent any
stages {
stage("Alpha") {
steps {
echo "From Alpha"
}
}
stage('Tall') {
stage ("Alpha") {
echo "From Alpha"
}
stage ("Bravo-stack") {
parallel(
alpha: {
echo 'Bravo-alpha'
},
bravo: {
echo 'Bravo-bravo'
Example showing structure:
[
{
"name": "Alpha",
"children": [
{
"name": "Homer",
"children": [],
"state": "not_built",
class Foo extends Error {
type: string;
constructor(type: string, message: string) {
super(message);
// Clean up the changes made by super()
this.constructor = Foo;
if ((Object as any).setPrototypeOf) {
@sophistifunk
sophistifunk / jenkinsfile
Created July 31, 2017 10:04
Tall and wide pipeline for testing scrolling
node {
stage('Alpha') {
sh 'echo doing stuff'
sh 'sleep 10'
}
stage('Bravo') {
sh 'echo doing stuff'
sh 'sleep 10'
}
stage('Charlie') {