-
Notifications
You must be signed in to change notification settings - Fork 8
Open
Labels
type: enhancementA general enhancementA general enhancement
Description
This error happened half way through the release. It would be nice if this was validated before a release was performed or initiated.
./gradlew createGitHubRelease -PnextVersion=$VERSION -Pbranch=$BRANCH -PcreateRelease=true -PgitHubAccessToken=$TOKEN
shell: /usr/bin/bash -e {0}
env:
GRADLE_ENTERPRISE_CACHE_USERNAME: ***
GRADLE_ENTERPRISE_CACHE_PASSWORD: ***
GRADLE_ENTERPRISE_ACCESS_KEY: ***
DEVELOCITY_ACCESS_KEY: ***
REPO: spring-projects/spring-security-kerberos
BRANCH: main
TOKEN: ***
MILESTONE_REPO: https://repo.spring.io/artifactory/milestone
RELEASE_REPO: https://repo1.maven.org/maven2
ARTIFACT_PATH: org/springframework/security/kerberos/spring-security-kerberos-core
JAVA_HOME: /opt/hostedtoolcache/Java_Temurin-Hotspot_jdk/17.0.11-9/x64
JAVA_HOME_17_X64: /opt/hostedtoolcache/Java_Temurin-Hotspot_jdk/17.0.11-9/x64
GRADLE_ACTION_ID: gradle/actions/setup-gradle
GRADLE_BUILD_ACTION_SETUP_COMPLETED: true
GRADLE_BUILD_ACTION_CACHE_RESTORED: true
DEVELOCITY_INJECTION_INIT_SCRIPT_NAME: gradle-actions.inject-develo***ty.init.gradle
DEVELOCITY_AUTO_INJECTION_CUSTOM_VALUE: gradle-actions
GITHUB_DEPENDENCY_GRAPH_ENABLED: false
VERSION: 2.1.0
Starting a Gradle Daemon (subsequent builds will be faster)
Note: Some input files use or override a deprecated API.
Note: Recompile with -Xlint:deprecation for details.
> Task :buildSrc:compileJava
> Task :buildSrc:compileGroovy
> Task :buildSrc:pluginDescriptors
> Task :buildSrc:processResources
> Task :buildSrc:classes
> Task :buildSrc:jar
> Task :generateChangelog FAILED
16:[3](https://github.com/spring-projects/spring-security-kerberos/actions/runs/9370685733/job/25798413414#step:7:3)4:40.034 [main] ERROR org.springframework.boot.diagnostics.LoggingFailureAnalysisReporter --
***************************
APPLICATION FAILED TO START
***************************
Description:
Config data resource 'file [scripts/release/release-notes-sections.yml]' via location 'scripts/release/release-notes-sections.yml' does not exist
Action:
Check that the value 'scripts/release/release-notes-sections.yml' is correct, or prefix it with 'optional:'
FAILURE: Build failed with an exception.
Deprecated Gradle features were used in this build, making it incompatible with Gradle 9.0.
You can use '--warning-mode all' to show the individual deprecation warnings and determine if they come from your own scripts or plugins.
For more on this, please refer to https://docs.gradle.org/8.7/userguide/command_line_interface.html#sec:command_line_warnings in the Gradle documentation.
* What went wrong:
Execution failed for task ':generateChangelog'.
> Process 'command '/usr/lib/jvm/temurin-17-jdk-amd6[4](https://github.com/spring-projects/spring-security-kerberos/actions/runs/9370685733/job/25798413414#step:7:4)/bin/java'' finished with non-zero exit value 1
* Try:
> Run with --stacktrace option to get the stack trace.
> Run with --info or --debug option to get more log output.
> Get more help at https://help.gradle.org.
BUILD FAILED in 17s
[6](https://github.com/spring-projects/spring-security-kerberos/actions/runs/9370685733/job/25798413414#step:7:6) actionable tasks: 6 executed
Metadata
Metadata
Assignees
Labels
type: enhancementA general enhancementA general enhancement