public function getJobs($directory)
    {
        $builds = array();
        $finder = new Finder();
        $finder->directories();

        foreach ($finder->in($this->getJoliCiStrategyDirectory($directory)) as $dir) {
            $builds[] = new Job(
                $this->naming->getProjectName($directory),
                $this->getName(),
                $this->naming->getUniqueKey(array('build' => $dir->getFilename())),
                array(
                    'origin' => $directory,
                    'build'  => $dir->getRealPath(),
                ),
                "JoliCi Build: ".$dir->getFilename()
            );
        }

        return $builds;
    }
public function getJobs($directory)
    {
        $builds = array();
        $finder = new Finder();
        $finder->directories();

        foreach ($finder->in($this->getJoliCiStrategyDirectory($directory)) as $dir) {
            $builds[] = new Job(
                $this->naming->getProjectName($directory),
                $this->getName(),
                $this->naming->getUniqueKey(array('build' => $dir->getFilename())),
                array(
                    'origin' => $directory,
                    'build'  => $dir->getRealPath(),
                ),
                "JoliCi Build: ".$dir->getFilename()
            );
        }

        return $builds;
    }
{@inheritdoc}