FailedConsole Output

Started by user Mikael.Barbero@Eclipse-Foundation.org
 > /usr/local/bin/git rev-parse --is-inside-work-tree # timeout=10
Setting origin to https://git.polarsys.org/r/3p/simrel
 > /usr/local/bin/git config remote.origin.url https://git.polarsys.org/r/3p/simrel # timeout=10
Fetching origin...
Fetching upstream changes from origin
 > /usr/local/bin/git --version # timeout=10
 > /usr/local/bin/git fetch --tags --progress origin +refs/heads/*:refs/remotes/origin/*
Seen branch in repository origin/1.2.0
Seen branch in repository origin/master
Seen 2 remote branches
Obtained Jenkinsfile.publish from 9cee90e2051547fffe29f4aa1cd9b5b9c2891c0d
Running in Durability level: MAX_SURVIVABILITY
org.codehaus.groovy.control.MultipleCompilationErrorsException: startup failed:
WorkflowScript: 45: Unknown stage section "sshagent". Starting with version 0.5, steps in a stage must be in a ‘steps’ block. @ line 45, column 3.
   		stage('Publish repositories') {
     ^

WorkflowScript: 45: Expected one of "steps", "stages", or "parallel" for stage "Publish repositories" @ line 45, column 3.
   		stage('Publish repositories') {
     ^

2 errors

	at org.codehaus.groovy.control.ErrorCollector.failIfErrors(ErrorCollector.java:310)
	at org.codehaus.groovy.control.CompilationUnit.applyToPrimaryClassNodes(CompilationUnit.java:1085)
	at org.codehaus.groovy.control.CompilationUnit.doPhaseOperation(CompilationUnit.java:603)
	at org.codehaus.groovy.control.CompilationUnit.processPhaseOperations(CompilationUnit.java:581)
	at org.codehaus.groovy.control.CompilationUnit.compile(CompilationUnit.java:558)
	at groovy.lang.GroovyClassLoader.doParseClass(GroovyClassLoader.java:298)
	at groovy.lang.GroovyClassLoader.parseClass(GroovyClassLoader.java:268)
	at groovy.lang.GroovyShell.parseClass(GroovyShell.java:688)
	at groovy.lang.GroovyShell.parse(GroovyShell.java:700)
	at org.jenkinsci.plugins.workflow.cps.CpsGroovyShell.doParse(CpsGroovyShell.java:131)
	at org.jenkinsci.plugins.workflow.cps.CpsGroovyShell.reparse(CpsGroovyShell.java:125)
	at org.jenkinsci.plugins.workflow.cps.CpsFlowExecution.parseScript(CpsFlowExecution.java:560)
	at org.jenkinsci.plugins.workflow.cps.CpsFlowExecution.start(CpsFlowExecution.java:521)
	at org.jenkinsci.plugins.workflow.job.WorkflowRun.run(WorkflowRun.java:330)
	at hudson.model.ResourceController.execute(ResourceController.java:97)
	at hudson.model.Executor.run(Executor.java:429)
Finished: FAILURE