jenkins自动打包设置打包文件脚本
jenkins自动打包.user.js
// ==UserScript==
// @name jenkins自动打包
// @namespace http://tampermonkey.net/
// @version 0.1
// @description try to take over the world!
// @author You
// @match http:****
// @match http:****
// @require https://cdn.bootcdn.net/ajax/libs/jquery/2.2.0/jquery.js
// @grant none
// ==/UserScript==
(function() {
'use strict';
let targetId = "#main-panel > form > table > tbody:nth-child(2) > tr:nth-child(1) > td.setting-main > div > input.setting-input";
var projectText = $(targetId).val();
if(projectText==""){
$("targetId").val("course manage student");
}
})();
还没有评论,来说两句吧...