FMCorz / mdk

Moodle Development Kit. A collection of tools meant to make developers' lives easier.
GNU General Public License v3.0
85 stars 47 forks source link

Make mdk precheck work again #169

Closed mudrd8mz closed 6 years ago

mudrd8mz commented 6 years ago

After a recent upgrade of HQ CI Jenkins, the mdk precheck stopped working.

mudrd8mz commented 6 years ago

I don't know what other steps are needed with regards to jenkinsapi version bump. On my machine, I just ran pip install --user -r requirements.txt. Leaving the proper packaging part of more experienced ones.

Related readings:

andrewnicols commented 6 years ago

I think that this will be fixed in Jenkins shortly anyway: https://issues.jenkins-ci.org/browse/JENKINS-22474

That change landed in the LTS this week, and has already been applied to https://ci.moodle.org. I imagine that we'll soon be applying it to https://integration.moodle.org too.

mudrd8mz commented 6 years ago

I see. Thanks @andrewnicols

mudrd8mz commented 6 years ago

Any news on whether the JENKINS-22474 is already available on https://integration.moodle.org ? TIA

stronk7 commented 6 years ago

Hi,

https://integration.moodle.org is running latest 2.114 and https://ci.moodle.org 2.107.1 (LTS) so it should be fixed in both sites. Prechecker is still in the former, of course. Soon will be moved.

So I'd say you can try this right now. Ciao :-)

mudrd8mz commented 6 years ago

Hmm, weird. I am still getting

Invoking the build on the CI server...
CIException: Failed to invoke the build, check your permissions.

like before.

mudrd8mz commented 6 years ago

And I can confirm that with this pull requested version, mdk precheck works for me.

andrewnicols commented 6 years ago

Ah well. So much for that bug being fixed. @FMCorz Can we pull this? :)

FMCorz commented 6 years ago

Thanks guys!

Note, the version of the jenkinsapi in requirements.txt was previously hard set (==) because they broke their API from one minor version to another, so I had it locked where it worked.