[JIRA] (JENKINS-60209) jCasC-Groovy not expanding variables

4 views
Skip to first unread message

marin.cyril@gmail.com (JIRA)

unread,
Nov 19, 2019, 4:26:07 AM11/19/19
to jenkinsc...@googlegroups.com
Cyril Marin created an issue
 
Jenkins / Improvement JENKINS-60209
jCasC-Groovy not expanding variables
Issue Type: Improvement Improvement
Assignee: Tomasz Szandała
Components: configuration-as-code-groovy-plugin
Created: 2019-11-19 09:25
Environment: Jenkins 2.176.4
OpenJDK Runtime Environment 11.0.5+10-LTS
Linux 3.10.0-957.27.2.el7.x86_64
configuration-as-code-groovy-plugin 1.1

Running on OpenShift container platform.
Labels: plugin jcasc configuration-as-code
Priority: Minor Minor
Reporter: Cyril Marin

jCasC-Groovy plugin is not expanding variables from definitions because the feature is not implemented yet.

 

Example:

// Variables not expanded, in the case of jCasC defined variables
groovy:
- url: https://${USER}:${PASS}@web.site.com/path/of/my/resource

groovy:
- script: println("${MY_VARIABLE}")

 

I made a Pull Request on Github project ==> https://github.com/jenkinsci/configuration-as-code-groovy-plugin/pull/3

 

 

Add Comment Add Comment
 
This message was sent by Atlassian Jira (v7.13.6#713006-sha1:cc4451f)
Atlassian logo

maciek.wolniewicz@gmail.com (JIRA)

unread,
May 5, 2020, 6:59:03 AM5/5/20
to jenkinsc...@googlegroups.com
Maciej Wolniewicz commented on Improvement JENKINS-60209
 
Re: jCasC-Groovy not expanding variables

Tomasz Szandała are there any estimates when this feature is implemented?

It would be great if configuration-as-code-groovy-plugin process the variables the same way as configuration-as-code-plugin does, especially when handling secrets in jenkins helm chart.

This message was sent by Atlassian Jira (v7.13.12#713012-sha1:6e07c38)
Atlassian logo
Reply all
Reply to author
Forward
0 new messages