Skip to content

Instantly share code, notes, and snippets.

Jerry solvingj

Block or report user

Report or block solvingj

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
@solvingj
solvingj / tasks.vs.json
Last active Jun 20, 2019
Current Schema of Tasks.vs.json
View tasks.vs.json
{
"$schema": "http://json-schema.org/draft-04/schema#",
"definitions": {
"default": {
"type": "object",
"properties": {
"taskName": {
"type": "string"
},
"taskLabel": {
View gist:db4a7a4558744b9355555fe45f3f09e2
Updating makefiles....
Considering target file 'Makefile'.
Looking for an implicit rule for 'Makefile'.
Trying pattern rule with stem 'Makefile'.
Trying implicit prerequisite 'Makefile.o'.
Trying pattern rule with stem 'Makefile'.
Trying implicit prerequisite 'Makefile.c'.
Trying pattern rule with stem 'Makefile'.
Trying implicit prerequisite 'Makefile.cc'.
Trying pattern rule with stem 'Makefile'.
@solvingj
solvingj / embeddable-python-layout-and-log.txt
Last active May 2, 2019
embeddable-python-layout-and-log
View embeddable-python-layout-and-log.txt
user@user-laptop:~/tmp$ ls -l
total 32300
-rwxrwxrwx 1 user user 58312 May 2 14:21 _asyncio.cpython-36-x86_64-linux-gnu.so
-rwxrwxrwx 1 user user 12648 May 2 14:21 _bisect.cpython-36-x86_64-linux-gnu.so
-rwxrwxrwx 1 user user 46528 May 2 14:21 _blake2.cpython-36-x86_64-linux-gnu.so
-rwxrwxrwx 1 user user 149880 May 2 14:21 _codecs_cn.cpython-36-x86_64-linux-gnu.so
-rwxrwxrwx 1 user user 158104 May 2 14:21 _codecs_hk.cpython-36-x86_64-linux-gnu.so
-rwxrwxrwx 1 user user 27000 May 2 14:21 _codecs_iso2022.cpython-36-x86_64-linux-gnu.so
-rwxrwxrwx 1 user user 264568 May 2 14:21 _codecs_jp.cpython-36-x86_64-linux-gnu.so
-rwxrwxrwx 1 user user 137592 May 2 14:21 _codecs_kr.cpython-36-x86_64-linux-gnu.so
@solvingj
solvingj / README.md
Last active Feb 23, 2019
Future Readme of DAG-Build (WIP) Jenkins plugin
View README.md

Preface
DAG stands for Directed Acyclic Graph . This term is commonly used in software development when discussing dependency trees. In the context of Jenkins, "DAG Build" provides the necessary logic to calculate a DAG out of the existing Jenkins Dependency Graph defined in Jenkins projects for each build.

DAG Build Feature Summary
The DAG Build plugin builds adds automatic enforcement of a correct, coherent, ordered, and linear execution of a dependency graph, with support for complex fork and join scenarios. Notably, it works with both "Upstream" and "Downstream" build triggers. Historically, other strategies and mechanisms have enforced this type of deliberate, coordinated build logic within Jenkins, however they all have dramatically different designs, and thus have different characteristics.

Motivation
This plugin is particularly relevant for Jenkins deployments with complex build dependency graphs featuring "diamond dependency" scenarios. Abstractly, a diamond dependency is one

@solvingj
solvingj / Jenkinsfile
Last active Feb 14, 2019
Jenkinsfile stash unstash
View Jenkinsfile
pipeline{
stages {
stage('Checkout') {
steps {
checkout([
$class: '<repo_scm_type>',
locations: [[
credentialsId: '<repo_credentials>',
local: '.',
remote: '<repo_url>']],
@solvingj
solvingj / 1. withNamePrinter.groovy
Last active Feb 8, 2019
JenkinsGroovyClosuresPrettyCoolStuff
View 1. withNamePrinter.groovy
def call(String name, Closure body) {
echo "Hello, ${name} first."
body(test)
}
View jenkins
AT_REVISION = ""
pipeline {
agent {
label 'agent2'
}
stages {
stage('build_image_locally') {
steps {
script {
AT_REVISION="1234"
@solvingj
solvingj / jenkinsfile_log_error_and_stacktrace
Last active Nov 8, 2018
jenkinsfile_log_error_and_stacktrace
View jenkinsfile_log_error_and_stacktrace
pipeline {
agent { label 'agent4'}
stages {
stage('hello_world'){
agent {
docker {
image 'myartifactory.com/docker/linux-build-current'
args '-m 2gb'
}
}
View base class update
#!/usr/bin/env python
# -*- coding: utf-8 -*-
from conans import ConanFile, tools
import os
class BoostBaseConan(ConanFile):
name = "boost_base"
version = "1.67.0"
View derived class update
#!/usr/bin/env python
# -*- coding: utf-8 -*-
from conans import python_requires, tools
import os
base = python_requires("boost_base/1.67.0@bincrafters/testing")
class BoostContextConan(base.BoostBaseConan):
You can’t perform that action at this time.