Hey Folks,
I have created a Jenkins controller on AWS EC2 instances. So I am trying to achieve dynamic agents which will run based on the label mentioned in the pipeline.
While all steps look good whenever I am running a test pipeline it gives result like below. Did any of you faced such message on console before ? Please let me know.
pipeline,
pipeline {
agent {
label "docker-slave"
}
stages {
stage('Hello') {
steps {
echo 'Hello World'
}
}
}
}
result,
Started by user Piyush Nikhade
[Pipeline] Start of Pipeline
[Pipeline] node
Still waiting to schedule task
All nodes of label ‘docker-slave’ are offline
Thanks,
Piyush