Sorry - I understand this may be a support call masquerading as an issue. I'm unable to work out from first-principles and the documentation on plugins.jenkins.io and wiki.jenkins.io how to use this plugin.
Where in a packaging workflow does this plugin sit?
The references in the documentation to debian-jenkins-glue may be confusing or clarifying - I cannot tell which. The example pipeline does not include any source data - is it supposed to be attached to the debian-jenkins-glue workflow somewhere?
Using the "baby steps" technique I tried the following to a package of moderate complexity direct from debian upstream source to exactly one pbuilder configuration (xenial, amd64):
This fails as follows:
The failure makes perfect sense "there is no source tarball" - because it is being built directly from git.
Yet your example code in CSerial's Jenkinsfiles cleans the workspace after downloading the source (thus we lose the source). I'm missing something obvious here.
I then tried to replicate the debian-jenkins-glue configuration to generate the source tarballs (using stashing instead of separate pipelines until I figure this out):
Which gets a little further and fails here:
My best interpretation of what is happening is that I may not have integrated this properly into the pipeline, since the failure looks like some code or parameters have turned into null strings, thus invoking the underlying tools incorrectly.
Could you fill out the pipeline example so that it actually builds code? or perhaps further document how this build step is intended to be integrated?
- What input requirements are there? source files? tarballs etc?
- Are there restrictions on what packages can be built? Does it fail with 'quilt' packages built from git? Does it require non-git packages (ie tarball + debian directories)