https://pyformat.info/
s = '%s %s' % ('one', 'two')
Thursday, September 7, 2017
what is base64
https://en.wikipedia.org/wiki/Base64
- It is a binary to text encoding scheme. Each base64 digit represents exactly 6 bits of data, this is why 2^6 = 64 - the scheme is called base64.
- It is a binary to text encoding scheme. Each base64 digit represents exactly 6 bits of data, this is why 2^6 = 64 - the scheme is called base64.
Friday, September 1, 2017
jenkins access using REST API
BitBucket authenticated Jenkins:
:Disabling ssl verication: [SSL: CERTIFICATE_VERIFY_FAILED]
http://tims.io/disabling-ssl-verification-in-python-jenkins-api/
- Find API Token using:
https://ci.automationanywhere.net/user/aagopalsingh/configure
http://your.jenkins.server/<user_id>/configure
from jenkinsapi.jenkins import Jenkins
from jenkinsapi.utils.requester import Requester
import requests
requests.packages.urllib3.disable_warnings()
jenkins = Jenkins(url, requester=Requester(username, password, baseurl=url, ssl_verify=False))
:Disabling ssl verication: [SSL: CERTIFICATE_VERIFY_FAILED]
http://tims.io/disabling-ssl-verification-in-python-jenkins-api/
- Find API Token using:
https://ci.automationanywhere.net/user/aagopalsingh/configure
http://your.jenkins.server/<user_id>/configure
from jenkinsapi.jenkins import Jenkins
from jenkinsapi.utils.requester import Requester
import requests
requests.packages.urllib3.disable_warnings()
jenkins = Jenkins(url, requester=Requester(username, password, baseurl=url, ssl_verify=False))
Subscribe to:
Posts (Atom)