jenkinsci / jenkinsci/git-parameter-plugin

[JENKINS-60236] git parameter plugin does not apply remote setting changes

Open
#285 7 comments 0 reactions 0 assignees View on GitHub
component:git-parameter-plugin imported-jira-issue priority:blocker resolution:unresolved
Dominant language
Java
Stars
131
Forks
134
Avg merge
21h 5m
Merged PRs (30d)
1

Description

After migrating our Bitbucket instance to a new server with a new IP address, we're not able to change the IP address to point jenkins at the new server. the Bitbucket server is behind a proxy `bitbucket.our.domain` and the url has not changed. in the pipeline, we define the scm in the first step of the first stage:

scm: [ $class: 'GitSCM', branches: [[name: "${BRANCH}"]], userRemoteConfigs: [[credentialsId: '*******************************',url: 'ssh://git@​bitbucket.our.domain:7999/project/repository.git']] ]


with pipelines, the Source Code Management section does not exist, so this is the only place that the remote url is defined. Yet, when trying to Build with Parameters we get the attatched error, which is clearly not the url that has been defined.

---
Originally reported by tbretz94, imported from: git parameter plugin does not apply remote setting changes


  • status: Open
  • priority: Blocker
  • component(s): git-parameter-plugin
  • resolution: Unresolved
  • votes: 0
  • watchers: 2
  • imported: 20251216-182730

Raw content of original issue

After migrating our Bitbucket instance to a new server with a new IP address, we're not able to change the IP address to point jenkins at the new server. the Bitbucket server is behind a proxy `bitbucket.our.domain` and the url has not changed. in the pipeline, we define the scm in the first step of the first stage:



scm: [ $class: 'GitSCM', branches: [[name: "${BRANCH}"]], userRemoteConfigs: [[credentialsId: '*******************************',url: 'ssh://git@bitbucket.our.domain:7999/project/repository.git']] ]



with pipelines, the Source Code Management section does not exist, so this is the only place that the remote url is defined. Yet, when trying to Build with Parameters we get the attatched error, which is clearly not the url that has been defined.

1 attachment

- [Screen Shot 2019-11-20 at 4.46.51 PM.png](https://issues.jenkins.io/secure/attachment/49563/Screen%20Shot%202019-11-20%20at%204.46.51%20PM.png)
> ![Screen Shot 2019-11-20 at 4.46.51 PM.png](https://issues.jenkins.io/secure/attachment/49563/Screen%20Shot%202019-11-20%20at%204.46.51%20PM.png)

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.