Skip to content

Instantly share code, notes, and snippets.

View scherler's full-sized avatar

Thorsten Scherler scherler

View GitHub Profile
export default [
{
"_class": "io.jenkins.blueocean.service.embedded.rest.AbstractPipelineImpl",
"_links": {
"activities": {
"_class": "io.jenkins.blueocean.rest.hal.Link",
"href": "/blue/rest/organizations/jenkins/pipelines/10_ur_sanity_build_delay/activities/"
},
"self": {
"_class": "io.jenkins.blueocean.rest.hal.Link",
@scherler
scherler / Futurama.jsx
Last active October 31, 2016 10:36
blueocean-toons
import React, { Component, PropTypes } from 'react';
import YouTubePlayer from './YouTubePlayer';
const results = {
futurama: {
ABORTED: 'mb_6UOAj_D0',
SUCCESS: 'G-C1dRZ_hps',
UNKNOWN: 'l-XIVujtkXc',
FAILURE: '1Isjgc0oX0s',
},
@scherler
scherler / inxi -Fxz
Created November 21, 2016 21:29
MSI PX60 6QG/ Intel(R) Core(TM) i7-6700HQ CPU @ 2.60GHz
System: Host: mysterion Kernel: 4.6.0-1-amd64 x86_64 (64 bit gcc: 5.4.0) Console: tty 0
Distro: Debian GNU/Linux stretch/sid
Machine: Device: laptop System: Micro-Star product: PX60 6QD v: REV:1.0
Mobo: Micro-Star model: MS-16H8 v: REV:1.0 UEFI: American Megatrends v: E16H8IMS.10F date: 07/04/2016
Battery BAT1: charge: 15.3 Wh 36.2% condition: 42.2/43.0 Wh (98%) model: MSI MS-16H8 status: Charging
CPU: Quad core Intel Core i7-6700HQ (-HT-MCP-) cache: 6144 KB
flags: (lm nx sse sse2 sse3 sse4_1 sse4_2 ssse3 vmx) bmips: 20735
clock speeds: max: 3500 MHz 1: 900 MHz 2: 900 MHz 3: 900 MHz 4: 900 MHz 5: 899 MHz 6: 899 MHz
7: 899 MHz 8: 900 MHz
Graphics: Card-1: Intel HD Graphics 530 bus-ID: 00:02.0
[13:13:44] Working directory changed to ~/opt/src/cloudbees/blueocean-plugin/blueocean-dashboard
[13:13:44] Test specs: src/test/js/**/*-spec.{js,jsx} (use --testFileSuffix switch to select different files)
[13:13:44] Changing default language level to ECMA v6. Found "babel-preset-es2015" dependency in package.json.
[13:13:44] Language level set to ECMA v6. Call builder.lang([number]) to change.
[13:13:44] **********************************************************************
[13:13:44] This build is using Jenkins JS Builder.
[13:13:44] For command line options and other help, go to
[13:13:44] https://www.npmjs.com/package/@jenkins-cd/js-builder
[13:13:44] **********************************************************************
[13:13:44] Maven project.
@scherler
scherler / gist:9c6d9074662d5a6d7ebab1260d7da38d
Created November 23, 2016 17:28 — forked from stuart11n/gist:9628955
rename git branch locally and remotely
git branch -m old_branch new_branch # Rename branch locally
git push origin :old_branch # Delete the old branch
git push --set-upstream origin new_branch # Push the new branch, set local branch to track the new remote
@scherler
scherler / installInfo:plugins
Created May 9, 2017 09:02
jenkins-instance/installInfo:plugins
const _$_object = [{
"hpiPluginId": "blueocean-config",
"extensions": [],
"hpiPluginVer": "1.1.0-beta-3-SNAPSHOT (private-b53ade71-alobato)"
}, {
"hpiPluginId": "blueocean-jwt",
"extensions": [],
"hpiPluginVer": "1.1.0-beta-3-SNAPSHOT (private-b53ade71-alobato)"
}, {
"hpiPluginId": "operations-center-elasticsearch-provider",
const requestBody = {
name: 'A-Team',
members: [{
id: 'hannibal',
role: 'TEAM_ADMIN',
}, {
id: 'face',
role: 'TEAM_MEMBER',
}, {
id: 'murdock',
Including development module in reactor: dev-run-client-2.7-fixed
Including development module in reactor: dev-run-client-latest
Including development module in reactor: dev-run-server
Including development module in reactor: dev-run-server-bluesteel
Including development module in reactor: unified-release
Including development module in reactor: bluesteel
Including development module in reactor: operations-center-kitten
Preparing to start dev-run-server-bluesteel
Forking dev-run-server-bluesteel
All processes started
Picked up _JAVA_OPTIONS: -Djava.io.tmpdir=/opt
[INFO] Error stacktraces are turned on.
[INFO] Scanning for projects...
[INFO]
[INFO] ------------------------------------------------------------------------
[INFO] Building CloudBees Jenkins Enterprise :: Managed Master 2.73.1.2-SNAPSHOT
[INFO] ------------------------------------------------------------------------
[WARNING] The POM for com.cloudbees.nectar.plugins:cloudbees-license:jar:8.0-alpha-1 is missing, no dependency information available
[INFO]
[INFO] --- maven-dependency-plugin:2.10:tree (default-cli) @ cje-mm ---
Picked up _JAVA_OPTIONS: -Djava.io.tmpdir=/opt
[INFO] Error stacktraces are turned on.
[INFO] Scanning for projects...
[INFO]
[INFO] ------------------------------------------------------------------------
[INFO] Building CloudBees Jenkins Enterprise :: Managed Master 2.73.1.2-SNAPSHOT
[INFO] ------------------------------------------------------------------------
[WARNING] The POM for com.cloudbees.nectar.plugins:cloudbees-license:jar:8.0-alpha-1 is missing, no dependency information available
[INFO]
[INFO] --- maven-dependency-plugin:2.10:tree (default-cli) @ cje-mm ---