Adds the ability to provide configuration files (i.e., settings.xml for maven, XML, groovy, custom files, etc.) loaded through the Jenkins UI which will be copied to the job’s workspace.
Blog
-
the Jenkins “Config File Provider” plugin — allows you to copy various similar configuration files to all your nodes — also adds the ability to edit those files through the Jenkins UI
-
how to end GNU’s “tail –follow” together with the termination of the utility that creates the file being watched?
GNU’s tail has a command line option for this: “–pid=…“. What a nice feature!!!
I was just about to do implement “it” the usual way, when I came across the manual page and got aware of this feature. Used it, worked as expected. This is great!I actually needed it first in a Windows context; so I had to convert a .bat script to a Cygwin-style bash script; then I implemented the file watching as described above. I like the UNIX and GNU toolchains.
-
the Windows shortcuts for “minimize/maximize the focused window”
- https://en.wikipedia.org/wiki/Table_of_keyboard_shortcuts
- Win+”arrow down” (actually not respected by all applications) resp. Win+”arrow up”
- Alt+Space then “n” (as in Minimize)
- Alt+Space then “x” (as in Maximize)
One reason less to use the mouse sitting like 30cm away from my keyboard … — I enjoy that.
Update 2025-01-30:
On German Windows 11 it is no longer “Alt+Space” but “Win+Alt+Space”. (But it is not working in every context.)
-
the new Synology router “RT1900ac” — router only, no modem
- https://www.synology.com/en-global/products/RT1900ac
- https://www.cyberport.de/synology-rt1900ac-1900mbit-s-dualband-wlan-router-5644-001_184.html
- http://www.amazon.de/gp/offer-listing/B01773J9JU
- https://www.synology.com/en-global/compatibility?search_by=products&category=usb_3g_4g_dongles&p=1&product_bays=Router&product_name=RT1900ac – compatible 3G/4G dongles
- http://stadt-bremerhaven.de/angeschaut-synology-rt1900ac/
- just in case you should not be aware of it: it does not come with a built-in modem, no DSL, no VDSL, nothing
-
some Synology DiskStations support certain 3G/4G dongles to go online via them – does this make them a 3G/4G router?
And can you operate the NAS as a router then? I.e. can it “share” its Internet connection through LAN or WIFI?
-
Jenkins: Build / “Execute shell” / exit codes …
From the help section of “Execute Shell”:
By default, the shell will be invoked with the “-ex” option. So all of the commands are printed before being executed, and the build is considered a failure if any of the commands exits with a non-zero exit code. Again, add the #!/bin/... line to change this behavior.
Funny, “set -e” (“exit immediately if … exits with a non-zero status”) is being applied, just as it is with good old “make”.
There are pros and cons for that. But in the end I can seriously not live with it, because I can’t have a single file or directory test, that (expectedly!) exits non-zero.
Another funny aspect (the bash man page says):
Subshells spawned to execute command substitution inherit the value of the -e option from the parent shell. When not in posix mode, bash clears the -e option in such subshells.