Title: Message Title
Castulo Martinez created an issue
Jenkins / JENKINS-39328
Cannot load files using the jenkins master node when using pipeline remote file loader plugin
Issue Type:
Bug
Assignee:
Unassigned
Components:
pipeline
Created:
2016/Oct/27 6:16 PM
Environment:
Jenkins 2.19.1 Jenkins Pipeline Remote Loader Plugin 1.3 Ubuntu 14.04
Labels:
jenkins pipeline plugins
Priority:
Major
Reporter:
Castulo Martinez
When using the pipeline-remote-loader-plugin to load files from a github repository using the master node Jenkins start looking for a new executioner as if for some reason it cannot use master to load the files. Since I have openstack-cloud-agents plugin it is trying to launch a new agent and use that node to load the files instead of just using master, which is the node specified. This is my pipeline code:
def common, osa
stage 'Sandbox'
node('master') {
println "Testing master"
sh 'hostname'
fileLoader.withGit('https://github.com/osic/qa-jenkins-onmetal.git', 'master', null, '') {
common = fileLoader.load('jenkins/common.groovy');
osa = fileLoader.load('jenkins/osa_onmetal.functions.groovy');
}
}
And this is the console output: