Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #!groovy
- def image = ''
- def date = new Date()
- node {
- stage('Create Version') {
- step([$class: 'UCDeployPublisher',
- siteName: 'TMS-UCD',
- component: [
- $class: 'com.urbancode.jenkins.plugins.ucdeploy.VersionHelper$VersionBlock',
- componentName: 'Build Site',
- createComponent: [
- $class: 'com.urbancode.jenkins.plugins.ucdeploy.ComponentHelper$CreateComponentBlock'
- ],
- delivery: [
- $class: 'com.urbancode.jenkins.plugins.ucdeploy.DeliveryHelper$Push',
- pushVersion: '${BUILD_NUMBER}',
- baseDir: '.',
- fileIncludePatterns: '*.md',
- fileExcludePatterns: '',
- pushProperties: '',
- pushDescription: 'Pushed from Jenkins',
- pushIncremental: false
- ],
- ],
- deploy: [
- $class: 'com.urbancode.jenkins.plugins.ucdeploy.DeployHelper$DeployBlock',
- deployApp: 'BrassRing-Pipeline',
- deployEnv: 'QA',
- deployProc: 'Deploy Build Site',
- createProcess: [
- $class: 'com.urbancode.jenkins.plugins.ucdeploy.ProcessHelper$CreateProcessBlock',
- processComponent: 'Deploy RestAPI'
- ],
- deployVersions: 'BrassRing-Pipeline:24',
- deployOnlyChanged: false
- ]
- ])
- }
- }
- ERROR: An error occurred while checking the UCD server for the application process : A JSONObject text must begin with '{' at character 1 of <HTML><HEAD><TITLE>Authentication Proxy Login Page</TITLE><script language="JavaScript">
- <!-- Begin
- var pxypromptwindow1;
- var pxysubmitted = false;
- function doreload() {
- if(pxypromptwindow1.closed) {window.location.reload(true);
- } else {reloadtimeout=setTimeout("doreload()", 500);}
- }
- function submitreload() {
- if(pxysubmitted == false) {
- pxypromptwindow1=window.open('', 'pxywindow1','resizable=no,width=300,height=300,scrollbars=yes');
- reloadtimeout=setTimeout("doreload()", 1000);
- pxysubmitted = true;return true;
- } else {
- alert("This page can not be submitted twice.");return false;
- }
- }// -->
- </script>
- </HEAD>
- <BODY onLoad="document.AuthenForm.uname.focus()" BGCOLOR="#FFFFFF" LINK="#ffcc00" ALINK="#ffffff" VLINK="#ffcc00" ><H1>Login Required: Please login with your intranet email address <BR><BR> HTTPS Authentication<BR><BR><p><FORM name="AuthenForm" method=post action="" target="pxywindow1"><input type=hidden name=au_pxytimetag value="366088120">Username: <input type=text name=uname><BR><BR>Password: <input type=password name=pwd><BR><BR><input type=submit name=ok value=OK onClick="return submitreload()"></H1></FORM></script></BODY></HTML>
Add Comment
Please, Sign In to add comment