Execute Shell
curl -X POST http://10.52.133.54:8080/view/BVT/job/testjobname/build \
--data token=eagletoken \
--data-urlencode json='{"parameter": [{"name":"suiteXmlFile", "value":"MlpBvt.xml"}, {"name":"browser", "value":"FIREFOX"} , {"name":"env", "value":"Staging"}]}'
if [ "$ENVIRONMENT" = "dev" ]
then
echo "Running Test 1"
curl -X POST http://10.163.26.64:8080/view/Ruby/job/test1/build \
--data token=mlpeagletoken \
--data-urlencode json='{"parameter": [{"name":"env", "value":"Prod"}]}'
elif [ "$ENVIRONMENT" = "stg" ]
then
echo "Running Test 2 "
curl -X POST http://10.163.26.64:8080/view/Ruby/job/test2/ \
--data token=mlpeagletoken \
--data-urlencode json='{"parameter": [{"name":"env", "value":"Staging"}]}'
else
echo "Running none"
fi
https://wiki.jenkins-ci.org/display/JENKINS/Remote+access+API
Selenium + Headless Automation
http://stackoverflow.com/questions/31848410/selenium-test-execution-via-jenkins-on-linux-machine-without-gui-cli-only-he
http://elementalselenium.com/tips/38-headless
http://tobyho.com/2015/01/09/headless-browser-testing-xvfb/
http://tobyho.com/2015/01/09/headless-browser-testing-xvfb/
http://linuxg.net/how-to-install-firefox-28-on-ubuntu-linux-mint-debian-fedora-centos-opensuse-and-other-popular-linux-systems/
http://askubuntu.com/questions/500644/how-to-downgrade-firefox-from-30-to-28
Plugins
Post build task
Editable Email Notification
Great Article
ReplyDeleteNode.js Project Topics for Computer Science
FInal Year Project Centers in Chennai
JavaScript Training in Chennai
JavaScript Training in Chennai