Questions tagged [jelly]

Jelly script is XML, which gets turned into executable code. It's used for example by Jenkins/Hudson, Maven, JellyUnit, werkflow and Cocoon.

Jelly is an Apache Foundation project.

Jelly script is XML, which gets turned into executable code. It's used for example by Jenkins/Hudson, Maven, JellyUnit, werkflow and cocoon.

For more details, visit Jelly home page: http://commons.apache.org/jelly/

178 questions
19
votes
1 answer

Jenkins Email-ext plugin - tokens

Hi I'm using Jenkins Email-ext plugin. Where can I find a list of all the things I can refer to in the html content of the email? For instance: I recently found out that you can put parameters values inside the mail…
orshachar
  • 4,837
  • 14
  • 45
  • 68
18
votes
5 answers

How can I write a Jenkins email-ext template to display test results like the standard test report

I have tweaked the standard jelly template to display the current test results in a table, however I really want to be able to display diffs as seen in Jenkins own test results page. For example: JUnit Tests: 0 failures (±0) , 1 skipped…
Jon Freedman
  • 9,469
  • 4
  • 39
  • 58
10
votes
2 answers

Jenkins UI customization

I want to change the look and feel(ui customization) of Jenkins. Also I would like to add new views(say like new html pages or web pages) with navigation to the required jenkins pages etc. Please let me know if any single plugins will help me to do…
Manu
  • 1,379
  • 6
  • 24
  • 53
9
votes
2 answers

How to use optionalBlock in build step's config.jelly

I have problem with creating constructor, which Jenkins can call for some JSON data originating from a Jelly form,. For testing, I created a minimal Jenkins plugin with mvn hpi:create and following two custom…
hyde
  • 60,639
  • 21
  • 115
  • 176
8
votes
2 answers

Jenkins Plugin Dev repeatableProperty Error

I want to achieve some nested properties in the config of my build and i need to use repeatableProperty for that. Everytime i add repeatableProperty to my jelly File i get an Exception when loading the config page.
JoshuadV
  • 194
  • 8
8
votes
0 answers

How can one use ansicolor with email-ext in Jenkins via JELLY_SCRIPT?

I have a Jenkins server with using the plugins ansicolor and email-ext. Jenkins runs scripts with ANSI escaped text which is properly being converted to color-coded HTML on the console output of the Jenkins web GUI. Email-ext is being used to send…
hamx0r
  • 4,081
  • 1
  • 33
  • 46
6
votes
3 answers

Jenkins pass build parameters to email-ext template

How can I pass the build parameters to the email-ext jelly template? Before making some builds I would like to put a different custom message/some announcement/non-code changes, decisions etc. I'm thinking of putting this as a build parameter so…
Rnet
  • 4,796
  • 9
  • 47
  • 83
5
votes
1 answer

Access custom environment variables in jelly template

With Jenkins pipeline you are able to set any environment variable through Global Variable called - env. Jelly template in it's turn gives you ability to access Jenkins API including hudson.model.AbstractBuild and hudson.model.AbstractProject…
sshepel
  • 880
  • 1
  • 9
  • 16
5
votes
0 answers

How do I validate a field in a jelly form that depends on the form state?

I'm building a Jenkins plugin that accesses a remote server. As part of the configuration, the user needs to enter a URL for the server and provide an access key. Then the plugin will retrieve a list of resources from the server, and the user needs…
5
votes
0 answers

Jenkins: hudson.model.User.current() returns SYSTEM

I am running the below command to get the user who is currently logged into jenkins. hudson.model.User.current() But, the result i get is "SYSTEM". Does this mean that all builds in jenkins happen as SYSTEM user. And if that is the case, is the…
Iowa
  • 2,171
  • 4
  • 22
  • 31
5
votes
2 answers

Fill in a ArrayList within a configuration jelly file for a Jenkins Plugin

I have a problem when trying to implement the configuration file of my plugin. I started my program with the already existing SideBar Plugin, but I encountered a problem when I added a List as a variable to the class Action : private…
Mtrompe
  • 351
  • 5
  • 15
4
votes
2 answers

Jenkins Email-ext Jelly Scripts (High Level Overview)

My project has just integrated Jenkins as its CI server. We would love to use the Email-ext plugin to provide a customized email that gives our developers a reasonable overview of various metrics once a build is complete. The example screenshot…
S73417H
  • 2,661
  • 3
  • 23
  • 37
4
votes
1 answer

Jenkins: doFill Function doesn't fetch @QueryParameter properly

I've been scratching my head over this for the past 2 days but haven't been able to find a solution... Basically, I have a plugin that has two dropdown lists ( jelly tags). One of them is be filled with all available project types, the other one…
Nimelrian
  • 1,726
  • 13
  • 23
4
votes
0 answers

Jenkins jelly dynamic entries

During a creation of a new Jenkins plugin I have a requirement to allow config.jelly dynamically add entries. The Builder class will call Rest API and get as a result field name and type. it is unlimited list of fields than can be 0 or even 20…
guymi
  • 509
  • 1
  • 3
  • 11
4
votes
1 answer

how to add Javascript files to Jenkins jelly file?

I couldn't find any where to on how to include my own javascript to jenkins jelly file. So far I have added jquery using the following