jenkins自动打包设置打包文件脚本

灰太狼 2023-10-05 16:40 105阅读 0赞

jenkins自动打包.user.js

  1. // ==UserScript==
  2. // @name jenkins自动打包
  3. // @namespace http://tampermonkey.net/
  4. // @version 0.1
  5. // @description try to take over the world!
  6. // @author You
  7. // @match http:****
  8. // @match http:****
  9. // @require https://cdn.bootcdn.net/ajax/libs/jquery/2.2.0/jquery.js
  10. // @grant none
  11. // ==/UserScript==
  12. (function() {
  13. 'use strict';
  14. let targetId = "#main-panel > form > table > tbody:nth-child(2) > tr:nth-child(1) > td.setting-main > div > input.setting-input";
  15. var projectText = $(targetId).val();
  16. if(projectText==""){
  17. $("targetId").val("course manage student");
  18. }
  19. })();

发表评论

表情:
评论列表 (有 0 条评论,105人围观)

还没有评论,来说两句吧...

相关阅读