php - correct way to deploy project in jenkins -
i have php project unit tests. want run unit tests , on success deploy codes production repository. using jenkins don't know how can push codes repository in jenkins can use git publisher
merge branch can't push repository.
i have added conditional step in build step this: image of conditional build think not correct way.
another ask is way push repository or shall merge example production branch
i have added conditional step in build step this: image of conditional build think not correct way.
what you're doing fine. think you're worried not using built-in jenkins git integrations. if it's simple adding remote pointing @ local git repo, don't think jenkins integrations helping.
is way push repository or shall merge example production branch
it more conventional (and simpler, have found) merge production branch (often called master), lots of people have separate repo production.
Comments
Post a Comment