active choice

main
ermisw 2023-10-04 12:33:30 +02:00
parent 90ac1b642f
commit 198ff7fffb
1 changed files with 4 additions and 3 deletions

7
Jenkinsfile vendored
View File

@ -1,14 +1,15 @@
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, 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: true,
script: ''' script: '''
def verCode = UUID.randomUUID().toString()
test="hallo" test="hallo"
vappHtml = """ vappHtml = """
<ul style="list-style-type: none"> <ul style="list-style-type: none">
<li style="padding: 5px"> <li style="padding: 5px">
<label>${test}</label> <label>${verCode}</label>
<input type="text" class="jenkins-input" name="value"> <input type="text" class="jenkins-input" name="value">
</li> </li>
</ul> </ul>
<p>Demo Url will be: </p>
""" """
return vappHtml return vappHtml