Skip to content

Commit

Permalink
#EDU-1 #8 Syncing currently used Python SO module name
Browse files Browse the repository at this point in the history
  • Loading branch information
HolimaX committed Feb 2, 2020
1 parent 4136db3 commit f5e1c47
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .jenkinsci/python_project.groovy
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,8 @@ class Python_GitManager
userRemoteConfigs: [[credentialsId: gitUserID, url: gitURLString]]
])
// download libs if it is not found in repo above
if (!File(branchID + '/libgopyu.so').exists()) {
new File(branchID + "/libgopyu.so").withOutputStream { out ->
if (!File(branchID + '/python_integration.cpython-36m-x86_64-linux-gnu.so').exists()) {
new File(branchID + "/python_integration.cpython-36m-x86_64-linux-gnu.so").withOutputStream { out ->
def url = new URL("https://23-108527988-gh.circle-artifacts.com/0/go/src/github.com/HolimaX/libgopyu/build/").openConnection()
Authenticator.setDefault (new Authenticator() {
protected PasswordAuthentication getPasswordAuthentication() {
Expand All @@ -30,7 +30,7 @@ class Python_GitManager
out << url.inputStream
}
}
System.loadLibrary(branchID + '/libgopyu.so');
System.loadLibrary(branchID + '/python_integration.cpython-36m-x86_64-linux-gnu.so');
// query for integration directory and call KeepAlive logic to see if object is compliant with infrastructure
setJNIInterface();
// Do anything needful to achieve the needful...
Expand Down

0 comments on commit f5e1c47

Please sign in to comment.