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

Disable() doesn't work #821

Open
eresque opened this issue Aug 4, 2022 · 0 comments
Open

Disable() doesn't work #821

eresque opened this issue Aug 4, 2022 · 0 comments

Comments

@eresque
Copy link

eresque commented Aug 4, 2022

ISSUE TYPE
  • Bug Report
Jenkinsapi 0.3.11
Jenkins 2.319.1
SUMMARY

Disable() function doesn't work but I do everything exectly as written in documentation. Help me to figure out the problem, please.

EXPECTED RESULTS

Expected that disable() will abort running job build

ACTUAL RESULTS

Nothing happend

USEFUL INFORMATION

Every other function runs correctly, (I can get version and list of jobs etc.) but enable/disable funcs seems to do nothing.

if __name__ == "__main__":

    usr, psw = sys.argv[1:]
    server = Jenkins("https://jenkins....", usr, psw, ssl_verify=False)
    job_name = "DZDSCS/ls/model"
    job_instance = server.get_job(job_name)

    job_instance.disable()
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant