Triggered by GitLab Merge Request #30: Loic Hausammann/add_badges => master
Lightweight checkout support not available, falling back to full checkout.
Checking out git https://gitlab.cosma.dur.ac.uk/lhausammann/csds-reader.git into /cosma/home/jenkins/.jenkins/jobs/CSDS-Pipeline/workspace@script to read Jenkinsfile
Selected Git installation does not exist. Using Default
The recommended git tool is: NONE
No credentials specified
> git rev-parse --resolve-git-dir /cosma/home/jenkins/.jenkins/jobs/CSDS-Pipeline/workspace@script/.git # timeout=10
Fetching changes from the remote Git repository
> git config remote.origin.url https://gitlab.cosma.dur.ac.uk/lhausammann/csds-reader.git # timeout=10
Fetching upstream changes from https://gitlab.cosma.dur.ac.uk/lhausammann/csds-reader.git
> git --version # timeout=10
> git --version # 'git version 1.8.3.1'
Setting http proxy: 172.17.170.12:8888
> git fetch --tags --progress https://gitlab.cosma.dur.ac.uk/lhausammann/csds-reader.git +refs/heads/*:refs/remotes/origin/* # timeout=10
skipping resolution of commit ede66baf157f7a467302bb3486e7ba48d72bffc1, since it originates from another repository
> git rev-parse refs/remotes/origin/add_badges^{commit} # timeout=10
Checking out Revision ede66baf157f7a467302bb3486e7ba48d72bffc1 (refs/remotes/origin/add_badges)
> git config core.sparsecheckout # timeout=10
> git checkout -f ede66baf157f7a467302bb3486e7ba48d72bffc1 # timeout=10
Commit message: "Test jenkins badge"
> git rev-list --no-walk 0a040f25ae0890647d1019f6a4cb4cd7ee000585 # timeout=10
Running in Durability level: MAX_SURVIVABILITY
org.codehaus.groovy.control.MultipleCompilationErrorsException: startup failed:
WorkflowScript: 112: Method calls on objects not allowed outside "script" blocks. @ line 112, column 14.
coverage_badge.setStatus("10")
^
WorkflowScript: 113: Method calls on objects not allowed outside "script" blocks. @ line 113, column 14.
coverage_badge.setColor("green")
^
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:142)
at org.jenkinsci.plugins.workflow.cps.CpsGroovyShell.reparse(CpsGroovyShell.java:127)
at org.jenkinsci.plugins.workflow.cps.CpsFlowExecution.parseScript(CpsFlowExecution.java:571)
at org.jenkinsci.plugins.workflow.cps.CpsFlowExecution.start(CpsFlowExecution.java:523)
at org.jenkinsci.plugins.workflow.job.WorkflowRun.run(WorkflowRun.java:337)
at hudson.model.ResourceController.execute(ResourceController.java:100)
at hudson.model.Executor.run(Executor.java:433)
Finished: FAILURE