Add repository url parameter

This commit is contained in:
Gerhard Hoffmann 2023-11-16 14:15:05 +01:00
parent 1d8b4ce191
commit 792ff33482

View File

@ -110,6 +110,7 @@ Worker *Worker::instance = nullptr;
Worker::Worker(int customerNr,
int machineNr,
int zoneNr,
QString repositoryUrl,
QString branchName,
QString pluginDir,
QString pluginName,
@ -127,7 +128,7 @@ Worker::Worker(int customerNr,
, m_pluginName(pluginName)
, m_workingDirectory(workingDirectory)
, 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_noUpdatePsaHardware(noUpdatePsaHardware)
, m_dryRun(dryRun)