Jenkins URL issue

I need some customisation on Jenkins URL site.If I pass URL :- http://xx.xxx.94.92:8080/job/CS_DEPLOY/alert(1) Its returning me all my system details and sever details. HTTP ERROR 404 Problem accessing /job/CSbox/%3Cscript%3Ealert(1)%3C/script%3E. Reason: Not Found Instead I wanted in a custom message like Contact admin like that. I have hosted Jenkins on Apache.Is there a way where can…

Details

Magento 2 standalone script

Hi am trying to export my order deatils in magento 2 programatically using standalone script the location of my script is magento2installationdir orderexp.php <?php require_once (“app / Mage . php”); Mage::app(); Mage::app()->getStore() ->setId(Mage_Core_Model_App::ADMIN_STORE_ID); $orders = Mage::getModel(‘sales/order’)->getCollection(); $orders->addAttributeToFilter(‘grand_total’, array( ‘gt’ => ‘0.00’ )); $orders->addAttributeToFilter(‘status’, Mage_Sales_Model_Order::STATE_COMPLETE); $fp = fopen(‘orders.csv’, ‘w’); foreach ($orders as $order) { $countryCode =…

Details

Why is declaring the variables inside a function much slower (too slow for jupyter notebook)

I have the following function, it combines multiple functions but this is the “final function” boek = set() vol_boek = set(np.arange(10)) def tellen(): aantal_keren = 0 while boek != vol_boek: plakken() aantal_keren += 1 print(f”Er waren {aantal_keren} pakjes nodig om het boek te vullen.”) This works fine, “boek” and “vol_boek” are declared outside of “tellen()”…

Details