pycontribs / jenkinsapi

A Python API for accessing resources and configuring Hudson & Jenkins continuous-integration servers
http://pypi.python.org/pypi/jenkinsapi
MIT License
858 stars 485 forks source link

can't not create jenkins job in jenkins dirtory #783

Open MiaoKB opened 4 years ago

MiaoKB commented 4 years ago
ISSUE TYPE
Jenkinsapi VERSION

0.3.10

Jenkins VERSION

Jenkins ver. 2.222.4

SUMMARY

can't create job in jenkins's dirtory

EXPECTED RESULTS

create job in jenkins dirtory

ACTUAL RESULTS

HTTP ERROR 404 Not Found

USEFUL INFORMATION

before creating, change baseurl with dirtory

joelee2012 commented 3 years ago

@MiaoKB you may want to try https://api4jenkins.readthedocs.io/en/latest/user/example.html#jenkins