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
import { NgModule } from '@angular/core'; | |
import { CommonModule } from '@angular/common'; | |
import { JobComponent } from './job.component'; | |
import { FormlyModule } from '@ngx-formly/core'; | |
import { ReactiveFormsModule } from '@angular/forms'; | |
import { RouterModule } from '@angular/router'; | |
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
#!/usr/bin/groovy | |
timestamps { | |
podTemplate( | |
label: 'jenkins-pipeline', | |
inheritFrom: 'default', | |
containers: [ | |
containerTemplate(name: 'docker', image: 'docker:18.06', command: 'cat', ttyEnabled: true), | |
containerTemplate(name: 'helm', image: 'lachlanevenson/k8s-helm:v2.10.0', command: 'cat', ttyEnabled: true), | |
containerTemplate(name: 'chrome', image: 'garunski/alpine-chrome:latest', command: 'cat', ttyEnabled: true), |
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
#!/usr/bin/groovy | |
timestamps { | |
podTemplate( | |
label: 'jenkins-pipeline', | |
inheritFrom: 'default', | |
containers: [ | |
containerTemplate(name: 'docker', image: 'docker:18.06', command: 'cat', ttyEnabled: true), | |
containerTemplate(name: 'helm', image: 'lachlanevenson/k8s-helm:v2.10.0', command: 'cat', ttyEnabled: true), | |
containerTemplate(name: 'chrome', image: 'garunski/alpine-chrome:latest', command: 'cat', ttyEnabled: true), |
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
Master: | |
ImageTag: "2.141" | |
ServiceType: NodePort | |
NodePort: 32222 | |
UseSecurity: false | |
InstallPlugins: | |
- kubernetes:1.12.4 | |
- workflow-aggregator:2.5 |
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
#!/usr/bin/groovy | |
timestamps { | |
podTemplate( | |
label: 'jenkins-pipeline', | |
inheritFrom: 'default', | |
containers: [ | |
containerTemplate(name: 'chrome', image: 'garunski/alpine-chrome:latest', command: 'cat', ttyEnabled: true) | |
] | |
) { |
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
#!/usr/bin/groovy | |
podTemplate( | |
label: 'jenkins-pipeline', | |
inheritFrom: 'default', | |
containers: [ | |
] | |
) { | |
node ('jenkins-pipeline') { | |
stage('Get latest version of code') { |
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
#!/usr/bin/groovy | |
podTemplate( | |
label: 'jenkins-pipeline', | |
inheritFrom: 'default', | |
containers: [ | |
containerTemplate(name: 'ng', image: 'alexsuch/angular-cli:1.6.1', command: 'cat', ttyEnabled: true) | |
] | |
) { | |
node ('jenkins-pipeline') { |
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
Master: | |
ImageTag: "2.95" | |
ServiceType: NodePort | |
ServicePort: 80 | |
InstallPlugins: | |
- kubernetes:1.1.2 | |
- workflow-aggregator:2.5 | |
- credentials-binding:1.13 | |
- git:3.6.4 |
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
settings = { | |
hideSubHeader: true, | |
actions: { | |
position: 'right', | |
edit: false | |
}, | |
attr: { | |
class: 'table table-bordered table-hover table-responsive' | |
}, | |
pager: { |
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
#powershell aliases for zsh git plugin | |
#https://github.com/robbyrussell/oh-my-zsh/wiki/Plugin:git | |
function gitBranchName { | |
$currentBranch='' | |
git branch | foreach { | |
if ($_ -match "^\* (.*)") { | |
$currentBranch += $matches[1] | |
} | |
} |
NewerOlder