-
Notifications
You must be signed in to change notification settings - Fork 38.7k
Closed as not planned
Labels
status: supersededAn issue that has been superseded by anotherAn issue that has been superseded by anothertype: taskA general taskA general task
Milestone
Description
$ ./gradlew clean build
> Task :framework-docs:antora FAILED
FAILURE: Build failed with an exception.
* What went wrong:
Execution failed for task ':framework-docs:antora'.
> Failed to calculate the value of task ':framework-docs:antora' property 'args'.
> Failed to download playbook from specified provider { host = 'github.com' repository = 'spring-projects/spring-framework' branch = 'docs-build' path = 'lib/antora/templates/per-branch-antora-playbook.yml' }.
This looks related to the recent change #30465 to download to the build directory. The antora
task seems to download the playbook quite early as part of registration. I can see in the logs the playbook is successfully retrieved, but the build directory probably doesn't exist yet.
Removing the dependency on "check" it no longer fails. However, the task also no longer gets run as part of the build to flag potential documentation issues.
I'm not sure if there is room for improvement on the Antora side. I find that both the "check" to "antora" dependency as well as the choice to cache the playbook under the build directory are reasonable choices.
Metadata
Metadata
Assignees
Labels
status: supersededAn issue that has been superseded by anotherAn issue that has been superseded by anothertype: taskA general taskA general task