Forgot reply to all, just for some other folks in the future to see this:
XINYU ZHAO <[email protected]> 4:44 PM (51 minutes ago) to Steve In my job config.xml, the configuration for SCP publisher looks like this: <filePath>logs/$LOG_PATH</filePath> <sourceFile></sourceFile> <keepHierarchy>false</keepHierarchy> <copyConsoleLog>true</copyConsoleLog> <copyAfterFailure>true</copyAfterFailure> Which will copy console log only to the destination. I think jjb will generate something like this and pass console-log value to it. _______________________________________________ > OpenStack-Infra mailing list > [email protected] > http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-infra > Varnau, Steve (Seaquest R&D) 5:03 PM (32 minutes ago) to me Thanks for the response. My config looks the same. So maybe the problem is not in jenkins job builder, but with my plugin? <filePath>logs/$LOG_PATH</filePath> <sourceFile/> <keepHierarchy>false</keepHierarchy> <copyConsoleLog>true</copyConsoleLog> <copyAfterFailure>true</copyAfterFailure> -Steve *From:* XINYU ZHAO [mailto:[email protected]] *Sent:* Tuesday, November 05, 2013 16:45 *To:* Varnau, Steve (Seaquest R&D) *Subject:* Re: [OpenStack-Infra] JJB console-log publisher XINYU ZHAO <[email protected]> 5:27 PM (7 minutes ago) to Steve How did you install the plugin? I installed it by uploading the hpi file i built from source code https://github.com/jenkinsci/scp-plugin with maven. the version number is: 1.9 XINYU ZHAO <[email protected]> 5:32 PM (2 minutes ago) to Steve https://github.com/jenkinsci/scp-plugin/commits/master >From the commits history, you can see jeblair and clarkb add some features for openstack-infra, including copying console log, which are not in tagged 1.8 release. On Tue, Nov 5, 2013 at 4:14 PM, Varnau, Steve (Seaquest R&D) < [email protected]> wrote: > Hi Infra Team, > > I’m working on setting up an instance of OpenStack-Infra, as several of > you know since you’ve helped me on key problems! > > I’m currently stumped on using a jenkins job builder publisher. If I can > figure out how it works for OpenStack, I should be able to fix my problem. > > The *console-log* macro in > openstack-infra/config/modules/openstack_project/files/jenkins_job_builder/config/macros.yaml > I think I see in JJB how it passes parameters and options to the Jenkins > SCP Plugin. I just don’t understand how the copy-console option works. > Since the plugin does not have an option for copying console. For me, the > option is just ignored and since there is an empty string in the source > parameter, it tries to copy everything in the workspace instead of the > console output. > > Thanks, > -Steve > > > > > _______________________________________________ > OpenStack-Infra mailing list > [email protected] > http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-infra > >
_______________________________________________ OpenStack-Infra mailing list [email protected] http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-infra
