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
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)
Built Distribution
Close
Hashes for jenkins_validate-0.0.9-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 9b4fce6bdb70cc552a6dcaac56d50027965d7e93d833b6c4f26001efad2dca6f |
|
MD5 | fe04365097273c83d15b23cefdf3323e |
|
BLAKE2b-256 | 3f649292945c42568379047faa86f70ea06930aff8a660d44485cd910d7ca2ef |