SUSE-Cloud / automation

Automation scripts for development, testing, and CI
Apache License 2.0
68 stars 139 forks source link

Switching jobs to use lightweight checkout #3965

Closed gosipyan closed 2 years ago

gosipyan commented 2 years ago

After recent Jenkins security updates all CI pipeline jobs start to fail. Adding work around by enabling lightweight checkout.

gosipyan commented 2 years ago

Tested with https://ci.suse.de/view/Cloud/view/1)%20Cloud%20Gating/job/cloud-8-gating/

gosipyan commented 2 years ago

@JanZerebecki there are several issues https://issues.jenkins.io/browse/JENKINS-62019 one of them .

gosipyan commented 2 years ago

@JanZerebecki which jobs would break if this is merged ? Maybe there is solution merge this without breaking anything .

JanZerebecki commented 2 years ago

How do you run a job on a PR if the argument for a different branch doesn't work? I don't know of a way to not break that. And its broken either way as without this change the jobs don't work either.

gosipyan commented 2 years ago

Looks like issue got fixed on CI side and no need this workaround thanks for reviews .