Changeset fd6d74e for Jenkinsfile
- Timestamp:
- Feb 22, 2017, 2:59:40 PM (8 years ago)
- Branches:
- ADT, aaron-thesis, arm-eh, ast-experimental, cleanup-dtors, deferred_resn, demangler, enum, forall-pointer-decay, jacob/cs343-translation, jenkins-sandbox, master, new-ast, new-ast-unique-expr, new-env, no_list, persistent-indexer, pthread-emulation, qualifiedEnum, resolv-new, with_gc
- Children:
- 3f09a70
- Parents:
- 7223c671
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
Jenkinsfile
r7223c671 rfd6d74e 105 105 [$class: 'ChoiceParameterDefinition', \ 106 106 description: 'Which compiler to use', \ 107 name: ' param_compiler', \107 name: 'Compiler', \ 108 108 choices: 'gcc-6\ngcc-5\ngcc-4.9\nclang', \ 109 109 defaultValue: 'gcc-6', \ … … 111 111 [$class: 'ChoiceParameterDefinition', \ 112 112 description: 'The target architecture', \ 113 name: ' param_arch', \113 name: 'Architecture', \ 114 114 choices: '64-bit\n32-bit', \ 115 115 defaultValue: '64-bit', \ … … 117 117 [$class: 'BooleanParameterDefinition', \ 118 118 description: 'If false, only the quick test suite is ran', \ 119 name: ' param_allTests', \119 name: 'RunAllTests', \ 120 120 defaultValue: false, \ 121 121 ], \ 122 122 [$class: 'BooleanParameterDefinition', \ 123 123 description: 'If true, jenkins also runs benchmarks', \ 124 name: ' param_benchmark', \124 name: 'RunBenchmark', \ 125 125 defaultValue: false, \ 126 126 ], \ 127 127 [$class: 'BooleanParameterDefinition', \ 128 128 description: 'If true, jenkins also builds documentation', \ 129 name: ' param_doc', \129 name: 'BuildDocumentation', \ 130 130 defaultValue: false, \ 131 131 ], \ 132 132 [$class: 'BooleanParameterDefinition', \ 133 133 description: 'If true, jenkins also publishes results', \ 134 name: 'param_publish', \ 134 name: 'paramPublish_publish', \ 135 defaultValue: false, \ 136 ], \ 137 [$class: 'BooleanParameterDefinition', \ 138 description: 'If true, jenkins will not send emails', \ 139 name: 'Silent', \ 135 140 defaultValue: false, \ 136 141 ], \ … … 138 143 ]]) 139 144 140 compiler = compiler_from_params( param_compiler ) 141 architecture = architecture_from_params( param_arch ) 142 143 do_alltests = param_allTests .toBoolean() 144 do_benchmark = param_benchmark .toBoolean() 145 do_doc = param_doc .toBoolean() 146 do_publish = param_publish .toBoolean() 145 compiler = compiler_from_params( Compiler ) 146 architecture = architecture_from_params( Architecture ) 147 148 do_alltests = RunAllTests.toBoolean() 149 do_benchmark = RunBenchmark.toBoolean() 150 do_doc = BuildDocumentation.toBoolean() 151 do_publish = Publish.toBoolean() 152 do_sendemail = ! Silent.toBoolean() 147 153 148 154 echo """Compiler : ${compiler.name} (${compiler.cpp_cc}/${compiler.cfa_cc}) … … 152 158 Build Documentation : ${ param_doc.toString() } 153 159 Publish : ${ param_publish.toString() } 160 Silent : ${ do_sendemail.toString() } 154 161 """ 155 162
Note: See TracChangeset
for help on using the changeset viewer.