Skip to content
GitLab
Projects Groups Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
  • O openapi-generator
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 3,476
    • Issues 3,476
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 402
    • Merge requests 402
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Packages and registries
    • Packages and registries
    • Package Registry
    • Infrastructure Registry
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • OpenAPI Tools
  • openapi-generator
  • Issues
  • #198
Closed
Open
Issue created Jun 01, 2018 by William Cheng@wing328Contributor

Bug in pushing SNAPSHOT JAR

Description

We found that when the core team opens a PR with a new branch. Travis will deploy the snapshot JAR if the job succeeds, which is not the correct behavior as only the job targeting master should deploy the SNAPSHOT JAR:

[INFO] openapi-generator-project .......................... SUCCESS [  4.929 s]
[INFO] openapi-generator (core library) ................... SUCCESS [ 52.295 s]
[INFO] openapi-generator (executable) ..................... SUCCESS [ 15.301 s]
[INFO] openapi-generator (maven-plugin) ................... SUCCESS [ 11.260 s]
[INFO] openapi-generator-gradle-plugin (gradle-plugin) .... SUCCESS [01:07 min]
[INFO] openapi-generator-online ........................... SUCCESS [ 16.057 s]
[INFO] ------------------------------------------------------------------------
[INFO] BUILD SUCCESS
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 02:49 min
[INFO] Finished at: 2018-06-01T08:56:39Z
[INFO] Final Memory: 67M/660M
[INFO] ------------------------------------------------------------------------
Finished mvn clean deploy for master
openapi-generator version

Latest master

Steps to reproduce

Create a branch and open a PR

Suggest a fix/enhancement

https://github.com/OpenAPITools/openapi-generator/blob/master/.travis.yml#L97 is a good starting point.

Assignee
Assign to
Time tracking