-
New Feature
-
Resolution: Fixed
-
Minor
-
None
- JNLPLauncher should pass the workDir param
- Generated *.jnlp file should also provide the WorkDir Param
- is duplicated by
-
JENKINS-44110 Enable Remoting work dir by default in Java Web Start agents
-
- Resolved
-
Code changed in jenkins
User: Oleg Nenashev
Path:
core/src/main/java/hudson/model/Slave.java
core/src/main/java/hudson/slaves/JNLPLauncher.java
core/src/main/java/hudson/util/ArgumentListBuilder.java
core/src/main/java/jenkins/slaves/RemotingWorkDirSettings.java
core/src/main/resources/hudson/slaves/JNLPLauncher/config.jelly
core/src/main/resources/hudson/slaves/JNLPLauncher/main.jelly
core/src/main/resources/hudson/slaves/SlaveComputer/slave-agent.jnlp.jelly
core/src/main/resources/jenkins/slaves/RemotingWorkDirSettings/config.jelly
core/src/main/resources/jenkins/slaves/RemotingWorkDirSettings/help-disabled.html
core/src/main/resources/jenkins/slaves/RemotingWorkDirSettings/help-failIfWorkDirIsMissing.html
core/src/main/resources/jenkins/slaves/RemotingWorkDirSettings/help-internalDir.html
core/src/main/resources/jenkins/slaves/RemotingWorkDirSettings/help-workDirPath.html
test/src/test/java/hudson/bugs/JnlpAccessWithSecuredHudsonTest.java
test/src/test/java/hudson/slaves/JNLPLauncherTest.java
test/src/test/java/hudson/tools/InstallerTranslatorTest.java
test/src/test/java/jenkins/security/Security218Test.java
test/src/test/resources/hudson/slaves/JNLPLauncherTest/testNoWorkDirMigration/config.xml
test/src/test/resources/hudson/slaves/JNLPLauncherTest/testNoWorkDirMigration/nodes/Foo/config.xml
http://jenkins-ci.org/commit/jenkins/9dc2cdbb4892ddfb1579658fc88b4018a1ad7d8a
Log:
JENKINS-44112- Enable WorkDir in JNLPLauncher (#2945)JENKINS-44112- Enable Work Directories by defaul in new agents with JNLP launcherJENKINS-44112- Add test for the legacy data migrationJENKINS-44112- Add test for API callsJENKINS-44112- Apply new APIs within core and testsJENKINS-44112- Cleanup testsJENKINS-44112- Cleanup API of JNLPLauncherJENKINS-44112- Address the leftover code review comments