auto choice test

main
ermisw 2023-10-04 12:07:20 +02:00
parent 5ee99295c7
commit e61ab10fdc
1 changed files with 11 additions and 5 deletions

16
Jenkinsfile vendored
View File

@ -1,13 +1,19 @@
properties([parameters([[$class: 'DynamicReferenceParameter', choiceType: 'ET_FORMATTED_HTML', name: '', omitValueField: false, randomName: 'choice-parameter-517572555514769', referencedParameters: '', script: [$class: 'GroovyScript', fallbackScript: [classpath: [], oldScript: '', sandbox: false, script: ''], script: [classpath: [], oldScript: '', sandbox: false, script: '''vappHtml = \'\'\'
properties([parameters([[$class: 'DynamicReferenceParameter', choiceType: 'ET_FORMATTED_HTML', name: 'General', omitValueField: false, randomName: 'choice-parameter-517572555514769', referencedParameters: '', script: [$class: 'GroovyScript', fallbackScript: [classpath: [], oldScript: '', sandbox: false, script: ''], script: [classpath: [], oldScript: '', sandbox: false,
script: '''
test="hallo"
vappHtml = """
<ul style="list-style-type: none">
<li style="padding: 5px">
<label>VAPP_ID</label>
<input type="text" class="setting-input" name="value">
<label>${test}</label>
<input type="text" class="jenkins-input" name="value">
</li>
</ul>
\'\'\'
return vappHtml''']]]])])
"""
return vappHtml
''']]]])])
pipeline {
agent {
label 'terraform-slave'