Requested information for Scripted Pipeline syntax
See original GitHub issueHello,
I need the information to use theamazon-ecs-plugin in a Scripted Pipeline.
The syntax generator provides the following code.
// This step should not normally be used in your script. Consult the inline help for details.
ecsTaskTemplate(containerUser: '', cpu: 1, executionRole: 'ecsTaskExecutionRole', image: 'jenkins/inbound-agent', inheritFrom: '', label: '', launchType: 'EC2', logDriver: '', name: 'jenkins-agent', networkMode: 'bridge', remoteFSRoot: '/home/jenkins', securityGroups: '', subnets: '', taskDefinitionOverride: '', taskrole: '') {
// some block
}
And the Declarative Pipeline uses the agent syntax that is not available in scripted as far as I’m aware of. Could you please provide the information to complete the setup.
Issue Analytics
- State:
- Created 3 years ago
- Comments:5 (3 by maintainers)
Top Results From Across the Web
Pipeline Syntax - Jenkins
script. Scripted Pipeline. Flow Control; Steps; Differences from plain Groovy. Syntax Comparison. This section builds on the information introduced in ...
Read more >Using Scripted Pipeline syntax - CloudBees Documentation
Scripted Pipeline does not introduce any steps which are specific to its syntax; Pipeline Steps reference which contains a comprehensive list of steps...
Read more >Scripted Pipeline Syntax - JFrog - JFrog Documentation
This page describes how to use scripted pipeline syntax with Artifactory. ... The information required for collecting the issues is provided ...
Read more >How to Use the Jenkins Scripted Pipeline - BlazeMeter
A Jenkins Scripted Pipeline is a sequence of stages to perform CI/CD-related tasks that can be specified as code, enabling you to develop...
Read more >Comprehensive Guide To Jenkins Declarative Pipeline [With ...
In pipeline as code technique, jobs are created using a script file that contains the steps to be executed by the job. In...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found

Works like a charm. Thanks @markyjackson-taulia
I’ve added some examples that I’ve used myself to the README in this PR https://github.com/jenkinsci/amazon-ecs-plugin/pull/179/files