Add repository url parameter
This commit is contained in:
parent
1d8b4ce191
commit
792ff33482
@ -110,6 +110,7 @@ Worker *Worker::instance = nullptr;
|
|||||||
Worker::Worker(int customerNr,
|
Worker::Worker(int customerNr,
|
||||||
int machineNr,
|
int machineNr,
|
||||||
int zoneNr,
|
int zoneNr,
|
||||||
|
QString repositoryUrl,
|
||||||
QString branchName,
|
QString branchName,
|
||||||
QString pluginDir,
|
QString pluginDir,
|
||||||
QString pluginName,
|
QString pluginName,
|
||||||
@ -127,7 +128,7 @@ Worker::Worker(int customerNr,
|
|||||||
, m_pluginName(pluginName)
|
, m_pluginName(pluginName)
|
||||||
, m_workingDirectory(workingDirectory)
|
, m_workingDirectory(workingDirectory)
|
||||||
, m_branchName(branchName)
|
, m_branchName(branchName)
|
||||||
, m_customerRepositoryPath(QString("https://git.mimbach49.de/GerhardHoffmann/%1.git").arg(m_customerNrStr))
|
, m_customerRepositoryPath(QString("%1/%2.git").arg(repositoryUrl).arg(m_customerNrStr))
|
||||||
, m_customerRepository(QDir::cleanPath(m_workingDirectory + QDir::separator() + m_customerNrStr))
|
, m_customerRepository(QDir::cleanPath(m_workingDirectory + QDir::separator() + m_customerNrStr))
|
||||||
, m_noUpdatePsaHardware(noUpdatePsaHardware)
|
, m_noUpdatePsaHardware(noUpdatePsaHardware)
|
||||||
, m_dryRun(dryRun)
|
, m_dryRun(dryRun)
|
||||||
|
Loading…
Reference in New Issue
Block a user