On 15.03.2011, at 19:13, Kamal Ahmed wrote:
> Did anyone else notice that the save button for Configuration changes is missing from Jenkins 1.400 and up ?
You mean system or job configuration? I have save buttons for both screens, in 1.401.
It does not save the git plugin's user.name and user.email settings, though...
Regards,
Karsten
I'm running 1.401 and it's there in the job and system configuration
page (and I'm pretty sure it was there in 1.400; was configuring job
nearly every day ATM).
HTH,
- Markus
On 15.03.2011, at 21:14, Andrew Bayer wrote:
>> It does not save the git plugin's user.name and user.email settings, though...
> That's probably a bug in the git plugin - please open a bug at issues.jenkins-ci.org and I'll take a look.
http://issues.jenkins-ci.org/browse/JENKINS-9071
Regards,
Karsten
var xmlhttp = null;reference : http://code.google.com/apis/visualization/documentation/gallery/genericimagechart.html#Example
if (window.XMLHttpRequest)
xmlhttp = new XMLHttpRequest();
else if (window.ActiveXObject) {
if (new ActiveXObject("Microsoft.XMLHTTP"))
xmlhttp = new ActiveXObject("Microsoft.XMLHTTP");
else
xmlhttp = new ActiveXObject("Msxml2.XMLHTTP");
}
var url = document.location + "/api/xml?xpath=count%28//job[color=%22blue%22]%29div+count%28//job%29"
xmlhttp.open("GET", url, false);//false means synchronous
xmlhttp.send()
var buildSuccessFraction= xmlhttp.responseText
document.write('<img src="http://chart.apis.google.com/chart?chs=320x160&cht=gom&chd=t:' + buildSuccessFraction * 100.0 + '&chxt=x,y&chxl=y|0:||1:|failure|success">')
</script>
If i use this code , then get a static image, how can i make it dynamic which will move the arrow with respect to the build status.
<html>
<head>
<script type='text/javascript'>
google.load("visualization", "1.0", {packages:["imagechart"]});
</script>
<script type='text/javascript'>
google.setOnLoadCallback(drawChart);
function drawChart() {
var dataTable = new google.visualization.DataTable();
dataTable.addColumn('string');
dataTable.addColumn('number');
dataTable.addColumn('string');
// Row data is [chl, data point, point label]
dataTable.addRows([
['January',40,undefined],
['February',60,'Initial recall'],
['March',60,'Product withdrawn'],
['April',45,undefined],
['May',47,'Relaunch'],
['June',75,undefined],
['July',70,undefined],
['August',72,undefined]
]);
var options = {cht: 'lc', chds:'0,160', annotationColumns:[{column:2, size:12, type:'flag', priority:'high'},]};
var chart = new google.visualization.ImageChart(document.getElementById('line_div'));
chart.draw(dataTable, options);
}
</script>
</head>
<body>
<div id='line_div'></div>
</body>
The question is how do i get the LIVE data from Jenkins instead of the static data :
dataTable.addRows([
['January',40,undefined],
['February',60,'Initial recall'],
['March',60,'Product withdrawn'],
['April',45,undefined],
['May',47,'Relaunch'],
['June',75,undefined],
['July',70,undefined],
['August',72,undefined]
]);
</html>
I just installed the latest Jenkins under Tomcat 6. This is what I get
when I go to the main configuration page (missing "Save" button).
Any ideas?
slide
I had to go all the way back to 1.398 to get the "Save" button back.
slide
--
slide-o-blog
http://slide-o-blog.blogspot.com/
slide
--
slide-o-blog
http://slide-o-blog.blogspot.com/
slide
--
slide-o-blog
http://slide-o-blog.blogspot.com/
(none)
On Wed, Apr 20, 2011 at 2:21 PM, Kamal Ahmed <kamal22...@gmail.com> wrote:
> we always have the option of creating a plugin :) anyone ?
I think this should be considered for an extension point. With the
default provider for graphing being the existing solution..
-Jesse
--
There are 10 types of people in this world, those
that can read binary and those that can not.