jenkinsci / jenkinsci/git-parameter-plugin
[JENKINS-60236] git parameter plugin does not apply remote setting changes
- 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
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)
> 
Contributor guide
Assessment
This issue has not been assessed yet.