Skip to content

Instantly share code, notes, and snippets.

@guillaumerose
Last active September 24, 2018 08:25
Show Gist options
  • Select an option

  • Save guillaumerose/36d9f538557c72a31d00102bd006a55b to your computer and use it in GitHub Desktop.

Select an option

Save guillaumerose/36d9f538557c72a31d00102bd006a55b to your computer and use it in GitHub Desktop.

Revisions

  1. guillaumerose revised this gist Sep 24, 2018. 1 changed file with 7 additions and 5 deletions.
    12 changes: 7 additions & 5 deletions pipeline.groovy
    Original file line number Diff line number Diff line change
    @@ -1,6 +1,8 @@
    node('mac-build') {
    sh 'echo Hello'
    stage('versionPack') {
    agent {
    label 'linux && gcp'
    }
    steps {
    sh 'echo Hello'
    }
    }
    node('windows-build') {
    powershell '[Environment]::OSVersion'
    }
  2. guillaumerose revised this gist Sep 24, 2018. 1 changed file with 6 additions and 1 deletion.
    7 changes: 6 additions & 1 deletion pipeline.groovy
    Original file line number Diff line number Diff line change
    @@ -1 +1,6 @@
    sh 'echo Hello'
    node('mac-build') {
    sh 'echo Hello'
    }
    node('windows-build') {
    powershell '[Environment]::OSVersion'
    }
  3. guillaumerose created this gist Sep 24, 2018.
    1 change: 1 addition & 0 deletions pipeline.groovy
    Original file line number Diff line number Diff line change
    @@ -0,0 +1 @@
    sh 'echo Hello'