What are the Slack Archives?

It’s a history of our time together in the Slack Community! There’s a ton of knowledge in here, so feel free to search through the archives for a possible answer to your question.

Because this space is not active, you won’t be able to create a new post or comment here. If you have a question or want to start a discussion about something, head over to our categories and pick one to post in! You can always refer back to a post from Slack Archives if needed; just copy the link to use it as a reference..

someone has a clue why scheduler:suspend did not stop jenkins? I got the feedback Scheduler Name: je

UK7KBE2JW
UK7KBE2JW Posts: 463 πŸ§‘πŸ»β€πŸš€ - Cadet

someone has a clue why scheduler:suspend did not stop jenkins? I got the feedback Scheduler Name: jenkins
Scheduler Status: OK but jenkins still runs

Comments

  • UKHD8KTMF
    UKHD8KTMF Posts: 393 πŸ§‘πŸ»β€πŸš€ - Cadet

    as far as I know it will stop when the process is done - probably it is still running

  • i guess it will finish the running jobs

  • dang… too late 😊

  • sprymiker
    sprymiker Cloud Platform Architect Sprykee Posts: 781 πŸ§‘πŸ»β€πŸš€ - Cadet
    edited September 2019

    that command does not stop jenkins, it is just disables jobs

  • Valerii Trots
    Valerii Trots SRE @ Spryker Sprykee Posts: 1,654 ✨ - Novice
    edited September 2019

    And without specifying store within the command it will terminate jobs only for default store.

  • that is interesting πŸ€”

  • will it tell that?

  • UK5DS29L2
    UK5DS29L2 Posts: 546 πŸ§‘πŸ»β€πŸš€ - Cadet
    edited September 2019

    it DOES say which environment and store it runs for, every time I think

  • UK7KBE2JW
    UK7KBE2JW Posts: 463 πŸ§‘πŸ»β€πŸš€ - Cadet

    so if i have 5 stores i have to run this command for every shop?

  • sprymiker
    sprymiker Cloud Platform Architect Sprykee Posts: 781 πŸ§‘πŸ»β€πŸš€ - Cadet

    yes, for every

  • UK7KBE2JW
    UK7KBE2JW Posts: 463 πŸ§‘πŸ»β€πŸš€ - Cadet

    with APPLICATION_STORE=STORE?

  • sprymiker
    sprymiker Cloud Platform Architect Sprykee Posts: 781 πŸ§‘πŸ»β€πŸš€ - Cadet

    yes

  • UK7KBE2JW
    UK7KBE2JW Posts: 463 πŸ§‘πŸ»β€πŸš€ - Cadet

    so I did one hour ago but still running

  • can you manually kill the jobs in the dashboard?

  • sprymiker
    sprymiker Cloud Platform Architect Sprykee Posts: 781 πŸ§‘πŸ»β€πŸš€ - Cadet
    edited September 2019

    Would you able to check if jobs are disabled after running that command? via Jenkins UI

  • UK7KBE2JW
    UK7KBE2JW Posts: 463 πŸ§‘πŸ»β€πŸš€ - Cadet

    with the se:je:di i got jenkins shutting down

  • UK7KBE2JW
    UK7KBE2JW Posts: 463 πŸ§‘πŸ»β€πŸš€ - Cadet

    but now it seems it was shutting down

  • UK7KBE2JW
    UK7KBE2JW Posts: 463 πŸ§‘πŸ»β€πŸš€ - Cadet

    thank you

  • UK7KBE2JW
    UK7KBE2JW Posts: 463 πŸ§‘πŸ»β€πŸš€ - Cadet

    but not for the main shop

  • UK7KBE2JW
    UK7KBE2JW Posts: 463 πŸ§‘πŸ»β€πŸš€ - Cadet
    edited September 2019

    ok, now it is stopped

  • UK7KBE2JW
    UK7KBE2JW Posts: 463 πŸ§‘πŸ»β€πŸš€ - Cadet
    edited September 2019

    ok, dunno why but they restart automatically...

  • sprymiker
    sprymiker Cloud Platform Architect Sprykee Posts: 781 πŸ§‘πŸ»β€πŸš€ - Cadet

    it seems jobs are not disabled

  • UK7KBE2JW
    UK7KBE2JW Posts: 463 πŸ§‘πŸ»β€πŸš€ - Cadet

    i re added the old command and i get "Jenkins wird heruntergefahren"

  • UK7KBE2JW
    UK7KBE2JW Posts: 463 πŸ§‘πŸ»β€πŸš€ - Cadet

    maybe wrong configuration at my side or bug?

  • sprymiker
    sprymiker Cloud Platform Architect Sprykee Posts: 781 πŸ§‘πŸ»β€πŸš€ - Cadet

    setup:jenkins:* ? in this case you need to return configuration for setup module.

  • UK7KBE2JW
    UK7KBE2JW Posts: 463 πŸ§‘πŸ»β€πŸš€ - Cadet

    we updated from old demo shop to the newest suite. normally we used setup:jenkins:* but in new version it is deprecated so we switched to scheduler. We followed the integration https://documentation.spryker.com/feature_integration_guides/spryker_in_docker/scheduler-feature-integration-201907.htm but it seems it is nor working properly. We readded the old setup:jenkins:* console command and it is working