Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[JENKINS-64831] Deprecate the -cp option to Launcher #468

Merged
merged 1 commit into from
Jul 21, 2021

Conversation

jglick
Copy link
Member

@jglick jglick commented Jul 6, 2021

@jglick jglick requested a review from basil July 6, 2021 16:55
@jeffret-b jeffret-b merged commit 946aee2 into jenkinsci:master Jul 21, 2021
@jglick jglick deleted the dash-cp-JENKINS-64831 branch July 22, 2021 14:05
@jeffret-b jeffret-b added the chore For changelog: A maintenance chore with no functional changes label Oct 15, 2021
@@ -144,9 +144,10 @@ public void setTextMode(boolean b) {
public String proxyCredentials = null;

@Option(name="-cp",aliases="-classpath",metaVar="PATH",
usage="add the given classpath elements to the system classloader.")
usage="add the given classpath elements to the system classloader. (DEPRECATED)")

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Should this docker-inbound-agent launch script be updated to not use -cp? https://github.com/jenkinsci/docker-inbound-agent/blob/master/jenkins-agent#L121

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

No, that is the --classpath / -cp option to the java launcher. This PR is about an application option, like

java -jar agent.jar -cp …

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
chore For changelog: A maintenance chore with no functional changes
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants