#strategy for executing a shell command in specified container?

1 messages · Page 1 of 1 (latest)

hard roost
#

in jenkins with the kubernetes plugin, we can do something like below to execute a shell command in the context of a specified container:

 container('maven') {
                stage('Build a Maven project') {
                    sh 'mvn -B -ntp clean install'
                }
            }

is there an analogy in dagger?