Dockerfile
COPY --chmod=777 entrypoint.sh /usr/local/bin/entrypoint
ENTRYPOINT ["/usr/local/bin/entrypoint"]
entrypoint.sh
echo "starting jnlp slave... " $JENKINS_SLAVE_NAME
exec java -jar /usr/share/jenkins/slave.jar \
-jnlpUrl $JENKINS_URL/computer/$JENKINS_SLAVE_NAME/slave-agent.jnlp \
-secret $JENKINS_SLAVE_SECRET
using System.Timers;
using System;
Timer1 = new System.Timers.Timer();
Timer1.Elapsed += new ElapsedEventHandler(OnElapsedTimer1);
private void OnElapsedTimer1(object source, ElapsedEventArgs args){
CollectMetrics();
}
<button type="submit" th:href="@{/chart(n=${#fields.danger('n').value}, epsilon=${#fields.danger('epsilon').value}, x0=${#fields.danger('x0').value})}">Generate Ch
/chart?n=...&epsilon=...&x0=...
[System.Diagnostics.ProcessStartInfo] $si = new-object System.Diagnostics.ProcessStartInfo
$si.RedirectStandardOutput = $false
$si.WorkingDirectory = $process_workdir
$si.WindowStyle = [System.Diagnostics.ProcessWindowStyle]::Hidden
$si.ErrorDialog = $true
$si.FileName = '....'
$si.Arguments = '....'
$x = [System.Diagnostics.Process]::Start($si)
while (-not $x.HasExited) {
start-sleep -seconds 1
}
хочется nunit уходите с ВС