Skip to content

Commit

Permalink
Merge branch 'issue54' of http://github.com/gschueler/rundeck into gs…
Browse files Browse the repository at this point in the history
…-issue54
  • Loading branch information
noahcampbell committed Oct 28, 2010
2 parents d3be6d0 + b436026 commit 6e09cf4
Showing 1 changed file with 0 additions and 14 deletions.
Expand Up @@ -523,20 +523,6 @@ class ScheduledExecutionController {
scheduledExecution.adhocLocalString=null
scheduledExecution.adhocFilepath=null

if(!scheduledExecution.jobName){
//TODO: finalize format
if(scheduledExecution.name){
scheduledExecution.jobName=scheduledExecution.name+" - "+scheduledExecution.command+" Job"
} else if(scheduledExecution.command){
scheduledExecution.jobName=scheduledExecution.command+" Job"
}else if(scheduledExecution.adhocRemoteString){
scheduledExecution.jobName="Remote Script Job"
}else if(scheduledExecution.adhocLocalString){
scheduledExecution.jobName="Inline Script Job"
}else if(scheduledExecution.adhocFilepath){
scheduledExecution.jobName="Remote Script File Job"
}
}
if(!scheduledExecution.validate()){
failed=true
}
Expand Down

0 comments on commit 6e09cf4

Please sign in to comment.