mirror of
https://github.com/Abdulazizzn/n8n-enterprise-unlocked.git
synced 2025-12-17 10:02:05 +00:00
refactor: Add action to all operations on all nodes (#3655)
* 👕 Add `action` to `INodePropertyOptions` * 👕 Apply `node-param-operation-option-without-action` * ✏️ Fix add/remove phrasing * ✏️ Fix email template phrasing * ✏️ Fix add/remove phrasing * ✏️ Fix custom fields phrasing * ✏️ Fix job report phrasing * ✏️ Fix query phrasing * ✏️ Various phrasing fixes * ✏️ Fix final phrasings * ✏️ Remove `conversation` * ✏️ Fix plural
This commit is contained in:
@@ -90,21 +90,25 @@ export class Jenkins implements INodeType {
|
||||
name: 'Copy',
|
||||
value: 'copy',
|
||||
description: 'Copy a specific job',
|
||||
action: 'Copy a job',
|
||||
},
|
||||
{
|
||||
name: 'Create',
|
||||
value: 'create',
|
||||
description: 'Create a new job',
|
||||
action: 'Create a job',
|
||||
},
|
||||
{
|
||||
name: 'Trigger',
|
||||
value: 'trigger',
|
||||
description: 'Trigger a specific job',
|
||||
action: 'Trigger a job',
|
||||
},
|
||||
{
|
||||
name: 'Trigger with Parameters',
|
||||
value: 'triggerParams',
|
||||
description: 'Trigger a specific job',
|
||||
action: 'Trigger a job with parameters',
|
||||
},
|
||||
],
|
||||
default: 'trigger',
|
||||
@@ -283,31 +287,37 @@ export class Jenkins implements INodeType {
|
||||
name: 'Cancel Quiet Down',
|
||||
value: 'cancelQuietDown',
|
||||
description: 'Cancel quiet down state',
|
||||
action: 'Cancel Quiet Down an instance',
|
||||
},
|
||||
{
|
||||
name: 'Quiet Down',
|
||||
value: 'quietDown',
|
||||
description: 'Put Jenkins in quiet mode, no builds can be started, Jenkins is ready for shutdown',
|
||||
action: 'Quiet Down an instance',
|
||||
},
|
||||
{
|
||||
name: 'Restart',
|
||||
value: 'restart',
|
||||
description: 'Restart Jenkins immediately on environments where it is possible',
|
||||
action: 'Restart an instance',
|
||||
},
|
||||
{
|
||||
name: 'Safely Restart',
|
||||
value: 'safeRestart',
|
||||
description: 'Restart Jenkins once no jobs are running on environments where it is possible',
|
||||
action: 'Safely Restart an instance',
|
||||
},
|
||||
{
|
||||
name: 'Safely Shutdown',
|
||||
value: 'safeExit',
|
||||
description: 'Shutdown once no jobs are running',
|
||||
action: 'Safely Shutdown an instance',
|
||||
},
|
||||
{
|
||||
name: 'Shutdown',
|
||||
value: 'exit',
|
||||
description: 'Shutdown Jenkins immediately',
|
||||
action: 'Shutdown an instance',
|
||||
},
|
||||
],
|
||||
default: 'safeRestart',
|
||||
@@ -364,6 +374,7 @@ export class Jenkins implements INodeType {
|
||||
name: 'Get All',
|
||||
value: 'getAll',
|
||||
description: 'List Builds',
|
||||
action: 'Get all builds',
|
||||
},
|
||||
],
|
||||
default: 'getAll',
|
||||
|
||||
Reference in New Issue
Block a user