Skip to content

Instantly share code, notes, and snippets.

View scherler's full-sized avatar

Thorsten Scherler scherler

View GitHub Profile
@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",
@scherler
scherler / gist:9c6d9074662d5a6d7ebab1260d7da38d
Created November 23, 2016 17:28 — forked from lttlrck/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
[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 / 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
@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',
},
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 / ATH
Created September 7, 2016 14:37 — forked from michaelneale/ATH
FROM ubuntu:16.04
RUN apt-get update
RUN apt-get install -y git
RUN apt-get install -y libxml2-utils
RUN apt-get install -y default-jdk
RUN apt-get install -y maven
RUN apt-get install -y firefox=45.0.2+build1-0ubuntu1
RUN apt-get install -y xvfb
RUN apt-get install -y curl wget
2016-08-26 16:00:07,253 [Thread-3] INFO (InputStreamHandler.java:47) com.github.eirslett.maven.plugins.frontend.lib.DefaultGulpRunner - The counter is 10000
2016-08-26 16:00:07,253 [Thread-3] INFO (InputStreamHandler.java:47) com.github.eirslett.maven.plugins.frontend.lib.DefaultGulpRunner - Finished: SUCCESS
2016-08-26 16:00:07,253 [Thread-3] INFO (InputStreamHandler.java:47) com.github.eirslett.maven.plugins.frontend.lib.DefaultGulpRunner -  at Object.module.exports.Check Job Blue Ocean run detail page - karaoke (/home/ubuntu/slave/workspace/Acceptance-Tests/acceptance/src/test/js/log-karaoke/freestyle.js:31:21)
2016-08-26 16:00:07,253 [Thread-3] INFO (InputStreamHandler.java:47) com.github.eirslett.maven.plugins.frontend.lib.DefaultGulpRunner - at _fulfilled (/home/ubuntu/slave/workspace/Acceptance-Tests/acceptance/node_modules/q/q.js:834:54)
2016-08-26 16:00:07,253 [Thread-3] INFO (InputStreamHandler.java:47) com.github.eirslett.maven.plugins.frontend.lib.DefaultGulpRunn
java.io.IOException: Failed to write _links
at org.kohsuke.stapler.export.Property.safeGetValue(Property.java:151)
at org.kohsuke.stapler.export.Property.writeTo(Property.java:126)
at org.kohsuke.stapler.export.Model.writeNestedObjectTo(Model.java:227)
at org.kohsuke.stapler.export.Model.writeNestedObjectTo(Model.java:223)
at org.kohsuke.stapler.export.Model.writeNestedObjectTo(Model.java:223)
at org.kohsuke.stapler.export.Property.writeValue(Property.java:279)
at org.kohsuke.stapler.export.Property.writeValue(Property.java:222)
at org.kohsuke.stapler.export.Property.writeValue(Property.java:168)
at org.kohsuke.stapler.export.Property.writeTo(Property.java:139)
node {
stage 'prepare to sing along'
sh 'echo prepare to sing along ; echo we will show the lyrics in the next stages; echo we will count down in the next stage;sleep 16'
stage 'Countdown'
sh 'echo prepare now;sleep 1; echo 5;sleep 1; echo 4;sleep 1; echo 3;sleep 1; '
stage 'SING'
sh 'echo ay oh - let s go 2*; sleep 5; '