Last active
April 18, 2018 12:05
-
-
Save rasheedamir/7e7e3ed098e5b48552b93c4a8fc43edb to your computer and use it in GitHub Desktop.
Revisions
-
rasheedamir revised this gist
Apr 18, 2018 . 1 changed file with 0 additions and 2 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,3 @@ #!/usr/bin/groovy @Library('github.com/fabric8io/fabric8-pipeline-library@cf54366') _ @@ -19,4 +18,3 @@ podTemplate() { } } } -
rasheedamir renamed this gist
Apr 18, 2018 . 1 changed file with 0 additions and 0 deletions.There are no files selected for viewing
File renamed without changes. -
rasheedamir renamed this gist
Apr 18, 2018 . 1 changed file with 0 additions and 0 deletions.There are no files selected for viewing
File renamed without changes. -
rasheedamir revised this gist
Apr 18, 2018 . No changes.There are no files selected for viewing
-
rasheedamir created this gist
Apr 18, 2018 .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,22 @@ ``` #!/usr/bin/groovy @Library('github.com/fabric8io/fabric8-pipeline-library@cf54366') _ def kubeConfig = params.KUBE_CONFIG podTemplate() { mavenNode(dockerImage: 'docker:1.11.2') { container(name: 'maven') { stage("checkout") { sh "echo version := 1.0.${env.BUILD_ID} >> build.txt" sh "ls -l" withAWS(role:'nodes.tools178.yard.com') { echo 'Hello World' s3Upload(file:'build.txt', bucket:'847616476486-microfrontends2', path:'file.txt') } } } } } ```