Skip to content

Instantly share code, notes, and snippets.

@edgarsandi
Last active December 23, 2015 23:09
Show Gist options
  • Save edgarsandi/6708414 to your computer and use it in GitHub Desktop.
Save edgarsandi/6708414 to your computer and use it in GitHub Desktop.
cd ~ ; curl https://raw.github.com/sebastianbergmann/php-jenkins-template/master/config.xml | java -jar jenkins-cli.jar -s http://localhost:8080 create-job tnt-provisioning
curl https://raw.github.com/edgarsandi/php-jenkins-template/master/config.xml | java -jar jenkins-cli.jar -s http://localhost:8080 create-job tnt-provisioning
# closure error phpunit
/**
* @backupGlobals disabled
*/
# to clean jenkis builds
ls -l
rm -rf builds/*
rm -rf lastSuccesful
rm -rf lastStable/
rm -rf modules/*
rm -rf lastSuccessful lastStable
rm -rf nextBuildNumber
touch nextBuildNumber
echo 1 >> nextBuildNumber
http://shaneauckland.co.uk/2013/01/integrating-behat-and-mink-with-jenkinsci/
http://lestbddphp.wordpress.com/2012/01/09/behat-test-automation-framework-on-github/
http://stackoverflow.com/questions/17540121/behat-with-jenkins-or-maven
http://entagen.github.io/jenkins-build-per-branch/
sudo apt-add-repository ppa:cwchien/gradle
sudo apt-get update
sudo apt-get install gradle
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment