Class BootstrapUpgradeHelper
java.lang.Object
com.atlassian.bamboo.upgrade.utils.impl.BootstrapUpgradeHelper
Helper for bootstrap validation and upgrade tasks
-
Constructor Summary
ConstructorDescriptionBootstrapUpgradeHelper
(com.atlassian.config.ApplicationConfiguration applicationConfiguration, com.atlassian.config.db.HibernateConfig hibernateConfig) -
Method Summary
-
Constructor Details
-
BootstrapUpgradeHelper
@Inject public BootstrapUpgradeHelper(com.atlassian.config.ApplicationConfiguration applicationConfiguration, com.atlassian.config.db.HibernateConfig hibernateConfig)
-
-
Method Details
-
getBuildNumberFromLocalHomeDirectory
- Returns:
- build number stored in Bamboo home directory
-
getDatabaseConnection
- Returns:
- DB connection to be used in bootstrap validation and upgrade tasks
- Throws:
org.hibernate.HibernateException
SQLException
-