You may have one or more jobs as,
job-1, job-2 (important is adding the input
step)
node ('inbound') {
echo 'I did lot of work'
import argparse | |
import logging | |
import sys | |
from typing import List, Dict | |
import requests | |
from bs4 import BeautifulSoup | |
class JenkinsTestFailureScraper: | |
def __init__(self, job_url: str, build_from: int, build_to: int): | |
self.job_url = job_url.rstrip('/') |
diff --git a/jobs/mymatrix/builds/2013-01-30_13-13-27/build.xml b/jobs/mymatrix/builds/1/build.xml | |
similarity index 97% | |
rename from jobs/mymatrix/builds/2013-01-30_13-13-27/build.xml | |
rename to jobs/mymatrix/builds/1/build.xml | |
index 50fd069..b8ab8ec 100644 | |
--- a/jobs/mymatrix/builds/2013-01-30_13-13-27/build.xml | |
+++ b/jobs/mymatrix/builds/1/build.xml | |
@@ -25,7 +25,7 @@ | |
</causes> | |
</hudson.model.CauseAction> |
[INFO] Scanning for projects... | |
[INFO] | |
[INFO] ------------------< org.jenkins-ci.main:jenkins-test >------------------ | |
[INFO] Building Tests for Jenkins core 2.504-SNAPSHOT | |
[INFO] from pom.xml | |
[INFO] --------------------------------[ jar ]--------------------------------- | |
[INFO] | |
[INFO] --- buildnumber:3.2.1:create (default) @ jenkins-test --- | |
[INFO] Executing: /bin/sh -c cd '/.../jenkins/test' && 'git' 'rev-parse' '--show-prefix' | |
[INFO] Working directory: /.../jenkins/test |
→ bash pr_author_list.sh jenkinsci github-plugin v1.41.0 v1.42.0 | |
Fetching contributors between releases: v1.41.0 → v1.42.0 | |
Fetching commits for release diff... | |
Commit Date Range: 2025-01-23T01:42:39Z → 2025-02-21T20:55:07Z | |
Processed PR page 1... | |
No more PRs found in date range. | |
Unique Contributors and PRs: | |
* https://github.com/jenkinsci/github-plugin/pull/382 - Author: strangelookingnerd | |
* https://github.com/jenkinsci/github-plugin/pull/386 - Author: strangelookingnerd |
import psycopg2 | |
from psycopg2 import pool | |
import uuid | |
from config import Configs | |
class PGReadExample: | |
def __init__(self): | |
self.conf = Configs() |
Reg.exe add "HKLM\SOFTWARE\Policies\Microsoft\Windows Defender" /v "DisableAntiSpyware" /t REG_DWORD /d "0" /f | |
Reg.exe add "HKLM\SOFTWARE\Policies\Microsoft\Windows Defender\Real-Time Protection" /v "DisableBehaviorMonitoring" /t REG_DWORD /d "0" /f | |
Reg.exe add "HKLM\SOFTWARE\Policies\Microsoft\Windows Defender\Real-Time Protection" /v "DisableOnAccessProtection" /t REG_DWORD /d "0" /f | |
Reg.exe add "HKLM\SOFTWARE\Policies\Microsoft\Windows Defender\Real-Time Protection" /v "DisableScanOnRealtimeEnable" /t REG_DWORD /d "0" /f | |
Reg.exe delete "HKLM\SOFTWARE\Policies\Microsoft\Windows Defender\Real-Time Protection" /v "DisableRealtimeMonitoring" /f |
netsh winsock reset catalog | |
netsh int ip reset reset.log | |
ipconfig /flushdns | |
ipconfig /registerdns | |
route /f |
from django.db import connection | |
db_name = connection.settings_dict['NAME'] | |
# Or alternatively | |
# db_name = connection.get_connection_params()['db'] |
#!/bin/python3 | |
import math | |
import os | |
import random | |
import re | |
import sys | |
# Complete the countingValleys function below. | |
def countingValleys(n, s): |