I hereby claim:
- I am slide on github.
- I am slideomix (https://keybase.io/slideomix) on keybase.
- I have a public key ASAG4PntIb_rx2AsUQOSOYZQk8Y77ClWWvVS3W0aJw_-RQo
To claim this, I am signing this object:
function Export-Variables($file) { | |
Get-Content $file | Select-String -Pattern "^export"| ForEach-Object { | |
$array= $_[0].ToString().split("=") | |
$array[0] = $array[0].Replace("export","").Trim() | |
if($array[1].Contains('${')) { | |
$array[1] = $ExecutionContext.InvokeCommand.ExpandString($array[1].Replace('${', '${env:')) | |
} elseif($array[1] -match '\$\(([^)]*)\)(.*)') { | |
$command = $Matches[1].Trim() | |
$rest = $Matches[2] | |
if($command.StartsWith('realpath')) { |
<settings xmlns="http://maven.apache.org/SETTINGS/1.0.0" | |
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" | |
xsi:schemaLocation="http://maven.apache.org/SETTINGS/1.0.0 http://maven.apache.org/xsd/settings-1.0.0.xsd"> | |
<servers> | |
<server> | |
<id>maven.jenkins-ci.org</id> | |
<username>USERNAME</username> | |
<password>PASSWORD</password> | |
</server> |
import jenkins.model.* | |
for (node in Jenkins.get().nodes) { | |
oldLabelName = node.labelString | |
if (oldLabelName.contains('WIN2012')) { | |
newLabelName = oldLabelName + " " + "WIN2012.X" | |
node.setLabelString(newLabelName) | |
} | |
} |
def call() { | |
node("local") { | |
checkout scm | |
def jenkinsfiles = findFiles glob: "**/Jenkinsfile", excludes: "Jenkinsfile" | |
builds = [:] | |
jenkinsfiles.each { it -> | |
job = load jenkinsfile.path | |
def jdir = jenkinsfile.path.take(jenkinsfile.path.lastIndexOf("/")) | |
builds[jdir] = { | |
stage(jdir) { |
def engine = new groovy.text.SimpleTemplateEngine() | |
def blOpts = readYaml text:''' | |
cmakeOpts: "-DCMAKE_INSTALL_PREFIX=${installDir}/${pkg.toLowerCase()} -DCMAKE_BUILD_TYPE=${pkg.toLowerCase()}" | |
package: | |
- "Debug" | |
- "Release" | |
''' | |
#include "testgroupwidget.h" | |
#include "testgroup.h" | |
#include <QFileDialog> | |
#include <QInputDialog> | |
#include <QMessageBox> | |
#include <QMenu> | |
TestGroupWidget::TestGroupWidget(QWidget *parent) : QTreeWidget(parent) |
[ERROR] Tests run: 120, Failures: 0, Errors: 3, Skipped: 0, Time elapsed: 528.673 s <<< FAILURE! - in org.jenkinsci.plugins.gitclient.CliGitAPIImplTest | |
20:31:45 [ERROR] org.jenkinsci.plugins.gitclient.CliGitAPIImplTest.test_submodule_update_shallow Time elapsed: 6.386 s <<< ERROR! | |
20:31:45 hudson.plugins.git.GitException: | |
20:31:45 Command "git fetch --tags --force --progress -- file:///C:\Users\jenkins\Work\workspace\Plugins_git-client-plugin_PR-520\target\tmp\no-spaces3058544028745064015\dir-repository +refs/heads/*:refs/remotes/origin/*" returned status code 128: | |
20:31:45 stdout: | |
20:31:45 stderr: fatal: '/C:\Users\jenkins\Work\workspace\Plugins_git-client-plugin_PR-520\target\tmp\no-spaces3058544028745064015\dir-repository' does not appear to be a git repository | |
20:31:45 fatal: Could not read from remote repository. | |
20:31:45 | |
20:31:45 Please make sure you have the correct access rights | |
20:31:45 and the repository exists. |
Link: <http://mirrors.jenkins-ci.org/debian/jenkins_2.232_all.deb.meta4>; rel=describedby; type="application/metalink4+xml" | |
Link: <http://mirror.xmission.com/jenkins/debian/jenkins_2.232_all.deb>; rel=duplicate; pri=1; geo=us | |
Link: <http://ftp-chi.osuosl.org/pub/jenkins/debian/jenkins_2.232_all.deb>; rel=duplicate; pri=2; geo=us | |
Link: <http://ftp-nyc.osuosl.org/pub/jenkins/debian/jenkins_2.232_all.deb>; rel=duplicate; pri=3; geo=us | |
Link: <http://mirror.serverion.com/jenkins/debian/jenkins_2.232_all.deb>; rel=duplicate; pri=4; geo=ae |
I hereby claim:
To claim this, I am signing this object:
def buildmap = [:] | |
pipeline { | |
agent { | |
label 'docker' | |
} | |
options { | |
timestamps() | |
buildDiscarder(logRotator(daysToKeepStr: '30')) |