an atomdrift project
Hostile 100% github Download

eclipse-platform/eclipse.platform.releng.aggregator

Backtick shell command-substitution syntaxBasename is uppercase README.md

Evidence

Source SPDX license identifier declaration lines 6–20
6:45… is available at
7 * https://www.eclipse.org/legal/epl-2.0/
8 *
9 * SPDX-License-Identifier: EPL-2.0
10 *
11 * Contributors:
12 * Hannes Wellmann - initial API and implementation
13 *******************************************************************************/
14
15import groovy.json.JsonOutput
16
17@groovy.transform.Field
18def boolean _UTILS_IS_DRY_RUN = true
19
20def setDryRun(boolean isDryRun) …
Supplies WordPress code-editor newcontent field lines 72–76
72:61… lacements) {
73 def content = readFile(filePath)
74 for (entry in replacements) {
75 def newContent = content.replaceAll(entry.key, entry.value)
76 if (newContent == content && !(content =~ entry.key)) { // pattern matches, but th …
Embedded bash script shebang lines 97–107
97:9… dentials([ file(credentialsId: 'secret-subkeys-releng.asc', variable: 'KEYRING') ]) {
98 sh """#!/bin/bash -xe
99 # Import gpg keys into a clean gpg-homedir
100 rm -rf "${gpgHome}"
101 mkdir -p "${gpgHome}"
102 gpg --homedir "${gpgHome}" --batch --import "\${KEYRING}"
⋯5 lines
Invokes the cp file-copy command lines 123–133
⋯6 lines
129 cp ${gitRoot}/sites/websites/page.js .
130 # Replace references to shared java-script/css files to contained files
131 find . -type f -name "*.html" -exec sed --in-place \
132 --expression='s|../../page.js">|page.js">|g' \
133 --expression='s|../../page.css" />|page.css" />|g' …
Curl command text uses silent/fail flags lines 223–225
223:33… dDropProperties(String buildId) {
224 def properties = sh(script: "curl --fail https://download.eclipse.org/eclipse/downloads/drops4/${buildId}/buildproperties.properties", returnStdout: true)
225 return readP …

Showing the top 5 files — 5 more files (52 regions) not shown.

Keyboard shortcuts on this page: j for the next sample, k for the previous one, x to go back to the feed, d to download the original bytes, r to re-queue the sample for analysis.