public static Pipeline parse ( File scriptFile , List < String > replacementVars ) throws ParseException , IOException { checkArgument ( scriptFile . exists ( ) , "could not find pipeline script file at " + scriptFile . getAbsolutePath ( ) ) ; return parse ( FileUtils . readLines ( scriptFile ) , scriptFile . getParent ( ) , replacementVars ) ; }
Parses a pipeline script file .