diff --git a/.ci/Jenkinsfile b/.ci/Jenkinsfile index db966cafd..7b124b8a1 100644 --- a/.ci/Jenkinsfile +++ b/.ci/Jenkinsfile @@ -16,9 +16,9 @@ */ /* ['main builds', 'branch builds'] */ -def repository = ['https://github.com/86Box/86Box.git', env.GIT_URL] +def repository = ['https://github.com/86Box/86Box.git', scm.userRemoteConfigs[0].url] def commitBrowser = ['https://github.com/86Box/86Box/commit/%s', null] -def branch = ['master', env.GIT_BRANCH] +def branch = ['master', scm.userRemoteConfigs[0].branch] def buildType = ['beta', 'alpha'] def buildBranch = env.JOB_BASE_NAME.contains('-') ? 1 : 0