in Education by
I connected Jenkins with my VisualSVN Server and can make builds by clicking on the build-button in Jenkins. But now I want to trigger the build by using the post-commit. I use TortoiseSVN + Jenkins + VisualSVN Server I tried it two ways, but none of them worked for me. First I read this article page, and used like the author this code: C:\curl\curl http://admin:123@localhost:8080/jenkins/job/Cannon%20Attack%20-%20Dom%20Millar/build?token=MyAuth I also tried it without any token and both ways without any login-information C:\curl\curl http://admin:123@localhost:8080/jenkins/job/Cannon%20Attack%20-%20Dom%20Millar/build?delay=0sec The second code I tried was from this page: C:\Repositories\NunitTests\JenkinsNotifier.rb Cannon%20Attack%20-%20Dom%20Millar/ And the JenkinsNotifier.rb contains this code: # Push a notice to the hudson server to initiate a build. # Ensure the required libs are present require "net/http" require "uri" # Get the project name hudsonProject = ARGV[0] # Create the uri and issue the request uri = URI.parse("http://localhost:8080/jenkins/job/" + Cannon%20Attack%20-%20Dom%20Millar + "/build?delay=0sec") Net::HTTP::get_print uri Error: 1.Way: 2.Way: I dont get an error, but the build also doesnt start. JavaScript questions and answers, JavaScript questions pdf, JavaScript question bank, JavaScript questions and answers pdf, mcq on JavaScript pdf, JavaScript questions and solutions, JavaScript mcq Test , Interview JavaScript questions, JavaScript Questions for Interview, JavaScript MCQ (Multiple Choice Questions)

1 Answer

0 votes
by
I fixed it. It was a syntax problem. Curl doenst accept "%20". I deleted all of them and also deleted the spaces in the project name in jenkins. "C:\curl\curl" http://localhost:8080/job/CannonAttack-DomMillar/build?token=MyAuth PAUSE

Related questions

0 votes
    I've installed VisualSVN on my Windows Server 2008. I have several IP addresses on this server, but I ... Questions for Interview, JavaScript MCQ (Multiple Choice Questions)...
asked Mar 11, 2022 in Education by JackTerrance
0 votes
    I've installed VisualSVN on my Windows Server 2008. I have several IP addresses on this server, but I ... Questions for Interview, JavaScript MCQ (Multiple Choice Questions)...
asked Mar 10, 2022 in Education by JackTerrance
0 votes
    What is the difference between post-database commit and post-form commit?...
asked Dec 18, 2020 in Technology by JackTerrance
0 votes
    I am successfully able to connect to a remote machine using SSH but when I am launching the agent from Jenkins ... overcome this issue? Select the correct answer from above options...
asked Feb 8, 2022 in Education by JackTerrance
0 votes
    I am successfully able to connect to a remote machine using SSH but when I am launching the agent from Jenkins ... overcome this issue? Select the correct answer from above options...
asked Feb 5, 2022 in Education by JackTerrance
0 votes
    I am trying to do a poc of Jenkins pipeline as code. I am using the Github organization folder plugin to ... descriptions for the jobs Select the correct answer from above options...
asked Jan 30, 2022 in Education by JackTerrance
0 votes
    I am working on my first Android Application. What I am trying to do is a POST request to a REST ... JavaScript Questions for Interview, JavaScript MCQ (Multiple Choice Questions)...
asked Feb 13, 2022 in Education by JackTerrance
0 votes
    Analyse the set of conflicts which occurred in the Soviet republics post the disintegration. Select the correct answer from above options...
asked Aug 3, 2022 in Education by JackTerrance
0 votes
    fill in the blanks (1) the data and instructions required for (2) set of instructions to communicate between ... . .. Select the correct answer from above options...
asked Dec 24, 2021 in Education by JackTerrance
0 votes
    Charges for code commit are based on the active users. Select the option from below list : a) True b) False AWS Interview Questions and Answers Agile Interview Questions Answers...
asked Jul 21, 2021 in Technology by Editorial Staff
0 votes
    What is the process for reverting a commit that has already been pushed and made public?...
asked Oct 4, 2020 in Technology by Editorial Staff
0 votes
    I wrote a python script to send Data from a local DB via REST to Kafka. My goal: I would like ... , JavaScript Questions for Interview, JavaScript MCQ (Multiple Choice Questions)...
asked May 15, 2022 in Education by JackTerrance
0 votes
    In deploy scenario I need to create and run Jenkins task on the list of hosts, i.e. create something like a ... anyone help with it? Select the correct answer from above options...
asked Jan 30, 2022 in Education by JackTerrance
0 votes
    what are the system requirements for the installation of Jenkins?...
asked Oct 1, 2021 in Technology by JackTerrance
0 votes
    What are the common use cases Jenkins is used for?...
asked Sep 14, 2021 in Technology by JackTerrance
...