Run Jenkins job on AKS Pod

4/27/2020

I need to run my jenkins job on a pod that should be created at the time of run. I have the ACS plugin installed and configured. The test connection is working perfect. I have the Pod template also configured. I am using JNLP launch method to create the Pod and i am not specifying the NODE - "DO NOT SPECIFY THE NODE".

I am using a freestyle project , where Office 365 Connector " Restrict where the project can be run " - Label Expression --> Container Image name Git Project Build : Execute shell - echo "Hello World" When trying to run this . It goes in pending status and when checked the logs it goes in where a pod is created and destroyed automatically

-- Nilesh Chaturvedi
azure-aks
azure-container-service
azure-kubernetes
jenkins
jenkins-plugins

0 Answers