Skip to content

Commit 4bf7f7a

Browse files
Jenkinsfile: switch to non-leaking GitLab connection name.
1 parent afca57a commit 4bf7f7a

File tree

2 files changed

+2
-4
lines changed

2 files changed

+2
-4
lines changed

Jenkinsfile

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,6 @@ pipeline {
2323
agent { label 'java' }
2424

2525
environment {
26-
GITLAB_URL = credentials('gitlab_url')
2726
MVN_REPO_LOGIN = credentials('objectbox_internal_mvn_user')
2827
MVN_REPO_URL = credentials('objectbox_internal_mvn_repo_http')
2928
MVN_REPO_UPLOAD_URL = credentials('objectbox_internal_mvn_repo')
@@ -36,7 +35,7 @@ pipeline {
3635
options {
3736
buildDiscarder(logRotator(numToKeepStr: buildsToKeep, artifactNumToKeepStr: buildsToKeep))
3837
timeout(time: 1, unit: 'HOURS') // If build hangs (regular build should be much quicker)
39-
gitLabConnection("${env.GITLAB_URL}")
38+
gitLabConnection('objectbox-gitlab-connection')
4039
}
4140

4241
triggers {

ci/Jenkinsfile-Windows

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,14 +15,13 @@ pipeline {
1515
agent { label 'windows' }
1616

1717
environment {
18-
GITLAB_URL = credentials('gitlab_url')
1918
MVN_REPO_URL = credentials('objectbox_internal_mvn_repo_http')
2019
MVN_REPO_LOGIN = credentials('objectbox_internal_mvn_user')
2120
}
2221

2322
options {
2423
buildDiscarder(logRotator(numToKeepStr: buildsToKeep, artifactNumToKeepStr: buildsToKeep))
25-
gitLabConnection("${env.GITLAB_URL}")
24+
gitLabConnection('objectbox-gitlab-connection')
2625
}
2726

2827
triggers {

0 commit comments

Comments
 (0)