-
Notifications
You must be signed in to change notification settings - Fork 301
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
Programming exercises
: Simplify parsing of test suites in Jenkins setups
#9790
Programming exercises
: Simplify parsing of test suites in Jenkins setups
#9790
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think we need to reference the explicit plugin version in docker/jenkins/plugins.yml
because this depends on the new feature:
# Third-party plugins required by Artemis.
plugins:
...
- artifactId: test-notifications
source:
url: https://github.com/ls1intum/jenkins-server-notification-plugin/releases/latest/download/test-notifications.hpi
Keeping latest
wouldn't cause a rebuild of existing docker deployments, which would keep using the previously cached version.
@magaupp As far as I understand the documentation regarding the plugins, this is mostly used to provide some plugins automatically during the initial setup but then you are expected to update the plugins from the UI as usual. Updating the version here would not override the currently installed version of already running setups.
https://github.com/jenkinsci/docker/?tab=readme-ov-file#usage-1 Therefore, providing an exact version here does not really make sense, I think. It’s easier to keep the latest version here so that new users will always get the currently latest version without us having to maintain and remember to update it. |
/cc @SoftHeinrich can you test this PR on our test systems? |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
tested
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@SoftHeinrich tested it on our systems
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Tested with a Rust exercise on my local Jenkins setup. All testcases pass in the solution repo. 👍
@b-fein The documentation refers to plugins installed to the image and plugins installed to the container (
The I noticed that Artemis' upgrade documentation instructs a no-cache build for the manual build but a normal build for the compose build: I'm interested in the specifics of the tester's deployments. Maybe it's not an issue in actual deployments. |
Then I’ll update the |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Code
…suites-workaround-jenkins
…suites-workaround-jenkins
Programming exercises
: Improve parsing of test suites in Jenkins setupsProgramming exercises
: Simplify parsing of test suites in Jenkins setups
…suites-workaround-jenkins
Checklist
General
Server
Changes affecting Programming Exercises
Motivation and Context
JUnit-XMLs can either have a top-level
<testsuite>
or a<testsuites>
element. The Jenkins plugin so far only handled the<testsuite>
case since this was used for most exercises. For the other format a workaround using text replacement in the XML was used.With #9490 and #9691 LocalCI setups can parse such top-level
<testsuites>
elements. The Jenkins plugin as of version 1.10.0 can do it, too.Description
Removes the workaround from the Jenkins pipeline templates since they are no longer needed.
Steps for Testing
Prerequisites:
<testsuites>
in the XML. E.g. Haskell, Rust, Javascript, Typescript, Rust.Testserver States
Note
These badges show the state of the test servers.
Green = Currently available, Red = Currently locked
Click on the badges to get to the test servers.
Review Progress
Code Review
Manual Tests
Test Coverage
unchanged
Screenshots
n/a
@coderabbitai ignore