jhipster / generator-jhipster

JHipster is a development platform to quickly generate, develop, & deploy modern web applications & microservice architectures.
https://www.jhipster.tech
Apache License 2.0
21.56k stars 4.02k forks source link

Unable to (re)generate CI/CD pipeline with `jhipster ci-cd` #27405

Closed Alchemik closed 1 month ago

Alchemik commented 1 month ago
Overview of the issue

Since JHipster v8.7.0, I'm not able to generate CI pipeline with jhipster ci-cd sub-generator - as shown below, CLI skips initial platform type question and in result does not create any pipeline configuration.

obraz

I verified that v8.6.0 works as expected: obraz

Reproduce the error
Related issues

N/A

Suggest a Fix

N/A

JHipster Version(s)

8.7.1

JHipster configuration

WARNING! Since JHipster v8, the jhipster command will not use the locally installed generator-jhipster. If you want to execute the locally installed generator-jhipster, run: npx jhipster

Welcome to JHipster v8.7.1

Welcome to the JHipster Information Sub-Generator

jhipster-ci-cd-test@0.0.0 /Users/ljasek/IdeaProjects/demo_debug/jhipster-ci-cd-test
└── generator-jhipster@8.7.1
JHipster configuration, a .yo-rc.json file generated in the root folder
.yo-rc.json file
{
  "generator-jhipster": {
    "applicationType": "monolith",
    "authenticationType": "jwt",
    "baseName": "jhipsterCiCdTest",
    "buildTool": "gradle",
    "cacheProvider": "caffeine",
    "clientFramework": "no",
    "clientTestFrameworks": null,
    "clientTheme": null,
    "creationTimestamp": 1727173107481,
    "databaseType": "sql",
    "devDatabaseType": "postgresql",
    "enableGradleEnterprise": false,
    "enableHibernateCache": false,
    "enableSwaggerCodegen": false,
    "enableTranslation": false,
    "entities": [],
    "feignClient": null,
    "gradleEnterpriseHost": null,
    "jhipsterVersion": "8.7.1",
    "messageBroker": false,
    "microfrontend": null,
    "microfrontends": [],
    "nativeLanguage": "en",
    "packageName": "com.mycompany.myapp",
    "prodDatabaseType": "postgresql",
    "reactive": false,
    "searchEngine": false,
    "serverPort": null,
    "serverSideOptions": [],
    "serviceDiscoveryType": false,
    "skipClient": true,
    "syncUserWithIdp": null,
    "testFrameworks": [],
    "websocket": false,
    "withAdminUi": null
  }
}
Environment and Tools

openjdk version "21.0.3" 2024-04-16 LTS OpenJDK Runtime Environment Temurin-21.0.3+9 (build 21.0.3+9-LTS) OpenJDK 64-Bit Server VM Temurin-21.0.3+9 (build 21.0.3+9-LTS, mixed mode)

git version 2.39.3 (Apple Git-146)

node: v20.17.0 npm: 10.8.2

Docker version 27.2.0, build 3ab4256

JDL for the Entity configuration(s) entityName.json files generated in the .jhipster directory
JDL entity definitions

Congratulations, JHipster execution is complete! If you find JHipster useful consider sponsoring the project https://www.jhipster.tech/sponsors/

Thanks for using JHipster!

Browsers and Operating System
mraible commented 1 month ago

Added bug bounty to get this fixed.

mshima commented 1 month ago

As workaround pass the ci-cd options in cli: jhipster ci-cd github jenkins ...