-
Notifications
You must be signed in to change notification settings - Fork 157
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
artifacts is not deployed intermittently #93
Comments
@tonytvo, can you please share with a sample project that reproduces this behaviour, so that we can debug it? |
it's a little bit more troublesome to create mock project that would simulate the exact behaviors, I will take a stab at it and see what I can do. |
@tonytvo, |
I will try it to night, I'm sorry, hasn't had chance to look into this yet On Sep 5, 2016 9:47 AM, "Eyal Ben Moshe" notifications@github.com wrote:
If you believe you have received this electronic transmission in error, |
This is what I got after I upgrade to build-info-extractor-4.4.4
|
@tonytvo, |
@eyalbe4 , I think I narrow down the problem a little bit.
Here's the snapshot of one of my gradle file of one of the sub modules:
Let me know if you need anything else from me |
@eyalbe4 , I saw that you have tagged 4.4.5 version, but I can't find 4.4.5 on jcenter, would it be uploaded there, or is there different place that it would be uploaded? |
@tonytvo, we will publish 4.4.5 to jcenter soon. We'll let you know when it is there. |
@eyalbe4 , I'm sorry, after upgrade to 4.4.5, it still skip uploading artifacts intermittently, on top of that I also have to put in afterEvaluate { artifactoryPublish.dependsOn 'generatePomFileForxxxPublication' } block to get it to work. |
I'm sorry, my bad, I forgot to change the version of the build info extract. I ran the scripts to do upload to artifactory 30 times and it all seems to work. Although I have to add afterEvaluate block to get it to work with build-info-extractor 4.4.5, but that's mentioned in another issue ticket. I will close this ticket for now. Thank you very much @eyalbe4 |
I just saw your commits to master again for race condition on deploying? do I need to update the version of build-info-extractor again? |
I'm sorry about that @tonytvo. |
ok, no problem I will close this issue again then. |
thanks @eyalbe4 , I will close this ticket then |
Added sha256sum values to deploy-files bash script. Also updated the script to handle coreutils not being installed.
Here's the log files I can gather using the gradle debug mode:
I took a look at the code and apparently, for some reasons this block of code:
return remainingTasks list that has more than 1 element and this is why it doesn't upload the artifact to artifactory. This doesn't happen all the times, it happens intermittently.
The environment details are:
gradle 3.0
build-info-extractor-gradle: 4.4.0
Any comments/suggestion would be greatly appreciated.
Cheers,
Tony
The text was updated successfully, but these errors were encountered: