Skip to content

Trouble Using "Start Job" Process in Plugin #1

@bostonhawk86

Description

@bostonhawk86

I'm trying to run the "Start Job" step using the Jenkins Job Manager plugin in Deploy 7.0.2. I keep getting an HTTP 403 error which means Deploy cannot authenticate with the Jenkins instance. However, if I run the exact command from a DOS window logged into the server as that user, it runs fine. It just doesn't work using the Deploy agent. Might have something to do with running it through Java. This is the error:

[Action] Running Command: java -jar <jenkins-cli.jar> -s http://jenkins-stage build /QA/Adaptavist_Compile -f -v --username mason_d --password ****
Caught: java.io.EOFException
java.io.EOFException
at hudson.cli.CLI.connectViaCliPort(CLI.java:232)
at hudson.cli.CLI.(CLI.java:128)
at hudson.cli.CLIConnectionFactory.connect(CLIConnectionFactory.java:72)
at hudson.cli.CLI._main(CLI.java:479)
at hudson.cli.CLI$_main.call(Unknown Source)
at jenkinsJobManager.startJob(jenkinsJobManager.groovy:60)
at jenkinsJobManager$startJob.callCurrent(Unknown Source)
at jenkinsJobManager.run(jenkinsJobManager.groovy:26)
Suppressed: java.io.IOException: Server returned HTTP response code: 403 for URL: http://jenkins-stage/cli

Any assistance would be greatly appreciated

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions