Hello! We've found a weird issue of project instal...
# docker
a
Hello! We've found a weird issue of project installation failing at scheduler:setup step:
Copy code
Command jenkins-setup [vendor/bin/console scheduler:setup] (In progress...)
Store: DE | Environment: docker.dev
Scheduler Name: jenkins
Scheduler Status: ERROR
Client error: `POST <http://scheduler:8080/createItem?name=DE__amazon-orders-custom-date-range-import>` resulted in a `400 Bad Request` response:

  
  <!DOCTYPE html><html class=""><head resURL="/static/f28664eb" data-rooturl="" data-resurl="/static/f28664eb" data- (truncated...)
If I do
docker/sdk cli
and then
console scheduler:setup
inside the container, the setup will finish correctly, then I can finish the installation, and everything works like a charm:
Copy code
Store: DE | Environment: docker.dev
Scheduler Name: jenkins
Scheduler Status: OK
Still, confused, why does it fail the first time? Feels like we're experiencing some kind of a race condition within the deploy script.
a
I had same issue. it's happening when you rename your Jenkins job in jenkins.php file and deploy code. As you changed the name of the job, job with old name will give 404 until you remove that job from the jenkins. It will fail your build with that error message. Delete that job and try again, it should work for you.
Make sure you have backup of that job in local before deleting it.