Marcus Müller a.k.a. "Tethpub ZNeK"



Turn off bracketed paste (at least on Linux):

$ cat ~/.inputrc 
set enable-bracketed-paste 0

After upgrading the Jenkins instances I stumbled across this problem on an old Ubuntu build agent:

using GIT_SSH to set credentials This is jenkins
Verifying host key using known hosts file, will automatically accept unseen keys
 > git fetch --tags --force --progress -- +refs/heads/*:refs/remotes/gs-build/* # timeout=10
ERROR: Error fetching remote repo 'gs-build'
hudson.plugins.git.GitException: Failed to fetch from
	at hudson.plugins.git.GitSCM.fetchFrom(
	at hudson.plugins.git.GitSCM.retrieveChanges(
	at hudson.plugins.git.GitSCM.checkout(
	at org.jenkinsci.plugins.multiplescms.MultiSCM.checkout(
	at hudson.scm.SCM.checkout(
	at hudson.model.AbstractProject.checkout(
	at hudson.model.AbstractBuild$AbstractBuildExecution.defaultCheckout(
	at jenkins.scm.SCMCheckoutStrategy.checkout(
	at hudson.model.AbstractBuild$
	at hudson.model.Run.execute(
	at hudson.model.ResourceController.execute(
Caused by: hudson.plugins.git.GitException: Command "git fetch --tags --force --progress -- +refs/heads/*:refs/remotes/gs-build/*" returned status code 128:
stderr: command-line line 0: unsupported option "accept-new".
fatal: Could not read from remote repository.

As it turns out, the accept-new option is provided to ssh via the git plugin in order to accept yet unknown host keys (which supposedly makes life easier), but doesn't work for OpenSSH < 7.6.

The solution is to set GIT_SSH_COMMAND to ssh as an environment variable on the build node (via its configuration).

I had to migrate several Jenkins instances due to new Java requirements . All of these instances run on current FreeBSDs (13.1), so no problem on that side. The agents however need the same JRE as the servers which poses a problem for old (and outdated) build machines running macOS up to 10.13... I wasn't able to build a Java 11 version out-of-the-box on these, so I had to decommission them. For macOS 10.14 I got lucky: Microsoft (!) provides builds of various OpenJDK versions not only for Windows, but for macOS (and Linux) as well.


If you ever wondered if you can use an Apple M1 Mac Mini as a build agent for Jenkins by now, the answer is YES!

Homebrew (brew) does work reliable and it also has a bottle for java11 (java16 doesn't work!) that you'll need as the JRE for the agent.


How to extract contents from 'Payload' file in a apple macOS update package?

There is an undocumented option to pkgutil, --expand-full, which uses the same syntax as pkgutil --expand.

pkgutil --expand-full [pkg] [dir]

This will completely "unarchive" a pkg or mpkg file.

Height:165 cm
Weight:73.0 kg
Tattoos:not a single one
Piercings:not even that
Occupation:Independent IT contractor, Musician


Popular software
iTunesFS 2.0.0

Borussia Dortmund - Werder Bremen
Saturday, August 20, 2022 15:30 CEST
(in 4 days)

Fortune cookie
There's more than one way to skin a cat:
Way number 27 -- Use an electric sander.
another cookie!