Skip to main content

An auto validate package about jenkins

Project description

ufes-tess-validator

The repository for performing automatic validation for tess upgrades of UFES clusters

jenkins_validate

The package is used to trigger a validator job in jenkins(http://10.148.183.183:8080/ may be other server IP), after building finished,it can also download artifacts and calculate the passed rules percentage, if the percentage is bigger than 95, it shows validate successful, else it shows validate failed.

how to use it

install packages

   pip install jenkinsapi
   pip install jenkins-validate==0.0.9

put the follow commands into a python script:

   from jenkins_validate import auto_validator
   auto_validator.jenkins_validate(param1,param2,param3,...)   

   #input the parameters,"clustername","web_type","jenkins_server" and "localpath_to_artifact_dir" are the Required parameters
   #when the parameter of pull_method = "LBMS", then the parameter "token" must be upload, it is your keystone token saved in a file.

the way to get keystone token which can be used to get rules from LBMS

https://wiki.vip.corp.ebay.com/display/CLOUD/LBMS+User+Documentation+for+REST+APIs#LBMSUserDocumentationforRESTAPIs-Keystone-Based

then run the python script.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

jenkins-validate-0.0.9.tar.gz (3.7 kB view hashes)

Uploaded Source

Built Distribution

jenkins_validate-0.0.9-py3-none-any.whl (5.2 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page