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

ci-cd for nodejs application #104

Closed
ajoysinhactc opened this issue Mar 3, 2020 · 5 comments · Fixed by #240
Closed

ci-cd for nodejs application #104

ajoysinhactc opened this issue Mar 3, 2020 · 5 comments · Fixed by #240
Labels
$$ bug-bounty $$ https://www.jhipster.tech/bug-bounties/ Feature New feature v2.0.0 Stable version with jhipster 7.0.0 $200 https://www.jhipster.tech/bug-bounties/
Milestone

Comments

@ajoysinhactc
Copy link

If I run following command to generate jenkinsfile .

jhipster ci-cd --blueprints nodejs

Jenkinsfile is generated but it is not for nodejs application, rather than it is for java application.
It seems to me that ci-cd for nodejs application has not been implemented yet.

Following are the comment out of execution of generator command.

INFO! No custom commands found within blueprint: generator-jhipster-nodejs
INFO! Using JHipster version installed locally in current project's node_modules
INFO! No custom commands found within blueprint: generator-jhipster-nodejs
INFO! Executing jhipster:ci-cd
INFO! Options: blueprints: nodejs, from-cli: true
🚀 Welcome to the JHipster CI/CD Sub-Generator 🚀
? What CI/CD pipeline do you want to generate? Jenkins pipeline
? Would you like to perform the build in a Docker container ? Yes
? Would you like to send build status to GitLab ? Yes
? What tasks/integrations do you want to include ? Build and publish a Docker image
identical Jenkinsfile
identical src\main\resources\idea.gdsl
identical src\main\docker\jenkins.yml
identical src\main\docker\docker-registry.yml
INFO! Congratulations, JHipster execution is complete!

@ghost
Copy link

ghost commented Mar 3, 2020

Hi @ajoysinhactc, thanks for the issue!
Yes, the blueprint does not implement ci-cd submodule, so the command that you have run use the standard jhipster generation. If you want to contribute with the development or a donation you are welcome!

@ghost ghost added the Feature New feature label Mar 3, 2020
@mraible mraible added $$ bug-bounty $$ https://www.jhipster.tech/bug-bounties/ $200 https://www.jhipster.tech/bug-bounties/ labels Oct 14, 2020
@ghost ghost added this to To do in nodejs blueprint via automation Nov 4, 2020
@ghost ghost moved this from To do to In progress in nodejs blueprint Feb 24, 2021
@ghost ghost self-assigned this Feb 24, 2021
@ghost
Copy link

ghost commented Feb 26, 2021

@mraible I'm trying to customize ci-cd subgenerator, but I note that the jhipster ci-cd index.js file extends the generator-base, and not the generator-base-blueprint. So when I perform the jhipster --blueprints nodejs ci-cd command, always the jhipster ci-cd generator is called. Do you know a method to rewrite that? Thanks in advance.

@ghost
Copy link

ghost commented Mar 1, 2021

The development is stopped because we need before to update to jhipster 7

@ghost ghost moved this from In progress to Review in progress in nodejs blueprint Mar 1, 2021
@ghost ghost added this to the 2.0.0 milestone Mar 26, 2021
@ghost ghost added the v2.0.0 Stable version with jhipster 7.0.0 label Mar 26, 2021
@ghost ghost moved this from Review in progress to In progress in nodejs blueprint Mar 26, 2021
@ghost ghost linked a pull request Jun 11, 2021 that will close this issue
@ghost ghost closed this as completed in #240 Aug 5, 2021
nodejs blueprint automation moved this from In progress to Done Aug 5, 2021
@ghost
Copy link

ghost commented Aug 5, 2021

@pascalgrimaud
Copy link
Member

@amanganiello90 : approved

This issue was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
$$ bug-bounty $$ https://www.jhipster.tech/bug-bounties/ Feature New feature v2.0.0 Stable version with jhipster 7.0.0 $200 https://www.jhipster.tech/bug-bounties/
Projects
Development

Successfully merging a pull request may close this issue.

3 participants