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.
|