Git Product home page Git Product logo

xebialabs-community / xlr-variable-setter-plugin Goto Github PK

View Code? Open in Web Editor NEW
2.0 27.0 2.0 2.34 MB

XL Release plugin that will set release variables values from URL accessible remote files. The plugin can also set variables from other release variables that contain JSON or XML strings.

License: MIT License

Java 66.28% Python 29.06% Dockerfile 0.83% Shell 3.83%
variable release util xml yml propertie property-files yaml-files xml-files pom

xlr-variable-setter-plugin's People

Contributors

ladamato avatar magichome avatar ndebuhr avatar peterlcole avatar t-j-f avatar

Stargazers

 avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

xlr-variable-setter-plugin's Issues

Just praise and some questions.

Hi. love the project. this is the best example i've found of a XLR plug in. The mock server and docker-compose stuff is fantastic.

Why do you not create the variables, dynamically, instead of requiring them to pre-exist? Is there a technical reason?
Why use the "user1_name" naming instead of a dot, such as "user1.name"?
Thank you very much.
-J

How to set the Arabic value to the XLR template Text variable ?

Hi @XebiaLabsCommunityCI,

I am using the XLR for running the cd3 Jenkin pipeline where I need to support the localization string for Arabic language.
When I enter/copy paste the Arabic string, I get the below exception while releasing.

Exception during execution:
javax.script.ScriptException: KeyError: u'\u064a' in <script> at line number 93

I have tried to assigned the Arabic value in double quotes, but still facing issue.

Please help me out to resolve this issue.

Thanks in advance !!!

Mapping values are not allowed here in 'string' error

We have followed the instructions in the github repo and have setup our variable to be set by a YAML file. It keeps failing with error code:

Exception during execution: org.yaml.snakeyaml.scanner.ScannerException: mapping values are not allowed here in 'string', line 3, column 17: <head prefix="og: http://ogp.me/ns#"> ^ in <script> at line number 103

We are using Version 9.5.4 of XLR.

testYaml.yaml:

variables:
  - key: listOfVersions
    type: xlrelease.StringVariable
    value: hello

We have setup our variable like so:
image

Our task is setup like so (I know the authentication works and it seems to find the file):
image

trying to run in XLR 9.0.5, getting exception about newer Java runtime

Hi.

Exception during execution: java.lang.UnsupportedClassVersionError: java.lang.UnsupportedClassVersionError: setvariables/DynamicVariables has been compiled by a more recent version of the Java Runtime (class file version 55.0), this version of the Java Runtime only recognizes class file versions up to 52.0 in <script> at line number 15

Any advice?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.