Browse Source

Added script for showing all env vars

Raymond Edah 7 years ago
parent
commit
c528339acb
2 changed files with 5 additions and 0 deletions
  1. 1 0
      Jenkinsfile
  2. 4 0
      buildscripts/show_vars.sh

+ 1 - 0
Jenkinsfile

@@ -8,6 +8,7 @@ pipeline {
         stage('Build') {
             steps {
                 sh "echo Starting build ${env.BUILD_ID}"
+                sh '/usr/bin/bash buildscripts/show_vars.sh'
                 sh '/usr/bin/bash buildscripts/clean.sh'
                 sh '/usr/bin/bash buildscripts/build_sensu.sh'
             }

+ 4 - 0
buildscripts/show_vars.sh

@@ -0,0 +1,4 @@
+#!/usr/bin/bash
+
+# Show environment vars
+export