This repository has been archived by the owner on Apr 17, 2019. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 295
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #1144 from hyperledger/develop
Hyperledger Iroha v1.0 beta release
- Loading branch information
Showing
952 changed files
with
42,299 additions
and
15,632 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -35,3 +35,5 @@ cmake-build* | |
cmake-build* | ||
.gtm | ||
/.gtm/ | ||
|
||
*.deb |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
#!/usr/bin/env groovy | ||
|
||
def doBindings() { | ||
def cmake_options = "" | ||
if (params.JavaBindings) { | ||
cmake_options += " -DSWIG_JAVA=ON " | ||
} | ||
if (params.PythonBindings) { | ||
cmake_options += " -DSWIG_PYTHON=ON " | ||
} | ||
// In case language specific options were not set, | ||
// build for each language | ||
if (!params.JavaBindings && !params.PythonBindings) { | ||
cmake_options += " -DSWIG_JAVA=ON -DSWIG_PYTHON=ON " | ||
} | ||
sh """ | ||
cmake \ | ||
-H. \ | ||
-Bbuild \ | ||
-DCMAKE_BUILD_TYPE=Release \ | ||
${cmake_options} | ||
""" | ||
sh "cmake --build build --target python_tests" | ||
sh "cd build; make -j${params.PARALLELISM} irohajava irohapy" | ||
} | ||
|
||
return this |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
#!/usr/bin/env groovy | ||
|
||
def cancelSameJobBuilds() { | ||
def jobname = env.JOB_NAME | ||
def buildnum = env.BUILD_NUMBER.toInteger() | ||
def job = Jenkins.instance.getItemByFullName(jobname) | ||
|
||
if (jobname =~ /^.*\/${job.name}$/) { | ||
for (build in job.builds) { | ||
if (!build.isBuilding()) { continue; } | ||
if (buildnum == build.getNumber().toInteger()) { continue; } | ||
build.doStop(); | ||
} | ||
} | ||
} | ||
return this |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
#!/usr/bin/env groovy | ||
|
||
def cancelThisJob() { | ||
def jobname = env.JOB_NAME | ||
def buildnum = env.BUILD_NUMBER.toInteger() | ||
def job = Jenkins.instance.getItemByFullName(jobname) | ||
|
||
if (jobname =~ /^.*\/${job.name}$/) { | ||
for (build in job.builds) { | ||
if (!build.isBuilding()) { continue; } | ||
if (buildnum == build.getNumber().toInteger()) { build.doStop(); } | ||
} | ||
} | ||
} | ||
return this |
Oops, something went wrong.