Unable to see groovy script editor in pipeline job

404 views
Skip to first unread message

PK A

unread,
Dec 29, 2016, 4:39:47 AM12/29/16
to jenkins...@googlegroups.com
I have created a Jenkins Pipeline Job. However, I am unable to see the option to enter the pipeline script. Attached is the screenshot. Pls suggest how I can get the editor. I am using jenkins v2.32.1
jenkins piepline.png

PK A

unread,
Dec 29, 2016, 4:42:36 AM12/29/16
to jenkins...@googlegroups.com
jenkins piepline.png

Ramanathan Muthaiah

unread,
Dec 29, 2016, 10:35:16 PM12/29/16
to Jenkins Users
Hello,


On Thursday, December 29, 2016 at 3:09:47 PM UTC+5:30, pa7751 wrote:
I have created a Jenkins Pipeline Job. However, I am unable to see the option to enter the pipeline script. Attached is the screenshot. Pls suggest how I can get the editor. I am using jenkins v2.32.1

Create Jenkinsfile and store it in the root of your repo. Setting, "Pipeline from SCM" will pull it from your version control tool.

/Ram

Ramanathan Muthaiah

unread,
Dec 30, 2016, 12:25:29 AM12/30/16
to Jenkins Users
Minor correction in my previous post:


On Thursday, December 29, 2016 at 3:09:47 PM UTC+5:30, pa7751 wrote:
I have created a Jenkins Pipeline Job. However, I am unable to see the option to enter the pipeline script. Attached is the screenshot. Pls suggest how I can get the editor. I am using jenkins v2.32.1

1. Sourcing from SCM:
 
Create Jenkinsfile and store it in the root of your repo. Setting, "Pipeline Script from Jenkinsfile" will pull it from your version control.

2. Using in-line editor

Choose the "Pipeline Script" option, editor should show up on the same UI page.

3. Pipeline Script from SCM

And, then there is the third option to be more specific with SCM (git / subversion and provide details of repo, credentials, etc.) if you choose, "Pipeline Script from SCM"

However, all this depends on the version of Jenkins and the plugins installed.

/Ram

Daniel Beck

unread,
Dec 30, 2016, 8:41:09 AM12/30/16
to jenkins...@googlegroups.com

> On 30.12.2016, at 06:25, Ramanathan Muthaiah <rus.c...@gmail.com> wrote:
>
> 2. Using in-line editor
>
> Choose the "Pipeline Script" option, editor should show up on the same UI page.

… and what they're showing in the screen shot is that the editor doesn't show up.

---

Could be a bug if you're on the newest versions of all the plugins and your browser is modern too (what browser?).

If so, read https://wiki.jenkins-ci.org/display/JENKINS/How+to+report+an+issue and report an issue against workflow-job-plugin.
Reply all
Reply to author
Forward
0 new messages