jenkinsci / jenkinsci/agent-setup-plugin

[JENKINS-71027] Files are not copied to agents, scripts are not executed

Open
#143 2 comments 0 reactions 0 assignees View on GitHub
component:slave-setup-plugin imported-jira-issue priority:major resolution:unresolved
Dominant language
Java
Stars
11
Forks
23
Avg merge
21h 13m
Merged PRs (30d)
1

Description

The changes that were made in one of the last updates (https://github.com/jenkinsci/slave-setup-plugin/pull/11) have broken our setup:

We have a job that cleans all out agents and then restarts them. Before the updates that started caching if data has been copied and scripts executed, this would reinitialize our agents. Now, because the plugin assumes the agent is already setup, no data is copied and no initialization is done.

I understand that in some cases this caching is nice to have, but for our use-case, we would like to have the old behavior back. Maybe it is possible to configure whether or not to use caching?

---
Originally reported by malice00, imported from: Files are not copied to agents, scripts are not executed


  • status: Open
  • priority: Major
  • component(s): slave-setup-plugin
  • resolution: Unresolved
  • votes: 0
  • watchers: 2
  • imported: 20251216-225446

Raw content of original issue

The changes that were made in one of the last updates (https://github.com/jenkinsci/slave-setup-plugin/pull/11) have broken our setup:

We have a job that cleans all out agents and then restarts them. Before the updates that started caching if data has been copied and scripts executed, this would reinitialize our agents. Now, because the plugin assumes the agent is already setup, no data is copied and no initialization is done.

I understand that in some cases this caching is nice to have, but for our use-case, we would like to have the old behavior back. Maybe it is possible to configure whether or not to use caching?

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.