Jenkins: Use configured repository/branch for branch builds

This commit is contained in:
RichardG867
2022-03-28 21:31:25 -03:00
parent 7a776c176a
commit c2e10c6fa9

4
.ci/Jenkinsfile vendored
View File

@@ -16,9 +16,9 @@
*/
/* ['main builds', 'branch builds'] */
def repository = ['https://github.com/86Box/86Box.git', 'https://github.com/richardg867/86Box.git']
def repository = ['https://github.com/86Box/86Box.git', GIT_URL]
def commitBrowser = ['https://github.com/86Box/86Box/commit/%s', null]
def branch = ['master', 'cleanup30']
def branch = ['master', GIT_BRANCH]
def buildType = ['beta', 'alpha']
def buildBranch = env.JOB_BASE_NAME.contains('-') ? 1 : 0