homebrew jenkins不保存配置

时间:2017-11-21 03:47:02

标签: jenkins

我正在使用自制软件安装的jenkins 但是,每当我在jenkins log level page中设置javax.jmdns = off时,它在重新启动后就会消失。

无论如何要永久化?

任何建议的Thx!

1 个答案:

答案 0 :(得分:0)

public void test() { final MultiLayerNetwork net = new MultiLayerNetwork(createConf()); net.init(); net.setListeners(new ScoreIterationListener(1)); for (int i = 0; i < nEpochs; i++) { net.fit(generateTrainingData()); } int idx = 0; double x[] = new double[19]; double y[] = new double[19]; double p[] = new double[19]; for (double i = -90; i < 100; i += 10) { x[idx] = i; y[idx] = y(i); p[idx] = scale * net.output(Nd4j.create(new double[]{i / scale, 1})).getDouble(0, 0); idx++; } plot(x, y, p); }

中添加Logger.getLogger("javax.jmdns").setLevel(Level.OFF)

完整档案.jenkins / init.groovy.d / logging.groovy

.jenkins/init.groovy.d/logging.groovy