Skip to main content

How to execute script from Jenkins if installed on linux and script has located on windows machine?

Comments

3 comments

  • Jay N Lodhiya

    Hi if jenkins plugin is installed in linux machine we recommended to put your script in your linux machine.Then start testing-whiz server on windows machine your script will execute

    0
  • Feduzzigg
    How can I get Jenkins to execute a script that it pulled from Git?
     
     
    1. Create a Jenkins job and configure your git repo in it.
    2. In Build-steps, select Execute shell script option.
    3. Give command as python3 your_script_name.py or use python2 your_script_name.py depends on your python version.
    4. Save the job and click on Build.
    5. Check the console output of the job that is running.
    0
  • Feduzzigg
    How do I run Jenkins after installing Linux?
     
     
    You can enable the Jenkins service to start at boot with the command:
    1. sudo systemctl enable jenkins.app development dubai
    2. sudo systemctl start jenkins.
    3. sudo systemctl status jenkins.
    4. Loaded: loaded (/lib/systemd/system/jenkins
    0

Please sign in to leave a comment.

Powered by Zendesk