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.12

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.12.tar.gz (3.8 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

jenkins_validate-0.0.12-py3-none-any.whl (5.3 kB view details)

Uploaded Python 3

File details

Details for the file jenkins-validate-0.0.12.tar.gz.

File metadata

  • Download URL: jenkins-validate-0.0.12.tar.gz
  • Upload date:
  • Size: 3.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.6.1 requests/2.25.0 setuptools/50.3.2 requests-toolbelt/0.9.1 tqdm/4.54.0 CPython/3.6.8

File hashes

Hashes for jenkins-validate-0.0.12.tar.gz
Algorithm Hash digest
SHA256 121641c058c70237878f9782ec6b8c1085ca794231ea9e49286ea93a275c7da9
MD5 689198dc3fd0d37cd97c544438481d33
BLAKE2b-256 f71d37337f95b80608af0f64613c62191813285b1236e5b8dac9db9ddf60a653

See more details on using hashes here.

File details

Details for the file jenkins_validate-0.0.12-py3-none-any.whl.

File metadata

  • Download URL: jenkins_validate-0.0.12-py3-none-any.whl
  • Upload date:
  • Size: 5.3 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.6.1 requests/2.25.0 setuptools/50.3.2 requests-toolbelt/0.9.1 tqdm/4.54.0 CPython/3.6.8

File hashes

Hashes for jenkins_validate-0.0.12-py3-none-any.whl
Algorithm Hash digest
SHA256 16eee26513c398a8556ef1607f3ae3bb2f890e11231926597f04a36439cd2269
MD5 894dcac3bbf66f8ace86c0bee156ee2d
BLAKE2b-256 7cef2d6d4d9c358207e9c8bca18d6534afbee069ff0eea46931609eba17a9eb5

See more details on using hashes here.

Supported by

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