This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ CarIdx: 63, | |
UserName: 'Brooks Lyrette', | |
AbbrevName: null, | |
Initials: null, | |
UserID: 30223, | |
CarNumber: '9', | |
CarNumberRaw: 9, | |
CarPath: 'rt2000', | |
CarClassID: 1, | |
CarID: 1, |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
"session": { | |
TrackName: 'summit summit raceway', | |
TrackID: 9, | |
TrackLength: '3.20 km', | |
TrackDisplayName: 'Summit Point Raceway', | |
TrackDisplayShortName: 'Summit', | |
TrackCity: 'Summit Point', | |
TrackCountry: 'USA', | |
TrackAltitude: '191.90 m', | |
TrackLatitude: '39.235223 m', |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ [Function: SessionManager] | |
currentSessionId: 50162992, | |
sessions: | |
{ '0': | |
{ id: 0, | |
SessionNum: 0, | |
SessionLaps: 'unlimited', | |
SessionTime: '300.00 sec', | |
SessionNumLapsToAvg: 0, | |
SessionType: 'Practice', |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# specs and cukes results are stored in JUnit format under test-reports | |
if (grep 'Failures: [^0]' surefire-reports/* || grep 'Errors: [^0]' surefire-reports/*); then | |
curl -H "Authorization: token MY_TOKEN" --request POST --data '{"state": "failure", "description": "Build Failed!", "target_url": "${bamboo.buildResultsUrl}"}' https://api.github.com/repos/USER/REPO/statuses/${bamboo.repository.revision.number} > /dev/null | |
else | |
curl -H "Authorization: token MY_TOKEN" --request POST --data '{"state": "success", "description": "Build Passed", "target_url": "${bamboo.buildResultsUrl}"}' https://api.github.com/repos/USER/REPO/statuses/${bamboo.repository.revision.number} > /dev/null | |
fi |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
grep -o 'Tests run: [0-9]\{1,\}' target/surefire-reports/*.txt | grep -o '[0-9]\{1,\}' | awk '{ SUM += $1} END { print SUM }' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
cd ${bamboo.build.working.directory} | |
if ls **/test-results/*.xml 1> /dev/null 2>&1; then | |
curl -H "Authorization: token <your_githib_api_token>" --request POST --data '{"state": "success", "context": "build", "description": "Build Passed", "target_url": "${bamboo.buildResultsUrl}"}' https://api.github.com/repos/<username>/<repo_name>/statuses/${bamboo.repository.revision.number} > /dev/null | |
else | |
curl -H "Authorization: token <your_githib_api_token>" --request POST --data '{"state": "failure", "context": "build", "description": "Build Failed!", "target_url": "${bamboo.buildResultsUrl}"}' https://api.github.com/repos/<username>/<repo_name>/statuses/${bamboo.repository.revision.number} > /dev/null | |
fi | |
##check for test failures. | |
if (grep 'failure message' **/test-results/*.xml 1> /dev/null 2>&1) then | |
mainJunit=$(find **/test-results/*.xml -print0 | xargs -0 grep 'failure message' | wc -l) | |
curl -H "Authorization: token <your_githib_api_token>" --request POST --data '{"state": "failure", "context": "tests", " |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
curl -H "Authorization: token <your_githib_api_token>" --request POST --data '{"state": "pending", "context": "build", "description": "Build is running", "target_url": "${bamboo.buildResultsUrl}"}' https://api.github.com/repos/<username>/<repo_name>/statuses/${bamboo.repository.revision.number} > /dev/null |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
buildscript { | |
ext { | |
springBootVersion = '1.3.0.RELEASE' | |
} | |
repositories { | |
mavenCentral() | |
maven { | |
url "https://plugins.gradle.org/m2/" | |
} | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"name": "demo-starter", | |
"version": "1.0.0", | |
"description": "", | |
"main": "gulpfile.js", | |
"scripts": { | |
"test": "echo \"Error: no test specified\" && exit 1" | |
}, | |
"repository": { | |
"type": "git", |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var gulp = require('gulp'); | |
var sass = require('gulp-sass'); | |
gulp.task('styles', function() { | |
//compile and copy our sass file | |
gulp.src('src/main/sass/**/*.scss') | |
.pipe(sass().on('error', sass.logError)) | |
.pipe(gulp.dest('src/main/resources/static/css/')); | |
//copy over the bootstrap fonts | |
gulp.src('node_modules/bootstrap-sass/assets/fonts/bootstrap/*') |
OlderNewer