Skip to content

Commit

Permalink
print node name early
Browse files Browse the repository at this point in the history
  • Loading branch information
aptalca committed Jul 16, 2024
1 parent 9b6cde2 commit b0738f6
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions roles/generate-jenkins/templates/Jenkinsfile.j2
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@ pipeline {
// Setup all the basic environment variables needed for the build
stage("Set ENV Variables base"){
steps{
echo "Running on node: ${NODE_NAME}"
sh '''#! /bin/bash
containers=$(docker ps -aq)
if [[ -n "${containers}" ]]; then
Expand Down

0 comments on commit b0738f6

Please sign in to comment.