Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add init scripts file name guide for build scan capturing #516

Merged
merged 1 commit into from
Feb 6, 2023

Conversation

KENNYSOFT
Copy link
Contributor

@KENNYSOFT KENNYSOFT commented Nov 27, 2022

I've experienced the build scan capturing not working sometimes. After some research, I found out that the order of the init script execution matters. This PR adds a guide for the situation.

Structure when failed:

USER_HOME
└── .gradle
    └── init.d
        ├── build-result-capture.init.gradle
        ├── build-result-capture-service.plugin.groovy
        └── scans-init.gradle

Resolved structure, for instance:

USER_HOME
└── .gradle
    └── init.d
        ├── 01-scans-init.gradle
        ├── build-result-capture.init.gradle
        └── build-result-capture-service.plugin.groovy

Signed-off-by: Hyeonmin Park <hyeonmin.park@kennysoft.kr>
@hythloda
Copy link

@bigdaz will look into this.

@bigdaz bigdaz merged commit 5abf330 into gradle:main Feb 6, 2023
@bigdaz
Copy link
Member

bigdaz commented Feb 6, 2023

Thanks for the contribution!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants