Renames src/com/meesho -> src/com/homelab, resources/com/meesho -> resources/com/homelab, resources/org/meesho -> resources/org/homelab (via git mv, preserving history), and sweeps every remaining occurrence of "meesho" (any casing) out of package declarations, imports, libraryResource() paths, and comments across the whole repo. Also drops the per-user allowlist in vars/eksCICD.groovy, which hardcoded real former-colleagues' emails and doesn't apply to a single-person homelab — that branch is now permanently skipped rather than deleted outright, to avoid hand-editing the escape-sequence-heavy echo blocks it guards (eksCICD.groovy itself is unused legacy code, not called by homelabPipeline.groovy). Does not touch the ~114 files that were already missing from the working tree but still tracked in the prior commit — that's unrelated pre-existing state, left as-is.
44 lines
1.4 KiB
Groovy
44 lines
1.4 KiB
Groovy
import com.homelab.stages.checkOut
|
|
import com.homelab.stages.buildObjHelper
|
|
import com.homelab.stages.notify
|
|
import com.homelab.stages.securityScan
|
|
import com.homelab.stages.automationTest
|
|
import com.homelab.utilities.constructParam
|
|
|
|
def call(Map param) {
|
|
def constructParam = new constructParam()
|
|
def checkObj = new checkOut()
|
|
def buildObjHelper = new buildObjHelper()
|
|
def buildObj = buildObjHelper.run(param.build_tool)
|
|
def notify = new notify()
|
|
def securityScan = new securityScan()
|
|
def automationTest = new automationTest()
|
|
node('slave02') {
|
|
env.msg = 'Job Passed'
|
|
timestamps {
|
|
ansiColor('xterm') {
|
|
try {
|
|
constructParam.run(param)
|
|
log.info(param)
|
|
checkObj.run(param)
|
|
// securityScan.run(param)
|
|
buildObj.run(param)
|
|
if (param.containsKey('run_automation') && env.CHANGE_ID) {
|
|
automationTest.run(param)
|
|
}
|
|
}
|
|
catch (Exception e) {
|
|
if (env.msg == 'Job Passed') {
|
|
log.error(e.toString())
|
|
currentBuild.result = env.FAILURE
|
|
env.msg = 'Job Failed. Error: ' + e.toString()
|
|
}
|
|
}
|
|
finally {
|
|
notify.run(param)
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|