Considering that your current Jenkins system is using classic jobs (no
pipelines) ...how to tell if these jobs can be converted to a pipeline job?
This page: https://plugins.jenkins.io/, lists all the Jenkins plugins. If
I enter ‘pipeline’ in the search box, it brings up 104 plugins (not sorted
by name).
If the plugin you are using in your classic job is not one of these 104,
does that mean that this classic job cannot be converted to a pipeline job
(scripted or declarative), or, does it mean that what you are doing must
somehow be done in an external sh or bat script?
When creating a pipeline job, the Snippet Generator has a lot more
drop-down selections than the Declarative Directive Generator…why? Is it
that you are supposed to use the Snippet Generator code inside ‘script’
blocks under a step, in declarative?
If you are running a Jenkins pipeline job, being that you are under the
‘Jenkins’ umbrella, using Jenkins API calls can you call any non-pipeline
plugins?
Do the pipeline plugins have their own API documentation that I can use to
determine what commands and parameters can be used with or passed to these
pipeline plugins? For example, for SCM…
Pipeline Script, connect to GitHub…
Git ‘https://github.com/jglick/simple-maven-project-with-tests.git’
Declarative Pipeline, connect to GitHub…
Git (url:
‘https://github.com/jglick/simple-maven-project-with-tests.git’, branch:
‘master’)
Similar, but different, how to know which one to use if just editing a
Jenkinsfile, and not using the Jenkins IDE to look at the code generators?
There are differences also when using Scripted or Declarative, when going
to GIT (not GitHub).
--
You received this message because you are subscribed to the Google Groups
"Jenkins Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to jenkinsci-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit
https://groups.google.com/d/msgid/jenkinsci-users/a478c2a6-a4a9-4d3f-b46d-f58d190daafe%40googlegroups.com.