ci: Fetch Fedora release list from Bodhi
Some checks failed
RPMs/wal-g/pipeline/pr-master There was a failure building this commit
Some checks failed
RPMs/wal-g/pipeline/pr-master There was a failure building this commit
Fedora PDC has been retired: https://fedora-arc.readthedocs.io/en/latest/pdc/split.html
This commit is contained in:
6
ci/Jenkinsfile
vendored
6
ci/Jenkinsfile
vendored
@@ -1,11 +1,11 @@
|
||||
def getFedoraVersions() {
|
||||
def response = httpRequest(
|
||||
url: 'https://pdc.fedoraproject.org/rest_api/v1/product-versions?short=fedora&active=true',
|
||||
url: 'https://bodhi.fedoraproject.org/releases?state=current',
|
||||
acceptType: 'APPLICATION_JSON',
|
||||
)
|
||||
def content = readJSON(text: response.content)
|
||||
return content.results.
|
||||
findAll { it.version != "rawhide" }.
|
||||
return content.releases.
|
||||
findAll { it.id_prefix == "FEDORA" }.
|
||||
collect { it.version }
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user