npm-version

Limit Jenkins Git polling to one branch

亡梦爱人 提交于 2021-02-10 15:50:58
问题 Out current Jenkins Pipeline job is setup to build a branch checked out from Git. To do the checkout we use the SCM plugin: triggers { pollSCM scmpoll_spec: '' } checkout( poll: true, scm: [$class: 'GitSCM', branches: [[name: 'refs/heads/develop']], userRemoteConfigs: [ [url: 'https://git-server/repo.git', name: 'origin', refspec: '+refs/heads/develop:refs/remotes/origin/develop', credentialsId: 'XXX'] ], extensions: [ [$class: 'WipeWorkspace'], [$class: 'CloneOption', honorRefspec: true,

Limit Jenkins Git polling to one branch

牧云@^-^@ 提交于 2021-02-10 15:47:32
问题 Out current Jenkins Pipeline job is setup to build a branch checked out from Git. To do the checkout we use the SCM plugin: triggers { pollSCM scmpoll_spec: '' } checkout( poll: true, scm: [$class: 'GitSCM', branches: [[name: 'refs/heads/develop']], userRemoteConfigs: [ [url: 'https://git-server/repo.git', name: 'origin', refspec: '+refs/heads/develop:refs/remotes/origin/develop', credentialsId: 'XXX'] ], extensions: [ [$class: 'WipeWorkspace'], [$class: 'CloneOption', honorRefspec: true,

How to generate NPM release candidate version

北城余情 提交于 2019-12-29 05:33:06
问题 Say I want to generate a pre-release NPM version. Originally I have this: "version": "0.0.1" I tried: npm version prepatch npm version prepatch npm version preminor npm version preminor that gave me this: v0.0.2-0 v0.0.3-0 v0.1.0-0 v0.2.0-0 Those don't look useful to me, because they always bump up the actual version number, meaning npm version patch and npm version prepatch don't seem to be making much difference. So my question is - is there an official way to generate an alpha/beta version

How to generate NPM release candidate version

断了今生、忘了曾经 提交于 2019-11-29 05:04:21
Say I want to generate a pre-release NPM version. Originally I have this: "version": "0.0.1" I tried: npm version prepatch npm version prepatch npm version preminor npm version preminor that gave me this: v0.0.2-0 v0.0.3-0 v0.1.0-0 v0.2.0-0 Those don't look useful to me, because they always bump up the actual version number, meaning npm version patch and npm version prepatch don't seem to be making much difference. So my question is - is there an official way to generate an alpha/beta version with npm at the command line? npm version minor-alpha npm version minor-beta npm version minor-rc