-
Bug
-
Resolution: Fixed
-
Major
-
None
-
Server: Ubuntu 16.04.2 LTS, 64 bit
Java: OpenJDK Runtime Environment (build 1.8.0_121-8u121-b13-0ubuntu1.16.04.2-b13), args: /usr/bin/java -Djava.awt.headless=true -jar /usr/share/jenkins/jenkins.war --webroot=/var/cache/jenkins/war --httpPort=8080
Jenkins ver. 2.46.2
BlueOcean 1.0.1, Blue Ocean Pipeline Editor 0.2.0
No container
No reverse proxy
installed via apt-get etc. there is an ssh slave node.
browser:
scop-rivendell:~ dhildebrandt$ cat bug-report.txt
Server: Ubuntu 16.04.2 LTS, 64 bit
Java: OpenJDK Runtime Environment (build 1.8.0_121-8u121-b13-0ubuntu1.16.04.2-b13), args: /usr/bin/java -Djava.awt.headless=true -jar /usr/share/jenkins/jenkins.war --webroot=/var/cache/jenkins/war --httpPort=8080
Jenkins ver. 2.46.2
BlueOcean 1.0.1, Blue Ocean Pipeline Editor 0.2.0
No container
No reverse proxy
installed via apt-get etc. there is an ssh slave node.
browser: Google Chrome Version 58.0.3029.96 (64-bit)Server: Ubuntu 16.04.2 LTS, 64 bit Java: OpenJDK Runtime Environment (build 1.8.0_121-8u121-b13-0ubuntu1.16.04.2-b13), args: /usr/bin/java -Djava.awt.headless=true -jar /usr/share/jenkins/jenkins.war --webroot=/var/cache/jenkins/war --httpPort=8080 Jenkins ver. 2.46.2 BlueOcean 1.0.1, Blue Ocean Pipeline Editor 0.2.0 No container No reverse proxy installed via apt-get etc. there is an ssh slave node. browser: scop-rivendell:~ dhildebrandt$ cat bug-report.txt Server: Ubuntu 16.04.2 LTS, 64 bit Java: OpenJDK Runtime Environment (build 1.8.0_121-8u121-b13-0ubuntu1.16.04.2-b13), args: /usr/bin/java -Djava.awt.headless=true -jar /usr/share/jenkins/jenkins.war --webroot=/var/cache/jenkins/war --httpPort=8080 Jenkins ver. 2.46.2 BlueOcean 1.0.1, Blue Ocean Pipeline Editor 0.2.0 No container No reverse proxy installed via apt-get etc. there is an ssh slave node. browser: Google Chrome Version 58.0.3029.96 (64-bit)
-
-
Blue Ocean 1.1-beta4, Blue Ocean 1.1, Blue Ocean 1.1, Blue Ocean 1.2-beta1, Blue Ocean 1.2-beta2, Blue Ocean 1.2-beta3, Blue Ocean 1.2-beta4, Blue Ocean 1.2, Blue Ocean 1.3
When saving a script block with certain content (below) it will fail to save and "hang". There is actually an error response which is being not handled correctly. Furthermore, it should save in this case as it is a valid block of script (there is a problem it seems with single quoted strings, perhaps).
To reproduce:
- Open a pipeline in the editor
- Add the a script block below
- Save it to a branch
- Note that it never appears to save, check the log in the browser for errors
What should happen:
User should be given error feedback that there is a problem (IF it is invalid groovy), or it should cope with correct groovy script.
The script block which is valid groovy to try:
def initialize = load('jenkins/pipeline/initialize.groovy') initialize() echo 'done initializing'
— original ticket —
The behavior is: I open the editor and then either make a change or don't, and then go to Save, enter a description and click Save & Run. the dialog greys out but no saving happens. when the background of the browser window is clicked, the dialog disappears and I am back where I started.
There is another pipeline that saves correctly.
I've been editing the Jenkinsfile with the blueocean editor and also with IDEA. I've seen the editor refuse to load stuff I've created with the IDEA ide, which I then correct back in IDEA and then load into the BO editor. So since the Jenkinsfile loaded I'm assuming it was OK.
- relates to
-
JENKINS-44499 Produce a validation error when processing a json model from the editor which has invalid groovy syntax in a script block
- Closed
- links to