https://github.com/winsw/winsw/releases/tag/v2.11.0
Then rename executable to jenkins-agent.exe
| [alias] | |
| co = checkout | |
| cob = checkout -b | |
| coo = !git fetch && git checkout | |
| br = branch | |
| brd = branch -d | |
| brD = branch -D | |
| merged = branch --merged | |
| st = status | |
| aa = add -A . |
https://github.com/winsw/winsw/releases/tag/v2.11.0
Then rename executable to jenkins-agent.exe
| # Property values can: | |
| # - be overridden by environment variables. The name of the corresponding environment variable is the | |
| # upper-cased name of the property where all the dot ('.') and dash ('-') characters are replaced by | |
| # underscores ('_'). For example, to override 'sonar.web.systemPasscode' use 'SONAR_WEB_SYSTEMPASSCODE'. | |
| # - be encrypted. See https://redirect.sonarsource.com/doc/settings-encryption.html | |
| #-------------------------------------------------------------------------------------------------- | |
| # DATABASE | |
| # | |
| # IMPORTANT: |
| #!/bin/sh | |
| username=your-bitbucket-user | |
| password=your-bitbucket-password | |
| commit_id='58577d7d4892bc4ef2c4375028c19b27921e2485' | |
| # build_result has 3 status: SUCCESSFUL, FAILED, INPROGRESS | |
| build_result='SUCCESSFUL' | |
| description='Manully update bitbucket status' |
| #!/bin/ksh | |
| # set -x | |
| set -e | |
| usage(){ | |
| echo "Usage: $0 [-p password] [-P PR] [-h hotfix]" | |
| echo " -p --password Required - must input password of executor" | |
| echo " -P --PR Optional - If is a Pull Request build" | |
| echo " -h --hotfix Optional - If is a hotfix build" | |
| echo "" |
| #!/usr/bin/env groovy | |
| def loadAppinhouseConf() { | |
| def resource = libraryResource 'appinhouse.conf' | |
| return readProperties(text: resource) | |
| } | |
| def getHost() { | |
| def appinhouseConf = loadAppinhouseConf() | |
| def remote = [:] | |
| remote.name = appinhouseConf.name |
| https://github.com/jenkinsci/warnings-ng-plugin/blob/master/SUPPORTED-FORMATS.md |
| /* | |
| * This Jenkinsfile used for install build on different platform | |
| * | |
| * Created by Xianpeng Shen at 10/9/2019 | |
| */ | |
| pipeline { | |
| agent { | |
| node { | |
| label 'PreDevENV' |
| def call(){ | |
| def labels = ['build-on-linux', 'build-on-aix', 'build-on-hpux', 'build-on-solaris'] | |
| def builders = [:] | |
| def BLD = credentials("d1cbab74-823d-41aa-abb7") | |
| def UNIX_BLD_FOLDER = '/disk1/agent/workspace/build' | |
| for (x in labels){ | |
| def label = x | |
| builders[label] = { | |
| node(label){ |