Open hohwille opened 1 week ago
Totals | |
---|---|
Change from base Build 9663746293: | 0.0% |
Covered Lines: | 4985 |
Relevant Lines: | 7951 |
Totals | |
---|---|
Change from base Build 9663746293: | 0.0% |
Covered Lines: | 4985 |
Relevant Lines: | 7951 |
Totals | |
---|---|
Change from base Build 9708861274: | 0.0% |
Covered Lines: | 4989 |
Relevant Lines: | 7960 |
Local build is successful:
[INFO] Results:
[INFO]
[INFO] Tests run: 214, Failures: 0, Errors: 0, Skipped: 0
...
[INFO] ------------------------------------------------------------------------
[INFO] BUILD SUCCESS
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 24.633 s
[INFO] Finished at: 2024-07-04T18:51:55+02:00
[INFO] ------------------------------------------------------------------------
@jan-vcapgemini also confirmed this on my feature-branch. So what is the difference on github why the build fails there?
[ERROR] Failures:
[ERROR] IdeCompleterTest.testIdeCompleterHandlesOptionsBeforeCommand:125->AutocompletionReaderTestSupport.assertBuffer:73->AutocompletionReaderTestSupport.assertBuffer:100
expected: "get-version mvn "
but was: "get-version mv"
[ERROR] IdeCompleterTest.testIdeCompleterHelp:22->AutocompletionReaderTestSupport.assertBuffer:73->AutocompletionReaderTestSupport.assertBuffer:100
expected: "helm"
but was: "help "
[ERROR] IdeCompleterTest.testIdeCompleterInstall:44->AutocompletionReaderTestSupport.assertBuffer:73->AutocompletionReaderTestSupport.assertBuffer:100
expected: "install mvn "
but was: "install m"
[INFO]
[ERROR] Tests run: 214, Failures: 3, Errors: 0, Skipped: 0
Does not make any sence, since this was an error initially and I fixed it and the fix is pushed and arrived on github and is shown in the "files changed" tab as well.
fixes #417
Current problems
When your are outside of an IDEasy project (no IDE_HOME), you get the error message and that also breaks the completion:Next our completion needs to be changed to be IDE_HOME aware. That is commandlets shall not be suggested by completion if they require ide home but the user is not in IDE_HOME. Otherwise I get completion support for e.g.ide install mvn
but then when I press return I will get the error above. However,ide help
oride create
oride --version
can be called from anywhere and should always be offered by completion.