changes.
Locally builds fine, on Jenkins it returns:
Copy code
00:02:51.294 FAILURE: Build failed with an exception.
00:02:51.294
00:02:51.294 * What went wrong:
00:02:51.294 Execution failed for task ':kotlinStoreYarnLock'.
00:02:51.294 > yarn.lock was changed. Run the `kotlinUpgradeYarnLock` task to actualize yarn.lock file
Am I supposed to run
kotlinUpgradeYarnLock
on the Jenkins pipeline too, or should it work straight away? I don't recall this issue in the past.
Edoardo Luppi
01/31/2024, 5:02 PM
I've run
kotlinUpgradeYarnLock
manually on the CI disk, and the
yarn.lock
file has remained exactly the same.
But now it doesn't complain? Mmmh, I don't get it
h
hfhbd
01/31/2024, 9:31 PM
Maybe different line endings?
e
Edoardo Luppi
01/31/2024, 9:41 PM
@hfhbd the plugin seems to check line by line, so the line endings get discarded
a
andylamax
02/01/2024, 3:21 AM
kotlin 2.0.0 eeeh?
e
Edoardo Luppi
02/01/2024, 8:27 AM
@andylamax no no, 1.9.22
a
andylamax
02/01/2024, 8:34 AM
I started getting the error when I jumped from 1.9.21 to 2.0.0. I never used 1.9.22.
But since that jump, if have had to run kotlinUpdateYarnLock before any task involing kotlin/js for the task to execute successfully