Unable to configure containerImage in Hugo preview pipeline
In the api-spec-host project, an update is being created that moves the current code to use NodeJS instead of Shell for the build script, as well as some minor updates for new features that required a few changes to the Hugo layouts. Locally I had no problems running this code, but upstream the latest hugo-node image uses Hugo 0.76.5 rather than 0.110.0 which is what we have been switching to.
In an attempt to fix this, I updated the image used in the build using the containerImage property, setting it to our Hugo 110 + Node 18 build. With this change set, the build fails at start when loading the configurations. I've included the message below, as well as a link to the changed file, and the failing build. If I should be using a different property please let me know! I did my best to find the best one but I'm not versed in Groovy syntax
Failing build: https://foundation.eclipse.org/ci/webdev/job/eclipsefdn-spec-host/job/MR-5/16/console
Updated Jenkinsfile: eclipsefdn/it/webdev/eclipsefdn-api-spec-host!5 (diffs)
Message:
Started by timer
Querying the current revision of merge request #5...
Current revision of merge request #5 is 1310f779be0f8d80fe7fcb4f7d91845a0f6ddf07
Obtained Jenkinsfile from 61c8ae617fcda786e5764f36d404e7694f02a025+1310f779be0f8d80fe7fcb4f7d91845a0f6ddf07
Loading library releng-pipeline@refs/tags/v0.10.3
Library releng-pipeline@refs/tags/v0.10.3 is cached. Copying from home.
[Pipeline] Start of Pipeline
[Pipeline] End of Pipeline
Also: org.jenkinsci.plugins.workflow.actions.ErrorAction$ErrorId: 3ead0026-040f-4ee3-868a-c8f4c0c90ad2
hudson.remoting.ProxyException: groovy.lang.MissingPropertyException: No such property: containerImage for class: WorkflowScript
at org.codehaus.groovy.runtime.ScriptBytecodeAdapter.unwrap(ScriptBytecodeAdapter.java:66)
at org.codehaus.groovy.runtime.callsite.PogoGetPropertySite.getProperty(PogoGetPropertySite.java:51)
at org.codehaus.groovy.runtime.callsite.AbstractCallSite.callGetProperty(AbstractCallSite.java:299)
at org.eclipsefdn.jenkins.preview.jamstack.JamstackPreview.<init>(JamstackPreview.groovy:12)