-
Welcome to Night Vale - Community Radio Station from the Town in the Twilight Zone
-
Reply All - Technical answers
-
Hardcore History - In-depth History
-
How Did this Get Made? - Bad Movies
-
Stuff You Should Know - One topic, drill in
-
Stuff to Blow Your Mind
-
-
Tech Village - DevOps HugOps
-
PodCtl - K8S (and CloudCast)
-
Commandline Heros
-
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
export BASE=1.19 # or whatever; last release compatible with targeted core or other deps | |
export BASETAG=mystuff-${BASE} # or as per http://maven.apache.org/maven-release/maven-release-plugin/prepare-mojo.html#tagNameFormat | |
export FIX=abcd1234 # whatever the backportable fix was, in master or somewhere newer than $BASE | |
git checkout -b ${BASE}.x $(git log --reverse --ancestry-path --pretty=%H ${BASETAG}..master | head -1) | |
# or for JEP-305 use: mvn versions:set-property -Dproperty=revision -DnewVersion=${BASE}.1 | |
mvn versions:set -DnewVersion=${BASE}.1-SNAPSHOT | |
git commit -a -m "Prepare for ${BASE}.1" | |
git push -u origin ${BASE}.x | |
git cherry-pick -x -m1 $FIX | |
mvn -B release:{prepare,perform} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
pipeline { | |
agent none | |
stages { | |
stage("foo") { | |
matrix { | |
axes { | |
axis { | |
name 'OS_VALUE' | |
values "linux", "windows", "mac" | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
24.800 [test0 #1] org.jenkinsci.plugins.scriptsecurity.sandbox.RejectedAccessException: Scripts not permitted to use method groovy.lang.GroovyObject getProperty java.lang.String (__DeclarativePipelineRuntime_Root_2__.env) | |
24.800 [test0 #1] at org.jenkinsci.plugins.scriptsecurity.sandbox.whitelists.StaticWhitelist.rejectMethod(StaticWhitelist.java:267) | |
24.800 [test0 #1] at org.jenkinsci.plugins.scriptsecurity.sandbox.groovy.SandboxInterceptor$11.reject(SandboxInterceptor.java:358) | |
24.801 [test0 #1] at org.jenkinsci.plugins.scriptsecurity.sandbox.groovy.SandboxInterceptor.onGetProperty(SandboxInterceptor.java:409) | |
24.801 [test0 #1] at org.kohsuke.groovy.sandbox.impl.Checker$6.call(Checker.java:289) | |
24.801 [test0 #1] at org.kohsuke.groovy.sandbox.impl.Checker.checkedGetProperty(Checker.java:293) | |
24.801 [test0 #1] at com.cloudbees.groovy.cps.sandbox.SandboxInvoker.getProperty(SandboxInvoker.java:29) | |
24.801 [test0 #1] at com.cloudbees.groovy.cps.impl.PropertyAccessBlock.rawGet(PropertyAccess |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
pipeline { | |
agent none | |
stages { | |
stage("BuildAndTest") { | |
matrix { | |
agent { | |
label "${os}" | |
} | |
when { | |
and { |
(Note taker arrived late)
Frustrations/Issues:
-
Commenting when making edits would be more effective - "Be the change you want to see in the code"
-
Over-broad notification - Stash adds you to everything you ever touched for notifications
-
Typo and formatting nitpicks - "This whitespace is off."
-
Non-functional comments - personal or other poorly defined stylistic preferences/suggestion
-
Friction during code review process
-
Siloing - reviewers not being familiar with other areas or being unfriendly from reviews outside their prefered colaborators
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import groovy.json.JsonOutput | |
/** Tox environment */ | |
def config = 'e2e-tests/tox.ini' | |
def environment = 'tests' | |
/** Map of desired capabilities */ | |
def capabilities = [ | |
browserName: 'Firefox', | |
version: '47.0', |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
set -e | |
if [ $# -eq 0 ]; then | |
echo "USAGE: $0 plugin1 plugin2 ..." | |
exit 1 | |
fi | |
plugin_dir=/var/lib/jenkins/plugins |