我正在尝试为我的公司构建一个构建服务器,该服务器没有一个,因此有点像POF。我正在关注this文章,内容涉及如何在Jenkins和Gitlab之间完成CI,并且当我尝试测试连接时,出现以下错误:
jQuery("#jqGrid").jqGrid({
url:'Operaciones_Grilla.php?Op=700',
datatype: "json",
mtype: 'GET',
height: 400,
width: 1100,
colNames:['id','Sistema','Opciones_Sistema'],
colModel:[
{name:'id',index:'id', width:10,editable: false},
{name:'Sistema',index:'Sistema', width: 30, align: 'left',editable: true,editrules:{required:true},edittype:"select",editoptions:{dataUrl:'Operaciones_Grilla.php?Op=91',datatype: 'json',mtype: 'GET'}},
{name:'Opciones_Sistema',index:'Opciones_Sistema', width:55,editable: true,editrules:{required:true}}
],
cmTemplate: { editable: true,sortable: false },
rowNum:8,
rowList:[8,10,20,30],
pager: '#jqGridPager',
sortname: 'id',
loadonce: true,
viewrecords: true,
multiselect: false,
editurl: 'Operaciones_Grilla.php', // this is dummy existing url caption:"CRUD on Local Data"
footerrow: true,
userDataOnFooter : true,
autoencode:true,
caption: "Opciones de Sistema",
cellEdit: false,
hiddengrid: false,
ignoreCase: true,
subGrid: true,
subGridOptions: { "plusicon" : "ui-icon-triangle-1-e",
"minusicon" :"ui-icon-triangle-1-s",
"openicon" : "ui-icon-arrowreturn-1-e",
"reloadOnExpand" : false,
"selectOnExpand" : true },
subGridRowExpanded: function(subgrid_id, row_id) {
var subgrid_table_id, pager_id;
subgrid_table_id = subgrid_id+"_t";
pager_id = "p_"+subgrid_table_id;
$("#"+subgrid_id).html("<table id='"+subgrid_table_id+"' class='scroll'></table><div id='"+pager_id+"' class='scroll'></div>");
jQuery("#"+subgrid_table_id).jqGrid({
//url:"Operaciones_Grilla.php?Op=80&Filtro="+row_id,
url:"Operaciones_Grilla.php?Op=700",
datatype: "json",
height: 150,
width: 800,
colNames: ['id','Opciones_Sistema','Menu'],
colModel: [
{name:"id",index:"id",width:10,key:true,editable: false},
{name:"Opciones_Sistema",index:"Opciones_Sistema",width:30,editable: false, hidden:true},
{name:"Menu",index:"Menu",width:30,editable: true,editrules:{required:true}}
],
rowNum:20,
pager: pager_id,
height: '100%',
editurl: 'Operaciones_Grilla.php', // this is dummy existing url caption:"CRUD on Local Data"
footerrow: true,
userDataOnFooter : true,
autoencode:true,
/***************************************/
Here third level grid.
How do I read these rows ??????????
/***************************************/
subGrid: true,
subGridOptions: { "plusicon" : "ui-icon-triangle-1-e",
"minusicon" :"ui-icon-triangle-1-s",
"openicon" : "ui-icon-arrowreturn-1-e",
"reloadOnExpand" : false,
"selectOnExpand" : true },
caption: "Detalle de Opciones de Sistema",
subGridRowExpanded: function(subgrid_id2, row_id2) {
var subgrid_table_id2, pager_id2;
subgrid_table_id2 = subgrid_id2+"_t";
pager_id2 = "p_"+subgrid_table_id2;
$("#"+subgrid_id2).html("<table id='"+subgrid_table_id2+"' class='scroll'></table><div id='"+pager_id2+"' class='scroll'></div>");
jQuery("#"+subgrid_table_id2).jqGrid({
//url:"Operaciones_Grilla.php?Op=90&Filtro="+row_id2,
url:"Operaciones_Grilla.php?Op=700",
datatype: "json",
height: 150,
width: 800,
caption: "Detalle de Opciones del Menu",
colNames: ['id','Menu','Opciones_Menu'],
colModel: [
{name:"id",index:"id",width:10,key:true,editable: false},
{name:"Opciones_Menu",index:"Opciones_Menu",width:30,editable: false, hidden:true},
{name:"Menu",index:"Menu",width:30,editable: true,editrules:{required:true}}
],
rowNum:20,
pager: pager_id2,
height: '100%',
editurl: 'Operaciones_Grilla.php', // this is dummy existing url caption:"CRUD on Local Data"
footerrow: true,
userDataOnFooter : true,
autoencode:true
});
我认为所拥有的证书是自签名的(不确定),但是我确实知道在打开GitLab页面时看到证书错误。我正在寻找一个简单的解决方案,因为我认为我无法在GitLab方面进行任何更改(我对SSL /证书世界知之甚少)。
谷歌搜索此错误会带来一些结果,但在詹金斯的背景下却没有。有谁知道该如何克服?或者,如果没有,也许有一些指向有关如何成功让詹金斯成功投降的说明的链接?
我曾经让Jenkins用几乎零的努力来运行SVN,而让它与GitLab一起使用实在让我感到沮丧。