Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/gkeishin/jenkins-resource-lock

Reserve, Release and count Resources
https://github.com/gkeishin/jenkins-resource-lock

Last synced: 19 days ago
JSON representation

Reserve, Release and count Resources

Awesome Lists containing this project

README

        

This code is free to use,modify and distribute but don't forget to say thanks.

mail: [email protected]

---------------------
INTRODUCTION
---------------------

This is a robot selenium code with extra python code as supporting library.

This code would work only -IF- the systems or resources are managed using Jenkins Lockable Resources plugins.

This is not availble as package but as a bare code to access Jenkin resource, lock it, do code update, test and release on completion.

The code update and testing would only work if it is for Open Power project.

---------------------
HOW TO USE
---------------------

From your code, import the main source code as

Resource ../src/jenkins_resource_keywords.robot

and you can use those modules user define keyword to do the work.

This is still a very basic setup module.

To Execute :

robot -v TARGET:IP/string your_file.robot

Define your own ${USER_NAME} and ${PASS_WORD} for jenkins and system you intend to use.
Define your ${JENKINS_URL} and Open Power Jenkin build path in the data/ file section else use -v option to pass directly on to you test framework.

---------------------
USING THE CODE
---------------------

python -m robot -v USER_NAME: -v PASS_WORD: -v JENKINS_URL:http:// my_test.robot

OR update the info in data/jenkins_setup_data.txt file.

${USER_NAME}
${PASS_WORD}
${JENKINS_URL} http://

For Open Power Jenkin image page . This is jenkins page where the image of the build is generated.

${URL_BARRELEYE} https://
${URL_PALMETTO} https://