-
-
Save arehmandev/d74165760b6bc08fbb6547ee6260f7d8 to your computer and use it in GitHub Desktop.
Revisions
-
chinshr revised this gist
Sep 17, 2015 . 1 changed file with 4 additions and 1 deletion.There are no files selected for viewing
This file contains hidden or 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 charactersOriginal file line number Diff line number Diff line change @@ -1,2 +1,5 @@ #!groovy # Best of Jenkinsfile # `Jenkinsfile` is a groovy script DSL for defining CI/CD workflows for Jenkins node { } -
chinshr revised this gist
Sep 11, 2015 . 1 changed file with 17 additions and 0 deletions.There are no files selected for viewing
This file contains hidden or 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 charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,17 @@ stage "unit test" node { git "[email protected]:michaelneale/oaks-trail-ride.git" sh "echo unit test app" } stage "test on supported OSes" parallel ( windows: { node { sh "echo building on windows now" }}, mac: { node { sh "echo building on mac now" }} -
chinshr revised this gist
Sep 11, 2015 . 1 changed file with 20 additions and 0 deletions.There are no files selected for viewing
This file contains hidden or 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 charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,20 @@ node { for (int i=0; i< 2; ++i) { stage "Stage #"+i print 'Hello, world $i!' } stage "Stage Parallel" def branches = [:] for (int i = 0; i < numHelloMessages.toInteger(); i++) { branches["split${i}"] = { stage "Stage parallel- #"+i node('remote') { echo 'Starting sleep' sleep 10 echo 'Finished sleep' } } } parallel branches } -
chinshr revised this gist
Sep 10, 2015 . No changes.There are no files selected for viewing
-
chinshr revised this gist
Sep 10, 2015 . 1 changed file with 2 additions and 1 deletion.There are no files selected for viewing
This file contains hidden or 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 charactersOriginal file line number Diff line number Diff line change @@ -1 +1,2 @@ # Best of Jenkinsfile # `Jenkinsfile` is a groovy script DSL for defining CI/CD workflows for Jenkins -
chinshr revised this gist
Sep 10, 2015 . 1 changed file with 1 addition and 0 deletions.There are no files selected for viewing
This file contains hidden or 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 charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1 @@ # Jenkinsfile -
chinshr revised this gist
Sep 10, 2015 . 2 changed files with 0 additions and 0 deletions.There are no files selected for viewing
File renamed without changes.File renamed without changes. -
chinshr renamed this gist
Sep 10, 2015 . 1 changed file with 0 additions and 0 deletions.There are no files selected for viewing
File renamed without changes. -
chinshr revised this gist
Sep 10, 2015 . 1 changed file with 1 addition and 1 deletion.There are no files selected for viewing
This file contains hidden or 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 charactersOriginal file line number Diff line number Diff line change @@ -6,5 +6,5 @@ node { def mvnHome = tool 'M3' sh "${mvnHome}/bin/mvn -B -Dmaven.test.failure.ignore verify" step([$class: 'JUnitResultArchiver', testResults: '**/target/foobar/TEST-*.xml']) } -
chinshr revised this gist
Sep 10, 2015 . 2 changed files with 4 additions and 0 deletions.There are no files selected for viewing
This file contains hidden or 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 charactersOriginal file line number Diff line number Diff line change @@ -1,4 +1,6 @@ # Jenkinsfile # Build and test a Maven project node { git url: 'https://github.com/user/repo.git' def mvnHome = tool 'M3' This file contains hidden or 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 charactersOriginal file line number Diff line number Diff line change @@ -1,4 +1,6 @@ # Jenkinsfile # Verify a Maven project node { git url: 'https://github.com/user/repo.git' def mvnHome = tool 'M3' -
chinshr revised this gist
Sep 10, 2015 . 2 changed files with 9 additions and 1 deletion.There are no files selected for viewing
This file contains hidden or 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 charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,8 @@ # Build and test a Maven project node { git url: 'https://github.com/user/repo.git' def mvnHome = tool 'M3' sh "${mvnHome}/bin/mvn -B -Dmaven.test.failure.ignore verify" step([$class: 'JUnitResultArchiver', testResults: '**/target/surefire-reports/TEST-*.xml']) } This file contains hidden or 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 charactersOriginal file line number Diff line number Diff line change @@ -1,4 +1,4 @@ # Verify a Maven project node { git url: 'https://github.com/user/repo.git' def mvnHome = tool 'M3' -
chinshr created this gist
Sep 10, 2015 .There are no files selected for viewing
This file contains hidden or 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 charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,6 @@ # Maven verify node { git url: 'https://github.com/user/repo.git' def mvnHome = tool 'M3' sh "${mvnHome}/bin/mvn -B verify" }