Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Closed
1 task done
Alchemik opened this issue Sep 24, 2024 · 2 comments · Fixed by #27408
Closed
1 task done

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

Alchemik opened this issue Sep 24, 2024 · 2 comments · Fixed by #27408
Assignees
Labels
area: triage $$ bug-bounty $$ https://www.jhipster.tech/bug-bounties/ theme: undefined $100 https://www.jhipster.tech/bug-bounties/

Comments

@Alchemik
Copy link

Alchemik commented Sep 24, 2024

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
  • install JHipster: npm install generator-jhipster@8.7.0
  • bootstrap project: jhipster
  • run ci-cd subgenerator: jhipster ci-cd
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
  • Checking this box is mandatory (this is just to show you read everything)
@mraible mraible added $100 https://www.jhipster.tech/bug-bounties/ $$ bug-bounty $$ https://www.jhipster.tech/bug-bounties/ labels Sep 24, 2024
@mraible
Copy link
Contributor

mraible commented Sep 24, 2024

Added bug bounty to get this fixed.

@mshima
Copy link
Member

mshima commented Sep 24, 2024

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area: triage $$ bug-bounty $$ https://www.jhipster.tech/bug-bounties/ theme: undefined $100 https://www.jhipster.tech/bug-bounties/
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants