legacy-knowledge-base
公開されました Jun. 30, 2025

Why is Jenkins build failing with SynchronousResumeNotSupportedException?

投稿者

Sebastian Madaras

knowledge-article-header-disclaimer-how-to

knowledge-article-header-disclaimer

legacy-article

learn-legacy-article-disclaimer-text

Issue

  • We are facing an issue where the builds are failing and we are getting the below error: 
org.jenkinsci.plugins.workflow.steps.SynchronousResumeNotSupportedException: Resume after a restart not supported for non-blocking synchronous steps
	at org.jenkinsci.plugins.workflow.steps.SynchronousNonBlockingStepExecution.onResume(SynchronousNonBlockingStepExecution.java:75)
	at org.jenkinsci.plugins.workflow.flow.FlowExecutionList$ItemListenerImpl$1.onSuccess(FlowExecutionList.java:187)
	at org.jenkinsci.plugins.workflow.flow.FlowExecutionList$ItemListenerImpl$1.onSuccess(FlowExecutionList.java:182)
	at com.google.common.util.concurrent.Futures$CallbackListener.run(Futures.java:1138)
	at org.jenkinsci.plugins.workflow.flow.DirectExecutor.execute(DirectExecutor.java:33)
	at com.google.common.util.concurrent.AbstractFuture.executeListener(AbstractFuture.java:1270)
	at com.google.common.util.concurrent.AbstractFuture.addListener(AbstractFuture.java:761)
	at com.google.common.util.concurrent.AbstractFuture$TrustedFuture.addListener(AbstractFuture.java:136)
	at com.google.common.util.concurrent.Futures.addCallback(Futures.java:1105)
	at org.jenkinsci.plugins.workflow.flow.FlowExecutionList$ItemListenerImpl.onLoaded(FlowExecutionList.java:182)
	at jenkins.model.Jenkins.<init>(Jenkins.java:1037)

Environment

  • Liferay PaaS

Resolution

  • The general analyses has shown that a memory limit was reached and therefore the process couldn't move foward. Check if the properly "org.gradle.parallel=" is active or not. In some cases using the property "org.gradle.parallel=true" can speed up the build time. However, also take into account that the property can require a lot of memory.
  • Please consider changing the JVM options and the LCP.json to adjust memory usage for Jenkins.       

Additional Information

 

 

 

did-this-article-resolve-your-issue

legacy-knowledge-base