my @args = ('java -jar jenkins-cli.jar -s http://localhost:8080/ create-job job_name < "path to xml file" '); system(@args) == 0 or die "\n system @args failed: $?";