Why cant I use with the agent I created?

Hi,
I created an agent with the name bcdbcdbcd and the lable bcdbcdbcd. And when I created a job that would use an agent I got:
(pending—‘Jenkins’ doesn’t have label ‘bcdbcdbcd’)
The output
The agent
I would love to know what the solution is.
Thanks

whats your pipeline / freestyle config look like. How are you requesting the agent?

pipeline {
    agent { 
        node {
            label 'linux'
            }
      }
      triggers{
        pollSCM '*/5 * * * *'
      }
    stages {
        stage('Build') {
            steps {
                echo "Building.."
                sh '''
                echo "doing build stuff.."
                '''
            }
        }
        stage('Test') {
            steps {
                echo "Testing.."
                sh '''
                echo "doing test stuff.."
                '''
            }
        }
        stage('Deliver') {
            steps {
                echo 'Deliver....'
                sh '''
                echo "doing delivery stuff.."
                '''
            }
        }
    }
}

Thanks

Do you have any idea?
thank you!

This is asking for an agent with the label of linux

your screenshot your label is bcdbcdbcd

1 Like