FailedConsole Output

Started by GitLab push by Michele Carignani
Obtained Jenkinsfile from git git@forge.etsi.org:etsi-cti-admin/test-repo.git
Running in Durability level: MAX_SURVIVABILITY
org.codehaus.groovy.control.MultipleCompilationErrorsException: startup failed:
WorkflowScript: 6: Unknown stage section "sh". Starting with version 0.5, steps in a stage must be in a ‘steps’ block. @ line 6, column 3.
     stage('checkout'){
     ^

WorkflowScript: 6: Unknown stage section "checkout". Starting with version 0.5, steps in a stage must be in a ‘steps’ block. @ line 6, column 3.
     stage('checkout'){
     ^

WorkflowScript: 23: Unknown stage section "echo". Starting with version 0.5, steps in a stage must be in a ‘steps’ block. @ line 23, column 3.
     stage("say hello"){
     ^

WorkflowScript: 27: Unknown stage section "echo". Starting with version 0.5, steps in a stage must be in a ‘steps’ block. @ line 27, column 3.
     stage("say goodbye"){
     ^

WorkflowScript: 27: Unknown stage section "sh". Starting with version 0.5, steps in a stage must be in a ‘steps’ block. @ line 27, column 3.
     stage("say goodbye"){
     ^

WorkflowScript: 27: Multiple occurrences of the sh section @ line 27, column 3.
     stage("say goodbye"){
     ^

WorkflowScript: 27: Unknown stage section "sh". Starting with version 0.5, steps in a stage must be in a ‘steps’ block. @ line 27, column 3.
     stage("say goodbye"){
     ^

WorkflowScript: 27: Multiple occurrences of the sh section @ line 27, column 3.
     stage("say goodbye"){
     ^

WorkflowScript: 27: Unknown stage section "sh". Starting with version 0.5, steps in a stage must be in a ‘steps’ block. @ line 27, column 3.
     stage("say goodbye"){
     ^

WorkflowScript: 27: Multiple occurrences of the echo section @ line 27, column 3.
     stage("say goodbye"){
     ^

10 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.lambda$doParse$0(CpsGroovyShell.java:135)
	at org.jenkinsci.plugins.scriptsecurity.sandbox.groovy.GroovySandbox.runInSandbox(GroovySandbox.java:136)
	at org.jenkinsci.plugins.workflow.cps.CpsGroovyShell.doParse(CpsGroovyShell.java:132)
	at org.jenkinsci.plugins.workflow.cps.CpsGroovyShell.reparse(CpsGroovyShell.java:127)
	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