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

chore: refresh the Jenkins CI scripts #5910

Merged
merged 1 commit into from
Aug 15, 2024
Merged

chore: refresh the Jenkins CI scripts #5910

merged 1 commit into from
Aug 15, 2024

Conversation

monperrus
Copy link
Collaborator

WIth that, the majority of non-regression jobs are up and running again: https://ci.inria.fr/sos/


## note: before we used ranges [10.0.O,), but this does not work in plugins for some obscure reason
# so we have to inject the latest version instead
xmlstarlet ed -L -N x="http://maven.apache.org/POM/4.0.0" -s "/x:project/x:build/x:plugins/x:plugin[last()]/x:dependencies/x:dependency[last()]" --type elem -n version -v $(curl -L "https://www.monperrus.net/martin/last-version-maven.py?groupId=fr.inria.gforge.spoon&artifactId=spoon-core") pom.xml
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Oh god, I will pretend I didn't see this

@@ -172,14 +177,17 @@ xmlstarlet ed -L -N x="http://maven.apache.org/POM/4.0.0" -s "/x:project/x:build
xmlstarlet ed -L -N x="http://maven.apache.org/POM/4.0.0" -s "/x:project/x:build/x:plugins/x:plugin[last()]/x:dependencies" --type elem -n dependency -v "" pom.xml
xmlstarlet ed -L -N x="http://maven.apache.org/POM/4.0.0" -s "/x:project/x:build/x:plugins/x:plugin[last()]/x:dependencies/x:dependency[last()]" --type elem -n groupId -v "fr.inria.gforge.spoon" pom.xml
xmlstarlet ed -L -N x="http://maven.apache.org/POM/4.0.0" -s "/x:project/x:build/x:plugins/x:plugin[last()]/x:dependencies/x:dependency[last()]" --type elem -n artifactId -v "spoon-core" pom.xml
xmlstarlet ed -L -N x="http://maven.apache.org/POM/4.0.0" -s "/x:project/x:build/x:plugins/x:plugin[last()]/x:dependencies/x:dependency[last()]" --type elem -n version -v "[7.0.0-SNAPSHOT,)" pom.xml

## note: before we used ranges [10.0.O,), but this does not work in plugins for some obscure reason
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think maven really doesn't want you to use ranges in general and the existing ones work out of spite…

We also used to use LATEST for the javadoc linter with jbang, but that failed to resolve the version every other run.

@monperrus
Copy link
Collaborator Author

ping for merge @I-Al-Istannen

@I-Al-Istannen I-Al-Istannen merged commit c25302e into master Aug 15, 2024
13 checks passed
@I-Al-Istannen I-Al-Istannen deleted the ci2 branch August 15, 2024 10:28
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.

2 participants