Merge pull request 'new minor 1.1' (#2) from develop into master
nclazz/api-cli/pipeline/head This commit looks good
Details
nclazz/api-cli/pipeline/head This commit looks good
Details
Reviewed-on: de.nclazz/api-cli#2master
commit
6174af5f09
|
@ -20,6 +20,12 @@ pipeline {
|
||||||
sh('git remote set-url origin \$(echo $GIT_URL | sed -e "s^//^//$GIT_CREDENTIALS@^")')
|
sh('git remote set-url origin \$(echo $GIT_URL | sed -e "s^//^//$GIT_CREDENTIALS@^")')
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
stage('Checks') {
|
||||||
|
steps {
|
||||||
|
sh 'npm run test'
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
stage('Set Version') {
|
stage('Set Version') {
|
||||||
when {
|
when {
|
||||||
allOf {
|
allOf {
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
{
|
{
|
||||||
"name": "@nclazz/apicli",
|
"name": "@nclazz/apicli",
|
||||||
"version": "1.0.2",
|
"version": "1.1.0",
|
||||||
"description": "Commandline interface for generating and linting api-specs.",
|
"description": "Commandline interface for generating and linting api-specs.",
|
||||||
"main": "./src/index.js",
|
"main": "./src/index.js",
|
||||||
"bin": "./src/index.js",
|
"bin": "./src/index.js",
|
||||||
|
@ -19,7 +19,7 @@
|
||||||
"author": "Niclas Thobaben",
|
"author": "Niclas Thobaben",
|
||||||
"license": "MIT",
|
"license": "MIT",
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"args-parser": "1.2.0",
|
"args-parser": "1.3.0",
|
||||||
"chai": "^4.3.4",
|
"chai": "^4.3.4",
|
||||||
"mocha": "^9.0.2",
|
"mocha": "^9.0.2",
|
||||||
"npm-cli-login": "0.1.1",
|
"npm-cli-login": "0.1.1",
|
||||||
|
|
|
@ -13,6 +13,7 @@ if(!command) {
|
||||||
}
|
}
|
||||||
|
|
||||||
logging.init(args.v ? 1 : args.vv ? 2 : 0)
|
logging.init(args.v ? 1 : args.vv ? 2 : 0)
|
||||||
|
console.debug('Arguments:', args)
|
||||||
|
|
||||||
try {
|
try {
|
||||||
command.run(args)
|
command.run(args)
|
||||||
|
|
Loading…
Reference in New Issue