You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It appears that when defining an agent using the declarative syntax, the default checkout functionality that comes with declarative pipelines is disabled.
I suspect the issue might be in com.cloudbees.jenkins.plugins.amazonecs.pipeline.ECSDeclarativeAgentScript but can't be certain. That class appears to import org.jenkinsci.plugins.pipeline.modeldefinition.agent.CheckoutScript but does not do anything with it.
There is a simple enough workaround (explicitly disable default checkout and add a checkout stage):
It appears that when defining an agent using the declarative syntax, the default checkout functionality that comes with declarative pipelines is disabled.
I suspect the issue might be in
com.cloudbees.jenkins.plugins.amazonecs.pipeline.ECSDeclarativeAgentScript
but can't be certain. That class appears to importorg.jenkinsci.plugins.pipeline.modeldefinition.agent.CheckoutScript
but does not do anything with it.There is a simple enough workaround (explicitly disable default checkout and add a checkout stage):
Obviously it would be preferred though if the default checkout functionality was preserved when using a declarative definition for an ECS agent.
The text was updated successfully, but these errors were encountered: