View testcontainer.log
[INFO] Scanning for projects...
[INFO] Inspecting build with total of 1 modules...
[INFO] Installing Nexus Staging features:
[INFO] ... total of 1 executions of maven-deploy-plugin replaced with nexus-staging-maven-plugin
[INFO]
[INFO] ------------------------------------------------------------------------
[INFO] Building TestContainers :: JDBC :: Tests 0-SNAPSHOT
[INFO] ------------------------------------------------------------------------
[INFO]
[INFO] --- maven-resources-plugin:2.6:resources (default-resources) @ jdbc-test ---
View Dockerfile
FROM python:3.6.2-alpine3.6
WORKDIR /opt/tools/icestorm
RUN apk add --no-cache \
bash \
build-base \
libftdi1-dev \
linux-headers \
musl-dev \
View check_envvar_value_is_ok.mk
ifeq ($(VERILATOR_ROOT),)
$(error VERILATOR_ROOT is not set. Please set it.)
else
ifeq ($(wildcard $(VERILATOR_ROOT)/expected_file),)
$(error VERILATOR_ROOT is set to $(VERILATOR_ROOT) but not finding expected_file in there.)
endif
endif
all:
echo Done
View symlinkFile.groovy
// This snippet causes a java.io.NotSerializableException: sun.nio.fs.UnixPath
// Not sure why because I use @NonCPS
import java.nio.file.Path
import java.nio.file.Paths
import java.nio.file.Files
Path gradlePropertiesPath = Paths.get('/localdisk/jenkins/gradle/gradle.properties')
node() {
symlinkFile(gradlePropertiesPath)
View python3.6-setup.log
Sending build context to Docker daemon 203.8 kB
Step 1/4 : FROM python:3.6
---> 775dae9b960e
Step 2/4 : WORKDIR /tmp/app
---> 0a50baeafe90
Removing intermediate container 06d9206a8888
Step 3/4 : COPY requirements.txt requirements.txt
---> b8ee42a4b0f8
Removing intermediate container 3ef5cc0e069a
Step 4/4 : RUN python -m venv /tmp/venv && . /tmp/venv/bin/activate && pip install -r requirements.txt
View Dockerfile
FROM python@sha256:d7728edb9e52abc58552cec26d871f474394f3ffdefbe2929da93bfa42d92b1f
# Where the project files will be installed and tested inside the container
WORKDIR /usr/local/plowapp
# Copy the project files to the WORKDIR
COPY . .
# The python version in the container is owned by the OS of the container
# We need to isolate our project from the OS requirements by installing the virtualenv
View build.gradle
// To reproduce the bug:
// mkdir -p src/main/apple
// echo "red" >src/main/apple/pomme.txt
// gradle juicerJuicer
@Managed interface JuiceComponent extends GeneralComponentSpec { }
@Managed interface FruitLanguage extends LanguageSourceSet {}
@Managed
interface JuiceBinarySpec extends BinarySpec {
File getOutputDir()
View npe-getting-ivy.xml
$ gradle --daemon copyDeps --stacktrace
:copyDeps
FAILURE: Build failed with an exception.
* What went wrong:
Could not resolve all dependencies for configuration ':compile'.
> java.lang.NullPointerException (no error message)
* Try:
View buildFruits2.gradle
@Managed interface JuiceComponent extends GeneralComponentSpec { }
@Managed interface FruitLanguage extends LanguageSourceSet {}
@Managed
interface JuiceBinarySpec extends BinarySpec {
List<String> getArgs()
void setArgs(List<String> args)
}
class JuicerTask extends SourceTask {
View buildFruits.gradle
@Managed
interface FruitBinarySpec extends BinarySpec {
List<String> getFruits()
void setFruits(List<String> fruits)
}
class FruitTask extends SourceTask {
@Input
List<String> fruits