Photonic3D icon indicating copy to clipboard operation
Photonic3D copied to clipboard

Build failing

Open WesGilster opened this issue 9 years ago • 7 comments

Started getting this on Gradle builds. 23:57:55.186 [ERROR] [org.gradle.internal.buildevents.BuildExceptionReporter] Execution failed for task ':githubRelease'. 23:57:55.189 [ERROR] [org.gradle.internal.buildevents.BuildExceptionReporter] > Cannot invoke method replace() on null object

WesGilster avatar Oct 26 '16 05:10 WesGilster

Checking now, in the meantime, if you link Travis CI to your github account and your fork, and then set the GITHUB_ACCESS_TOKEN environment variable in the config to include a personal access token you make at https://github.com/settings/tokens, then you can create releases via tag or from the GitHub UI by clicking the "Draft a New Release".

jmkao avatar Oct 26 '16 05:10 jmkao

Cool I'll try that tomorrow thanks

WesGilster avatar Oct 26 '16 05:10 WesGilster

Hmm... I can't reproduce this on Linux or Windows. Can you send the output with ./gradlew --stacktrace --info fullRelease

jmkao avatar Oct 26 '16 05:10 jmkao

Is it possible I lost my credentials in my gradle config? Seems strange that would cause this.

buildFail.txt

WesGilster avatar Oct 26 '16 05:10 WesGilster

No, that can't be it. Your credentials and the identification of your repoName out of .. is required by the setupRemote and setupRelease tasks, which githubRelease depends on and both ran fine. There must be something else wrong...

jmkao avatar Oct 26 '16 05:10 jmkao

Got Travis working. I'm not sure if I need to run the build locally now. I'll keep it open for you, if you want to continue to look at it.

WesGilster avatar Oct 30 '16 00:10 WesGilster

Yeah, keep it open. I'll poke at it some more and close it if I can't reproduce it.

jmkao avatar Oct 30 '16 02:10 jmkao