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

devon jenkins stop fails #1164

Closed
hohwille opened this issue May 16, 2023 · 2 comments · Fixed by #1281
Closed

devon jenkins stop fails #1164

hohwille opened this issue May 16, 2023 · 2 comments · Fixed by #1281
Assignees
Labels
bug Something isn't working

Comments

@hohwille
Copy link
Member

$ devon jenkins stop
java -jar /d/projects/test/software/jenkins/jenkins-cli.jar -s http://localhost:9999 -auth admin:admin shutdown
Error: Unable to access jarfile D:/projects/test/software/jenkins/jenkins-cli.jar

The jenkins-cli.jar is missing in software/jenkins.
However, see this:

# http://localhost:9999/jnlpJars/jenkins-cli.jar

and:
doRunCommand "jar xf jenkins.war WEB-INF/jenkins-cli.jar"

@hohwille hohwille added the bug Something isn't working label May 16, 2023
@hohwille
Copy link
Member Author

Indeed the jenkins-cli.jar that was present in jenkins.war/WEB-INF is not present anymore in recent versions.
I can not spot it in the WAR anymore (also not in WEB-INF/lib.

@hohwille
Copy link
Member Author

hohwille commented Jun 6, 2023

See also #1154

@dendmicap dendmicap self-assigned this Jun 21, 2023
@dendmicap dendmicap removed their assignment Jun 29, 2023
jan-vcapgemini added a commit to jan-vcapgemini/ide that referenced this issue Jul 25, 2023
added new param target_filename to doInstall
added extra condition to doInstall to provide a filename for doDownload
replaced doDownload in jenkins tool command with doInstall
adjusted extraction of jenkins-cli.jar in doSetup of jenkins (jenkins-cli.jar was removed from WEB_INF folder in later jenkins versions)
jan-vcapgemini added a commit to jan-vcapgemini/ide that referenced this issue Jul 25, 2023
added new JENKINS_HOME environment variable to devon.properties
renamed JENKINS_HOME in jenkins script to JENKINS_CLI_HOME
added jenkins home folder creation to doSetup
added override of java user.home to each java command of jenkins
added first version of admin password retrieval
jan-vcapgemini added a commit to jan-vcapgemini/ide that referenced this issue Jul 25, 2023
jan-vcapgemini added a commit to jan-vcapgemini/ide that referenced this issue Jul 25, 2023
jan-vcapgemini added a commit to jan-vcapgemini/ide that referenced this issue Jul 25, 2023
@hohwille hohwille added this to the release:2023.07.003 milestone Jul 25, 2023
jan-vcapgemini added a commit to jan-vcapgemini/ide that referenced this issue Jul 26, 2023
added target filename param to functions documentation
jan-vcapgemini added a commit to jan-vcapgemini/ide that referenced this issue Jul 26, 2023
removed unnecessary condition
jan-vcapgemini added a commit to jan-vcapgemini/ide that referenced this issue Jul 26, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants