Issue Type: Bug Bug
Assignee: huybrechts
Components: parameterized-trigger-plugin
Created: 10/Dec/14 12:27 AM
Description:

I can't save my newly created jenkins job (freestyle of copy from existing item)

Scenario I: Creating job by copying from existing job and execute a shell script.

1) Create a new item and select "Copy existing item"
2) Fill in the blanks and click OK
3) Go to Build section
2) Select "Execute Shell Script"
3) Add the following code to be executed on the shell:

function jsonval {
temp=`echo $json | sed 's/\\\\\//\//g' | sed 's/[{}]//g' | awk -v k="text" '{n=split($0,a,","); for (i=1; i<=n; i++) print a[i]}' | sed 's/\"\:\"/|/g' | sed 's/[\,]/ /g' | grep -w $prop`
echo ${temp##*|}
}
4) Click Apply

After adding that code and hitting Apply nothing happens. Then, if I click Save nothing happens and I get the following information displayed in my page:

The connection was reset

The connection to the server was reset while the page was loading.

The site could be temporarily unavailable or too busy. Try again in a few moments.
If you are unable to load any pages, check your computer's network connection.
If your computer or network is protected by a firewall or proxy, make sure that Firefox is permitted to access the Web.

Scenario II: Create a freestyle project and enable parametrized build

1) Create a new item and select freestyle
2) Check "This build is parameterized"
3) Add a new parameter
4) Click Apply
5) Add a new parameter
6) Click Apply
7) Click Save

At 4) I can see a green bar at the top of my page with the legend SAVED. Good that is what I am expecting. Sadly on 6) I don't see anything. Nothing happens. On 7) I don't see anything happening and I see the following information displayed in my page:

The connection was reset

The connection to the server was reset while the page was loading.

The site could be temporarily unavailable or too busy. Try again in a few moments.
If you are unable to load any pages, check your computer's network connection.
If your computer or network is protected by a firewall or proxy, make sure that Firefox is permitted to access the Web.

Environment: Jenkins:
Jenkins ver. 1.59.3

OS:
Linux plague 2.6.32.12-0.7-default #1 SMP 2010-05-20 11:14:20 +0200 x86_64 x86_64 x86_64 GNU/Linux

Browser
Chrome Version 39.0.2171.71
Firefox 31.3.0 ESR
Internet Explorer 8

Java
JRE 1.6.0 IBM J9 2.4 Linux amd64-64 jvmxa6460sr8ifx-20100609_59383 (JIT enabled, AOT enabled)>J9VM - 20100609_059383>JIT - r9_20100401_15339ifx2>GC - 20100308_AA

Project: Jenkins
Labels: plugin jenkins
Priority: Critical Critical
Reporter: jose lopez
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators.
For more information on JIRA, see: http://www.atlassian.com/software/jira

--
You received this message because you are subscribed to the Google Groups "Jenkins Issues" group.
To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-issues+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to