Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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
- Host: GitHub
- URL: https://github.com/gkeishin/jenkins-resource-lock
- Owner: gkeishin
- Created: 2016-06-24T07:25:26.000Z (over 8 years ago)
- Default Branch: master
- Last Pushed: 2016-07-19T08:40:43.000Z (over 8 years ago)
- Last Synced: 2024-03-05T06:48:53.093Z (10 months ago)
- Language: RobotFramework
- Size: 14.6 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
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://