Actions

Testing Area/Behat Testing/Jenkins Maintenance: Difference between revisions

From Mahara Wiki

< Testing Area‎ | Behat Testing
(Created page with "<h1>Jenkins Maintenance</h1> <h2>Security Updates</h2> Before you run the security updates make sure that there is nothing in the build queue running. If there is install th...")
 
m (Anitsirk moved page Testing/Behat Testing/Jenkins Maintenance to Testing Area/Behat Testing/Jenkins Maintenance: Consolidating where testing pages sit)
 
(One intermediate revision by one other user not shown)
Line 24: Line 24:
   ssh -A test.mahara.org
   ssh -A test.mahara.org
  sudo service jenkins restart
  sudo service jenkins restart
Refresh the browser which test.mahara.org is in
<br>
<br>
Re trigger your purged tasks. Go back to reviews.mahara.org and click on the patches you had to kill.<br>
Re trigger your purged tasks. Go back to reviews.mahara.org and click on the patches you had to kill.<br>
See why the bot failed that patch by reading the Console Output, just to make sure it's a patch you killed.<br>
See why the bot failed that patch by reading the Console Output, just to make sure it's a patch you killed.<br>
Click the Retrigger link on the left hand side.
Click the Retrigger link on the left hand side.

Latest revision as of 14:05, 8 Haziran 2020

Jenkins Maintenance

Security Updates

Before you run the security updates make sure that there is nothing in the build queue running. If there is install the updates
but don't restart the server until the build have finished running.

Second option is to just purge the queue before you start using the purge queue link. This will safely kill the tasks.

  • Log onto test.mahara.org
  • Click on mahara-gerrit
  • Click manage plugins
  • There will be a yellow text saying updates available
  • Make sure you're on the available tab
  • Click the all link/checkbox at the bottom.
  • Press the "Updates" button (should be located bottom left of the list of available updates)


Then access the server:

  • Make sure you have sudo access on test.mahara.org
  • If you come across this error mahara-jenkins was not resolving - and the ip listed in the 'new account .. ' email had a different ip

solution is to add it to your hosts file.

  • You should then see you are in the sudo group on the box.
  • ssh to Jenkins to restart the server
 ssh -A test.mahara.org
sudo service jenkins restart

Refresh the browser which test.mahara.org is in
Re trigger your purged tasks. Go back to reviews.mahara.org and click on the patches you had to kill.
See why the bot failed that patch by reading the Console Output, just to make sure it's a patch you killed.
Click the Retrigger link on the left hand side.