-
Bug
-
Resolution: Fixed
-
Blocker
-
None
I've create a minimal README.md
# Build ./gradlew clean build
However, literate-plugin throws an NPE while building:
Parsing literate build description... Literate build description: FATAL: null java.lang.NullPointerException at org.cloudbees.literate.jenkins.LiterateBranchBuild$RunnerImpl.doRun(LiterateBranchBuild.java:238) at hudson.model.AbstractBuild$AbstractBuildExecution.run(AbstractBuild.java:565) at hudson.model.Run.execute(Run.java:1592) at org.cloudbees.literate.jenkins.LiterateBranchBuild.run(LiterateBranchBuild.java:211) at hudson.model.ResourceController.execute(ResourceController.java:88) at hudson.model.Executor.run(Executor.java:237) at hudson.model.OneOffExecutor.run(OneOffExecutor.java:66)
From the stacktrace it looked like the plugin was missing 'environments', so I added one:
# Build ./gradlew clean build # Environments * `linux`
However, the issue remains