-
Bug
-
Resolution: Unresolved
-
Major
-
None
Agent Server Parameter prevents loading a Jenkins shared library.
System:
- Jenkins 2.319.1 LTS from docker container
- Several connected windows and linux agents
- Plugin 'Agent Server Parameter' Version 1.1
- Declarative Pipeline
Steps to reproduce:
Declarative Pipeline:
pipeline { agent { label params['agent-name'] } parameters{ agentParameter name:'agent-name' } stages { stage('Build') { steps { echo params['agent-name'] } } } }
- Click 'Build with Parameters'
- Choose a windows agent-name
- Click 'Build'
Expected result: Successful build without errors.
Actual Result: Error fetching remote repo (Jenkins shared library)
See attached console output.
Remarks: There is no error if the chosen agent-name is a Linux agent.