Knowledge-Graph-Hub / automate-pheno-comparisons

Jenkins-based automation of phenotype semantic similarity on PHENIO with Semsimian.
BSD 3-Clause "New" or "Revised" License
2 stars 0 forks source link

Move variable setting into script block #38

Closed caufieldjh closed 4 months ago

caufieldjh commented 4 months ago

Otherwise this error happens:

org.codehaus.groovy.control.MultipleCompilationErrorsException: startup failed:
WorkflowScript: 79: Expected a step @ line 79, column 21.
                       HP_VERSION = readFile('commandResult').trim()
                       ^

WorkflowScript: 81: Expected a step @ line 81, column 21.
                       MP_VERSION = readFile('commandResult').trim()
                       ^

WorkflowScript: 83: Expected a step @ line 83, column 21.
                       ZP_VERSION = readFile('commandResult').trim()
                       ^

WorkflowScript: 85: Expected a step @ line 85, column 21.
                       PHENIO_VERSION = readFile('commandResult').trim()
                       ^

4 errors