Changes in / [7522692:19de7864]
- Files:
-
- 3 edited
-
Jenkins/tools.groovy (modified) (1 diff)
-
Jenkinsfile (modified) (1 diff)
-
libcfa/src/concurrency/kernel/startup.cfa (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
Jenkins/tools.groovy
r7522692 r19de7864 6 6 import org.jenkinsci.plugins.pipeline.modeldefinition.Utils 7 7 8 // Global for the stage name 9 StageName = '' 10 8 11 // wrapper around stage declaretion to be more verbose 9 12 // and allow showing as skipped in the UI 10 13 def BuildStage(String name, boolean run, Closure block ) { 11 echo " -------- ${name} -------- " 14 StageName = name 15 echo " -------- ${StageName} -------- " 12 16 if(run) { 13 17 stage(name, block) -
Jenkinsfile
r7522692 r19de7864 54 54 //attach the build log to the email 55 55 catch (Exception caughtError) { 56 // Store the result of the build log 57 currentBuild.result = "FAILURE" 58 59 // An error has occured, the build log is relevent 56 //rethrow error later 57 err = caughtError 58 59 echo err.toString() 60 61 //An error has occured, the build log is relevent 60 62 log_needed = true 61 63 62 // rethrow error later 63 err = caughtError 64 65 // print the error so it shows in the log 66 echo err.toString() 64 //Store the result of the build log 65 currentBuild.result = "${tools.StageName} FAILURE".trim() 67 66 } 68 67 -
libcfa/src/concurrency/kernel/startup.cfa
r7522692 r19de7864 118 118 119 119 extern size_t __page_size; 120 extern int __map_prot;121 120 122 121 //----------------------------------------------------------------------------- … … 726 725 } 727 726 #else 728 __cfaabi_dbg_debug_do(729 // pthread has no mechanism to create the guard page in user supplied stack.730 if ( mprotect( stack, __page_size, __map_prot ) == -1 ) {731 abort( "mprotect : internal error, mprotect failure, error(%d) %s.", errno, strerror( errno ) );732 } // if733 );734 727 free( stack ); 735 728 #endif
Note:
See TracChangeset
for help on using the changeset viewer.