Skip to content

Commit

Permalink
workaround(pulish.sh) Only check the last 3 Jenkins versions for publ…
Browse files Browse the repository at this point in the history
…ication (#1558)
  • Loading branch information
dduportal authored Jan 31, 2023
1 parent e35d779 commit 3719367
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .ci/publish.sh
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,7 @@ is-published() {
}

get-latest-versions() {
curl --disable --fail --silent --show-error --location https://repo.jenkins-ci.org/releases/org/jenkins-ci/main/jenkins-war/maven-metadata.xml | grep '<version>.*</version>' | grep -E -o '[0-9]+(\.[0-9]+)+' | sort-versions | uniq | tail -n 30
curl --disable --fail --silent --show-error --location https://repo.jenkins-ci.org/releases/org/jenkins-ci/main/jenkins-war/maven-metadata.xml | grep '<version>.*</version>' | grep -E -o '[0-9]+(\.[0-9]+)+' | sort-versions | uniq | tail -n 3
}

publish() {
Expand Down

0 comments on commit 3719367

Please sign in to comment.