Am 11.11.2020 um 14:25 schrieb Tal Yanai <t...@yanai.org.il>:Hi Daniel,
There are two things I'm trying, both are related for the ability to show data within Jenkins after the build is over. I have a dashboard plugin and another plugin within the job itself that also shows a report for that job. Both of these two web capabilities relies on an artifact that is being retrieved by two another plugins, one is a step (and pipeline as well) and one is a post build plugin (and pipeline as well).
I was thinking on copying over the artifacts to the master's location as soon as they are ready within the job itself. Are you saying I can pull them inside the master instead?
Thanks,
Tal.
-----Original Message-----
From: jenkin...@googlegroups.com <jenkin...@googlegroups.com> On Behalf Of Daniel Beck
Sent: יום ד 11 נובמבר 2020 14:14
To: Jenkins Developers <jenkin...@googlegroups.com>
Subject: Re: Writing from Slave To MasterOn 11. Nov 2020, at 12:58, Tal Yanai <t...@yanai.org.il> wrote:
Trying to write a code that let me dump new file with content over to the master workspace (while running on a remote Node).
2 things I'm struggling with:
1. How to find out the Master 'FilePath' while running within the Node.
2. How to make sure the code is written such that it will not require the administrator to change the master security policy (to accept the Node writing over into it's directoris)
This looks like a potential XY problem. What are you really trying to accomplish?
It should be possible to restructure your code to make the controller read from the agent, rather than the agent writing to the controller.
--
You received this message because you are subscribed to a topic in the Google Groups "Jenkins Developers" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/jenkinsci-dev/I0WuyxdA9Nc/unsubscribe.
To unsubscribe from this group and all its topics, send an email to jenkinsci-de...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-dev/9705606D-9A93-4B3E-AA76-ADF78277E1F2%40beckweb.net.
--
You received this message because you are subscribed to the Google Groups "Jenkins Developers" group.
To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-de...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-dev/001c01d6b82e%2424f8a650%246ee9f2f0%24%40yanai.org.il.
I suppose.
I have a publisher that is responsible for creating the report during the post job step. It extends Recorder and implements SimpleBuildStep, Serializable.
In its perform function I have this:
@Override
public void perform(@Nonnull Run<?, ?> run, @Nonnull FilePath fp, @Nonnull Launcher lnchr, @Nonnull TaskListener tl) throws InterruptedException, IOException {
this.build = run;
DSLBuildAction buildAction = new DSLBuildAction("NA", run);
run.addAction(buildAction);
if (advancedFunctions) {
if (retrieveSummaryReport) {
summaryReportParams.noneSharedNFS = false;
ReportBuildAction reportAction = new ReportBuildAction(run, summaryReportParams, vAPIConnectionParam, tl,run.getExecutor().getCurrentWorkspace()); //This line creates the report on the Node’s disk space
run.addAction(reportAction);
To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-dev/EA913530-C672-4F36-836B-2E8497C17EF2%40gmail.com.
--
You received this message because you are subscribed to a topic in the Google Groups "Jenkins Developers" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/jenkinsci-dev/I0WuyxdA9Nc/unsubscribe.
To unsubscribe from this group and all its topics, send an email to jenkinsci-de...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-dev/CANfRfr1t7cJKvZXCdEE8isN7x%2BFs9bjMxsBmWRedx20tKgLKig%40mail.gmail.com.
--
You received this message because you are subscribed to the Google Groups "Jenkins Developers" group.
To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-de...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-dev/CANfRfr1b0%3DTj2Pp%2Bv9C97%2B8VW_Kkm5ieCrWzO4af4yv3ihnTuw%40mail.gmail.com.