- Create a workspace folder and work in it - e.g.
mkdir ~/tciWorkshop && cd ~/tciWorkshop
- clone the tci-server and tci-cust repositories:
I hereby claim:
To claim this, I am signing this object:
| #!/bin/bash | |
| # Script arguments: | |
| # SINCE - Date (format: MMM DD YYYY, e.g. Nov 1 2016) for list all commit since until now | |
| # branches - comma-seperated list of branches to be set as columns in the resulted table | |
| # the path to the resulted CSV file | |
| CSV_FILE=COMMITS_REPORT.csv | |
| # list all commits since given argument |
| errpattern = ~/TEXT-TO-LOOK-FOR-IN-JENKINS-BUILD-OUTPUT.*/; | |
| manager.build.logFile.eachLine{ line -> | |
| errmatcher=errpattern.matcher(line) | |
| if (errmatcher.find()) { | |
| manager.build.@result = hudson.model.Result.NEW-STATUS-TO-SET | |
| } | |
| } |
| #!/bin/bash | |
| # REPO_NAME=<repo>.git | |
| # ORIGIN_URL=git@<host>:<project>/$REPO_NAME | |
| # REPO1_URL=git@<host>:<project>/$REPO_NAME | |
| rm -rf $REPO_NAME | |
| git clone --bare $ORIGIN_URL | |
| if [ "$?" != "0" ]; then | |
| echo "ERROR: failed clone of $ORIGIN_URL" |
| // Use Gists to store code you would like to remember later on | |
| console.log(window); // log the "window" object to the console |